1 2 3 4 5 6 7 8 9 10
// xfail-stage0 fn main() { auto x = spawn m.child(10); join x; } mod m { fn child(int i) { log i; } }