]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/u32-decr.rs
Rollup merge of #98488 - Mark-Simulacrum:bump-rls, r=pietroalbini
[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 }