rust/src/test/run-pass/i32-sub.rs

9 lines
102 B
Rust
Raw Normal View History

2010-06-23 23:03:09 -05:00
// -*- rust -*-
fn main() {
let i32 x = -400_i32;
x = 0_i32 - x;
check(x == 400_i32);
2010-06-23 23:03:09 -05:00
}