summaryrefslogtreecommitdiffstats
path: root/tests/ui/numbers-arithmetic/u32-decr.rs
blob: d9e097818771d42177fd91ccb385e258d2e0138f (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass




pub fn main() {
    let mut word: u32 = 200000;
    word = word - 1;
    assert_eq!(word, 199999);
}