rust/src/test/run-pass/u32-decr.rs
Graydon Hoare d08b443fff Revert "Use different syntax for checks that matter to typestate"
This reverts commit aa25f22f19. It broke stage2, not sure why yet.
2011-05-02 17:35:33 -07:00

9 lines
122 B
Rust

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