]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/i8-incr.rs
Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_clif-2022-05-15
[rust.git] / src / test / ui / numbers-arithmetic / i8-incr.rs
1 // run-pass
2
3
4
5
6 pub fn main() {
7     let mut x: i8 = -12;
8     let y: i8 = -12;
9     x = x + 1;
10     x = x - 1;
11     assert_eq!(x, y);
12 }