1
Fork 0

test: Enable more tests

This commit is contained in:
Brian Anderson 2011-06-22 08:35:02 -07:00
parent 7a4fb084f1
commit cc2a514cdc
12 changed files with 2 additions and 30 deletions

View file

@ -1,7 +1,4 @@
// xfail-stage0 // error-pattern: assignment to immutable field
// xfail-stage1
// xfail-stage2
// error-pattern: writing to immutable type
fn main() { fn main() {
let rec(int x) r = rec(x=1); let rec(int x) r = rec(x=1);
r.x = 6; r.x = 6;

View file

@ -1,7 +1,4 @@
// xfail-stage0 // error-pattern: assignment to immutable field
// xfail-stage1
// xfail-stage2
// error-pattern: writing to immutable type
fn main() { fn main() {
let tup(int) t = tup(1); let tup(int) t = tup(1);
t._0 = 5; t._0 = 5;

View file

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*- // -*- rust -*-
// error-pattern:1 == 2 // error-pattern:1 == 2

View file

@ -1,6 +1,4 @@
// xfail-stage0 // xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*- // -*- rust -*-
fn a(chan[int] c) { fn a(chan[int] c) {

View file

@ -1,6 +1,4 @@
// xfail-stage0 // xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*- // -*- rust -*-
fn a(chan[int] c) { fn a(chan[int] c) {

View file

@ -1,6 +1,4 @@
// xfail-stage0 // xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*- // -*- rust -*-
fn a(chan[int] c) { fn a(chan[int] c) {

View file

@ -2,8 +2,6 @@
// xfail-stage0 // xfail-stage0
// xfail-stage1
// xfail-stage2
// Reported as issue #126, child leaks the string. // Reported as issue #126, child leaks the string.
fn child2(str s) { } fn child2(str s) { }

View file

@ -1,6 +1,4 @@
// xfail-stage0 // xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*- // -*- rust -*-
fn main() { fn main() {

View file

@ -1,6 +1,4 @@
// xfail-stage0 // xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*- // -*- rust -*-
fn main() { fn main() {

View file

@ -5,9 +5,6 @@
*/ */
// xfail-stage0 // xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
use std; use std;

View file

@ -1,6 +1,4 @@
// xfail-stage0 // xfail-stage0
// xfail-stage1
// xfail-stage2
fn main() -> () { fn main() -> () {
test05(); test05();
} }

View file

@ -1,6 +1,4 @@
// xfail-stage0 // xfail-stage0
// xfail-stage1
// xfail-stage2
fn main() -> () { fn main() -> () {
spawn child("Hello"); spawn child("Hello");
} }