/src/test/run-pass/arith-2.rs
http://github.com/jruderman/rust · Rust · 7 lines · 5 code · 2 blank · 0 comment · 0 complexity · be31701da63879a7aa097a0f46d063c6 MD5 · raw file
- fn main() {
- 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));
- }