Skip to content

Commit d4a17ca

Browse files
committed
Bring run-pass/spawn-module-qualified up to date and un-XFAIL
1 parent 832d89d commit d4a17ca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// xfail-stage1
2-
// xfail-stage2
3-
// xfail-stage3
1+
use std;
2+
import std::task::join;
3+
44
fn main() {
5-
auto x = spawn m::child(10);
6-
join x;
5+
let x = spawn m::child(10);
6+
join(x);
77
}
88
mod m {
9-
fn child(int i) {
9+
fn child(i: int) {
1010
log i;
1111
}
1212
}

0 commit comments

Comments
 (0)