]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/i32-sub.rs
Rollup merge of #66472 - GuillaumeGomez:show-coverage-json, r=ollie27
[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); }