]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/i32-sub.rs
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[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); }