rust/src/test/run-pass/spawn-module-qualified.rs

11 lines
115 B
Rust

// xfail-stage0
fn main() {
auto x = spawn m.child(10);
join x;
}
mod m {
fn child(int i) {
log i;
}
}