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

10 lines
175 B
Rust
Raw Normal View History

use std;
import std::task::join;
import std::task::spawn_joinable;
fn main() { let x = spawn_joinable(10, m::child); join(x); }
2011-07-27 07:48:34 -05:00
mod m {
fn# child(&&i: int) { log i; }
2011-07-27 07:48:34 -05:00
}