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

8 lines
170 B
Rust
Raw Normal View History

fn main() {
2011-07-27 07:19:39 -05:00
let i32_c: int = 0x10101010;
assert (i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3) ==
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3));
}