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

6 lines
98 B
Rust
Raw Normal View History

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