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.
This commit is contained in:
Lindsey Kuper 2012-06-12 14:09:11 -07:00
parent 8a730a255d
commit 1655c1a825

View File

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