rust/src/test/run-pass/u8-incr.rs

13 lines
154 B
Rust

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