rust/src/test/run-pass/i8-incr.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

10 lines
118 B
Rust

// -*- rust -*-
fn main() {
let i8 x = -12i8;
let i8 y = -12i8;
x = x + 1i8;
x = x - 1i8;
check(x == y);
}