test: Enable more tests
This commit is contained in:
parent
7a4fb084f1
commit
cc2a514cdc
12 changed files with 2 additions and 30 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
// xfail-stage0
|
|
||||||
// xfail-stage1
|
|
||||||
// xfail-stage2
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
// error-pattern:1 == 2
|
// error-pattern:1 == 2
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
// xfail-stage0
|
// xfail-stage0
|
||||||
// xfail-stage1
|
|
||||||
// xfail-stage2
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
fn a(chan[int] c) {
|
fn a(chan[int] c) {
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
// xfail-stage0
|
// xfail-stage0
|
||||||
// xfail-stage1
|
|
||||||
// xfail-stage2
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
fn a(chan[int] c) {
|
fn a(chan[int] c) {
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
// xfail-stage0
|
// xfail-stage0
|
||||||
// xfail-stage1
|
|
||||||
// xfail-stage2
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
fn a(chan[int] c) {
|
fn a(chan[int] c) {
|
||||||
|
|
|
@ -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) { }
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
// xfail-stage0
|
// xfail-stage0
|
||||||
// xfail-stage1
|
|
||||||
// xfail-stage2
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
// xfail-stage0
|
// xfail-stage0
|
||||||
// xfail-stage1
|
|
||||||
// xfail-stage2
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// xfail-stage0
|
// xfail-stage0
|
||||||
// xfail-stage1
|
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
// xfail-stage0
|
// xfail-stage0
|
||||||
// xfail-stage1
|
|
||||||
// xfail-stage2
|
|
||||||
fn main() -> () {
|
fn main() -> () {
|
||||||
test05();
|
test05();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
// xfail-stage0
|
// xfail-stage0
|
||||||
// xfail-stage1
|
|
||||||
// xfail-stage2
|
|
||||||
fn main() -> () {
|
fn main() -> () {
|
||||||
spawn child("Hello");
|
spawn child("Hello");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue