2019-07-27 00:54:25 +03:00
|
|
|
//@ run-pass
|
2011-10-07 16:22:53 +02:00
|
|
|
// Check that issue #954 stays fixed
|
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2015-01-25 22:05:03 +01:00
|
|
|
match -1 { -1 => {}, _ => panic!("wat") }
|
|
|
|
|
assert_eq!(1-1, 0);
|
2011-10-07 16:22:53 +02:00
|
|
|
}
|