While it is still technically possible to test stage 0, it is not part of any of the main testing rules and maintaining xfail-stage0 is a chore. Nobody should worry about how tests fare in stage0.
13 lines
148 B
Rust
13 lines
148 B
Rust
// xfail-stage1
|
|
// xfail-stage2
|
|
// xfail-stage3
|
|
fn main() {
|
|
auto x = spawn m::child(10);
|
|
join x;
|
|
}
|
|
mod m {
|
|
fn child(int i) {
|
|
log i;
|
|
}
|
|
}
|