rust/src/test/run-pass/else-if.rs
2010-06-23 21:03:09 -07:00

19 lines
242 B
Rust

fn main() {
if (1 == 2) {
check(false);
} else if (2 == 3) {
check(false);
} else if (3 == 4) {
check(false);
} else {
check(true);
}
if (1 == 2) {
check(false);
} else if (2 == 2) {
check(true);
}
}