aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/u8-incr.rs
blob: c3c1aef48577b90c673e6db8c31c1f2485f8d4db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// -*- rust -*-

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