14 lines
164 B
Rust
14 lines
164 B
Rust
// xfail-stage0
|
|
// xfail-stage1
|
|
// xfail-stage2
|
|
// xfail-stage3
|
|
fn main() {
|
|
auto x = spawn m::child(10);
|
|
join x;
|
|
}
|
|
mod m {
|
|
fn child(int i) {
|
|
log i;
|
|
}
|
|
}
|