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

9 lines
105 B
Rust
Raw Normal View History

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