]> git.lizzy.rs Git - rust.git/blob - tests/ui/numbers-arithmetic/i32-sub.rs
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[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); }