// xfail-stage0 // xfail-stage1 // xfail-stage2 fn main() { auto x = spawn m::child(10); join x; } mod m { fn child(int i) { log i; } }