mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
13 lines
220 B
Rust
13 lines
220 B
Rust
// build-pass (FIXME(62277): could be check-pass?)
|
|
|
|
#![allow(unused_variables)]
|
|
#![allow(dead_code)]
|
|
#![deny(unreachable_code)]
|
|
|
|
fn foo() {
|
|
let x = false || (return);
|
|
println!("I am not dead.");
|
|
}
|
|
|
|
fn main() { }
|