2010-06-23 21:03:09 -07:00
|
|
|
|
2011-06-15 11:19:50 -07:00
|
|
|
|
|
|
|
|
|
|
|
// -*- rust -*-
|
2010-06-23 21:03:09 -07:00
|
|
|
fn main() {
|
2012-03-22 08:39:41 -07:00
|
|
|
let mut x: i8 = -12i8;
|
2011-07-27 14:19:39 +02:00
|
|
|
let y: i8 = -12i8;
|
2011-06-15 11:19:50 -07:00
|
|
|
x = x + 1i8;
|
|
|
|
x = x - 1i8;
|
|
|
|
assert (x == y);
|
2011-08-19 15:16:48 -07:00
|
|
|
}
|