1 // build-pass (FIXME(62277): could be check-pass?)
2 
3 #![allow(unused_variables)]
4 #![allow(dead_code)]
5 #![deny(unreachable_code)]
6 
foo()7 fn foo() {
8     // No error here.
9     let x = false && (return);
10     println!("I am not dead.");
11 }
12 
main()13 fn main() { }
14