1 2 3 4 5 6 7 8 9 10
// xfail-stage0 // error-pattern: mismatched types fn f(int x) -> int { ret x; } fn main() { spawn f(10); }