rust/src/test/run-pass/explicit-i-suffix.rs
Lindsey Kuper 1655c1a825 Add a test for explicit i suffix on integer literals
This doesn't seem to show up anywhere else in the test suite, even
though it's supposed to be legal.
2012-06-12 14:09:11 -07:00

10 lines
113 B
Rust

fn main() {
let x: int = 8i;
let y = 9i;
x + y;
let q: int = -8i;
let r = -9i;
q + r;
}