Remove all xfail-stage0 directives

While it is still technically possible to test stage 0, it is not part of any
of the main testing rules and maintaining xfail-stage0 is a chore. Nobody
should worry about how tests fare in stage0.
This commit is contained in:
Brian Anderson 2011-08-02 23:46:52 -07:00
parent 92a4c0cee7
commit c53402846e
209 changed files with 0 additions and 334 deletions

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: Unsatisfied precondition constraint (for example, init(i
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: expecting mod
#[attr = "val"];

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expecting ]
// asterisk is bogus

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expected item
fn f() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expected item
#[foo = "bar"]

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expected item
mod m {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expected item
fn f() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expected item
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,4 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: some control paths may return
fn f() -> ! { 3 }
fn main(){}

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:+ cannot be applied to type `{x: bool}`
fn main() { let x = {x: true}; x += {x: false}; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:+ cannot be applied to type `{x: bool}`
fn main() { let x = {x: true} + {x: false}; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:^ cannot be applied to type `str`
fn main() { let x = "a" ^ "b"; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:|| cannot be applied to type `f32`
fn main() { let x = 1.0_f32 || 2.0_f32; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:&& cannot be applied to type `int`
fn main() { let x = 1 && 2; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:* cannot be applied to type `bool`
fn main() { let x = true * false; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:>> cannot be applied to type `port[int]`
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:- cannot be applied to type `obj
fn main() { let x = obj () { } - obj () { }; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:mismatched types
// issue #500

View File

@ -1,5 +1,4 @@
// error-pattern: mismatched types
// xfail-stage0
// Make sure that fn-to-block coercion isn't incorrectly lifted over
// other tycons.

View File

@ -1,5 +1,4 @@
// error-pattern: non-copyable
// xfail-stage0
fn lol(f: &block() ) -> block() { ret f; }
fn main() { let i = 8; let f = lol(block () { log_err i; }); f(); }

View File

@ -1,5 +1,4 @@
// error-pattern: Unsatisfied precondition constraint
// xfail-stage0
fn force(f: &block() ) { f(); }
fn main() { let x: int; force(block () { log_err x; }); }

View File

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

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:spawning functions with type params not allowed
fn main() {
fn echo[T](c: chan[T], oc: chan[chan[T]]) {

View File

@ -1,5 +1,4 @@
// -*- rust -*-
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:'swap' is glob-imported from multiple different modules
// issue #482

View File

@ -1,4 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,4 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: Unsatisfied precondition constraint (for example, init(y
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: Unsatisfied precondition constraint (for example, even(y
fn print_even(y: int) : even(y) {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:duplicate meta item `name`
#[link(name = "test", name)];

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expecting [, found fmt
// Don't know how to deal with a syntax extension appearing after an

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: literal
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: literal
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:not enough arguments
use std;

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:too many arguments
use std;

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:only valid in signed #fmt conversion
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:only valid in signed #fmt conversion
fn main() {

View File

@ -1,3 +1,2 @@
// error-pattern:expected str but found vec
// xfail-stage0
fn main() { fail []; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:mismatched types
fn f() -> int { true }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expected fn() but found fn(int)
fn main() {

View File

@ -1,5 +1,4 @@
// error-pattern:Unsatisfied precondition
// xfail-stage0
fn main() {
// Typestate should work even in a lambda. we should reject this program.

View File

@ -1,4 +1,3 @@
// error-pattern:Unsatisfied precondition
// xfail-stage0
fn main() { let j = fn () -> int { let i: int; ret i; }(); log_err j; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:Unsatisfied precondition constraint
pred even(x: uint) -> bool {
if x < 2u {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:mismatched types
// issue #513

View File

@ -1,4 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,5 +1,4 @@
// -*- rust -*-
// xfail-stage0
// error-pattern: illegal recursive type
type x = vec[x];

View File

@ -1,5 +1,4 @@
// -*- rust -*-
// xfail-stage0
// error-pattern: Dynamically sized arguments must be passed by alias
mod foo {

View File

@ -1,4 +1,3 @@
// xfail-stage0
//error-pattern:is an expr, expected an identifier
fn main() {
#macro([#mylambda(x, body), {fn f(x: int) -> int {ret body}; f}]);

View File

@ -1,4 +1,3 @@
// xfail-stage0
//error-pattern:no clauses match
fn main() {

View File

@ -1,3 +1,2 @@
// xfail-stage0
// error-pattern:Wrong type in main function: found fn() -> char
fn main() -> char { }

View File

@ -1,3 +1,2 @@
// xfail-stage0
// error-pattern:Wrong type in main function: found fn(
fn main(foo: {x: int, y: int}) { }

View File

@ -1,3 +1,2 @@
// xfail-stage0
// error-pattern:Main function not found
fn mian() { }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:Attempt to use a type argument out of scope
fn hd[U](v: &vec[U]) -> U {
fn hd1(w: &vec[U]) -> U { ret w.(0); }

View File

@ -1,5 +1,4 @@
// error-pattern:Unsatisfied precondition constraint (for example, le(b, d
// xfail-stage0
use std;
import std::str::*;
import std::uint::*;

View File

@ -1,5 +1,4 @@
// -*- rust -*-
// xfail-stage0
// error-pattern: Non-predicate in constraint: lt
fn f(a: int, b: int) : lt(a,b) { }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: Unsatisfied precondition constraint (for example, init(i
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// -*- rust -*-
// error-pattern: Unsatisfied precondition constraint (for example, lt(a, b)

View File

@ -1,4 +1,3 @@
// xfail-stage0
// -*- rust -*-
// error-pattern: lt(a, c)

View File

@ -1,4 +1,3 @@
// xfail-stage0
// -*- rust -*-
// error-pattern: Unsatisfied precondition constraint (for example, lt(a, b)

View File

@ -1,4 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expected int but found bool
fn main() {

View File

@ -1,5 +1,3 @@
//xfail-stage0
// error-pattern:self-call in non-object context
// Fix for issue #707.

View File

@ -1,5 +1,4 @@
// -*- rust -*-
// xfail-stage0
// error-pattern: unresolved name: lt
fn f(a: int, b: int) : lt(a,b) { }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: mismatched types
fn f(x: int) -> int { ret x; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: Wrong number of type arguments
tag quux[T] { }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:Attempt to use a type argument out of scope
fn foo[T](x: &T) {
fn bar(f: fn(&T) -> T ) { }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:expected bool but found int
// issue #516

View File

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

View File

@ -1,5 +1,4 @@
// error-pattern:Unsatisfied precondition constraint (for example, init(bar
// xfail-stage0
fn main() {
let bar;
fn baz(x: int) { }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:mutable alias to a variable that roots another alias
fn f(a: &int, b: &mutable int) -> int { b += 1; ret a + b; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:duplicate meta item `name`
use std(name = "std", name = "nonstd");

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:attempted field access on type vec[int]
// issue #367

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: Unsatisfied precondition constraint (for example, init(y
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern: Unsatisfied precondition constraint (for example, even(y
fn print_even(y: int) : even(y) { log y; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// -*- rust -*-
// error-pattern:assignment to immutable field

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:assigning to immutable obj field
obj objy(x: int) {
fn foo() { x = 5; }

View File

@ -1,3 +1,2 @@
// xfail-stage0
// error-pattern:assignment to immutable vec content
fn main() { let v: vec[int] = [1, 2, 3]; v.(1) = 4; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:meep
fn f(a: int, b: int, c: @int) { fail "moop"; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:woe
fn f(a: int) { log a; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:moop
use std;
import std::uint;

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:meh
use std;
import std::str;

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:moop
use std;
import std::uint;

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:Number is odd
pred even(x: uint) -> bool {
if x < 2u {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:meep
fn echo[T](c: chan[T], oc: chan[chan[T]]) {
// Tests that the type argument in port gets

View File

@ -1,8 +1,4 @@
// -*- rust -*-
// xfail-stage0
// error-pattern:Predicate lt(b, a) failed
fn f(a: int, b: int) { }

View File

@ -1,8 +1,4 @@
// 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() { let pth = fail "bye"; let rs: {t: str} = {t: pth}; }

View File

@ -1,4 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,7 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,4 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,5 +1,3 @@
// xfail-stage0
tag option[T] { some(T); none; }
type r[T] = {mutable v: (option[T])[]};

View File

@ -1,6 +1,3 @@
// xfail-stage0
use std;
import std::option::*;

View File

@ -1,7 +1,3 @@
// xfail-stage0
tag maybe[T] { nothing; just(T); }
fn foo(x: maybe[int]) {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3

View File

@ -1,4 +1,3 @@
//xfail-stage0
//xfail-stage1
//xfail-stage2
//xfail-stage3

View File

@ -1,4 +1,3 @@
//xfail-stage0
//xfail-stage1
//xfail-stage2
//xfail-stage3

View File

@ -1,4 +1,3 @@
//xfail-stage0
//xfail-stage1
//xfail-stage2
//xfail-stage3

View File

@ -1,7 +1,3 @@
// xfail-stage0
fn f() -> int { { ret 3; } }
fn main() { assert (f() == 3); }

View File

@ -1,8 +1,3 @@
// xfail-stage0
// Issue 483 - Assignment expressions result in nil
fn test_assign() {
let x: int;

Some files were not shown because too many files have changed in this diff Show More