]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/arith-2.rs
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / numbers-arithmetic / arith-2.rs
1 // run-pass
2
3
4
5 pub fn main() {
6     let i32_c: isize = 0x10101010;
7     assert_eq!(i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3),
8                  i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3));
9 }