aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/u32-decr.rs
blob: cdafa0bf803dc5e189525286f8d7b6b653930903 (plain) (blame)
1
2
3
4
5
6
7
8
// -*- rust -*-

fn main() {
    let u32 word = (200000 as u32);
    word = word - (1 as u32);
    check(word == (199999 as u32));
}