Add xfail-stage0 to some tests (not sure if it matters...)

This commit is contained in:
Tim Chevalier 2011-06-14 11:28:34 -07:00
parent 8d7f7c2a97
commit 7532681612
5 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// xfail-stage0
// xfail-stage1
// error-pattern:assigning to immutable alias

View File

@ -1,3 +1,4 @@
// xfail-stage0
// error-pattern:Break outside a loop
fn main() {
auto pth = break;

View File

@ -1,3 +1,4 @@
// xfail-stage0
// error-pattern:illegal recursive type
type t1 = rec(int foo, t1 foolish);

View File

@ -1,5 +1,6 @@
// Tests that trans treats the rhs of pth's decl
// as a _|_-typed thing, not a str-typed thing
// xfail-stage0
// error-pattern:bye
fn main() {
auto pth = fail "bye";

View File

@ -1,3 +1,4 @@
// xfail-stage0
fn main() {
auto x = fn(int a) -> int { ret a + 1; };
assert (x(4) == 5);