mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
16 lines
183 B
Rust
16 lines
183 B
Rust
// run-pass
|
|
|
|
fn main() {
|
|
let x = 1;
|
|
|
|
#[cfg(FALSE)]
|
|
if false {
|
|
x = 2;
|
|
} else if true {
|
|
x = 3;
|
|
} else {
|
|
x = 4;
|
|
}
|
|
assert_eq!(x, 1);
|
|
}
|