2019-07-26 21:54:25 +00:00
|
|
|
//@ run-pass
|
|
|
|
|
2013-02-02 03:43:17 +00:00
|
|
|
pub fn main() {
|
2015-01-25 21:05:03 +00:00
|
|
|
if 1 == 2 {
|
2013-03-29 01:39:09 +00:00
|
|
|
assert!((false));
|
2015-01-25 21:05:03 +00:00
|
|
|
} else if 2 == 3 {
|
2013-03-29 01:39:09 +00:00
|
|
|
assert!((false));
|
2015-01-25 21:05:03 +00:00
|
|
|
} else if 3 == 4 { assert!((false)); } else { assert!((true)); }
|
|
|
|
if 1 == 2 { assert!((false)); } else if 2 == 2 { assert!((true)); }
|
|
|
|
if 1 == 2 {
|
2013-03-29 01:39:09 +00:00
|
|
|
assert!((false));
|
2015-01-25 21:05:03 +00:00
|
|
|
} else if 2 == 2 {
|
|
|
|
if 1 == 1 {
|
2013-03-29 01:39:09 +00:00
|
|
|
assert!((true));
|
2015-01-25 21:05:03 +00:00
|
|
|
} else { if 2 == 1 { assert!((false)); } else { assert!((false)); } }
|
2011-03-14 23:57:12 +00:00
|
|
|
}
|
2015-01-25 21:05:03 +00:00
|
|
|
if 1 == 2 {
|
2013-03-29 01:39:09 +00:00
|
|
|
assert!((false));
|
2015-01-25 21:05:03 +00:00
|
|
|
} else { if 1 == 2 { assert!((false)); } else { assert!((true)); } }
|
2011-08-19 22:16:48 +00:00
|
|
|
}
|