14 lines
207 B
Rust
14 lines
207 B
Rust
// compile-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() { }
|