mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 08:53:35 +00:00
Add xfail-stage0 to some tests (not sure if it matters...)
This commit is contained in:
parent
8d7f7c2a97
commit
7532681612
@ -1,3 +1,4 @@
|
||||
// xfail-stage0
|
||||
// xfail-stage1
|
||||
// error-pattern:assigning to immutable alias
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
// xfail-stage0
|
||||
// error-pattern:Break outside a loop
|
||||
fn main() {
|
||||
auto pth = break;
|
||||
|
@ -1,3 +1,4 @@
|
||||
// xfail-stage0
|
||||
// error-pattern:illegal recursive type
|
||||
type t1 = rec(int foo, t1 foolish);
|
||||
|
||||
|
@ -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";
|
||||
|
@ -1,3 +1,4 @@
|
||||
// xfail-stage0
|
||||
fn main() {
|
||||
auto x = fn(int a) -> int { ret a + 1; };
|
||||
assert (x(4) == 5);
|
||||
|
Loading…
Reference in New Issue
Block a user