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

10 lines
172 B
Rust
Raw Normal View History

use std;
import task::join;
import 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(debug, i); }
2011-07-27 07:48:34 -05:00
}