2010-06-23 21:03:09 -07:00
|
|
|
// -*- rust -*-
|
|
|
|
|
|
|
|
// These constants were chosen because they aren't used anywhere
|
|
|
|
// in the rest of the generated code so they're easily grep-able.
|
|
|
|
|
|
|
|
fn main() {
|
2010-07-27 19:21:51 -07:00
|
|
|
let u8 x = 19u8; // 0x13
|
|
|
|
let u8 y = 35u8; // 0x23
|
|
|
|
x = x + (7u8); // 0x7
|
|
|
|
y = y - (9u8); // 0x9
|
2011-05-02 17:47:24 -07:00
|
|
|
assert (x == y);
|
2010-06-23 21:03:09 -07:00
|
|
|
}
|