rust/src/test/run-pass/arith-2.rs
2010-08-09 06:53:37 -07:00

5 lines
175 B
Rust

fn main() -> () {
let int i32_c = 0x10101010;
check (i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3) ==
i32_c + (((i32_c * 2) / 3) * 2) + (i32_c - (7 % 3)));
}