]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/i32-sub.rs
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / ui / numbers-arithmetic / i32-sub.rs
1 // run-pass
2
3
4
5
6 pub fn main() { let mut x: i32 = -400; x = 0 - x; assert_eq!(x, 400); }