summary refs log tree commit diff
path: root/src/test/run-pass/arith-2.rs
blob: b55c66f846265af3c677198f1cc31cf484eb06f5 (plain)
1
2
3
4
5
6
7


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));
}