]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/u32-decr.rs
Auto merge of #101893 - oli-obk:lift_derive, r=lcnr
[rust.git] / src / test / ui / numbers-arithmetic / u32-decr.rs
1 // run-pass
2
3
4
5
6 pub fn main() {
7     let mut word: u32 = 200000;
8     word = word - 1;
9     assert_eq!(word, 199999);
10 }