]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/u32-decr.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[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 }