blob: d37eb0a3b843d6a6a7b8ae9640d4bc2dffb284b9 [file] [log] [blame]
// build-pass (FIXME(62277): could be check-pass?)
#![allow(unused_variables)]
#![allow(dead_code)]
#![deny(unreachable_code)]
fn foo() {
// No error here.
let x = false && (return);
println!("I am not dead.");
}
fn main() { }