rust/src/test/run-pass/arith-2.rs

7 lines
168 B
Rust
Raw Normal View History

fn main() {
2010-08-09 08:53:37 -05:00
let int i32_c = 0x10101010;
assert (i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3) ==
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3));
2010-08-09 08:53:37 -05:00
}