mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
Bring run-pass/spawn-module-qualified up to date and un-XFAIL
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
use std;
|
||||
import std::task::join;
|
||||
|
||||
fn main() {
|
||||
auto x = spawn m::child(10);
|
||||
join x;
|
||||
let x = spawn m::child(10);
|
||||
join(x);
|
||||
}
|
||||
mod m {
|
||||
fn child(int i) {
|
||||
fn child(i: int) {
|
||||
log i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user