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

12 lines
111 B
Rust
Raw Normal View History

// xfail-stage0
2010-06-23 23:03:09 -05:00
// -*- rust -*-
fn main() {
2011-05-24 14:18:42 -05:00
auto t = spawn child(10);
2010-06-23 23:03:09 -05:00
}
fn child(int i) {
log_err i;
2010-06-23 23:03:09 -05:00
}