Adding i suffixes so cfail tests keep failing after suffix inference

This commit is contained in:
Lindsey Kuper 2012-06-18 13:41:52 -07:00
parent 636a849bf2
commit 8cc1149130
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
// error-pattern:expected `str` but found `[int]`
fn main() { fail [0]; }
fn main() { fail [0i]; }

View File

@ -1,5 +1,5 @@
fn f() -> ! {
ret 42; //! ERROR expected `_|_` but found `int`
ret 42i; //! ERROR expected `_|_` but found `int`
fail; //! WARNING unreachable statement
}
fn main() { }