]> git.lizzy.rs Git - rust.git/blob - tests/ui/numbers-arithmetic/i32-sub.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / 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); }