6473b73174
Un-xfail spawn-non-nil-fn
11 lines
114 B
Rust
11 lines
114 B
Rust
// xfail-stage0
|
|
// error-pattern: mismatched types
|
|
|
|
fn f(int x) -> int {
|
|
ret x;
|
|
}
|
|
|
|
fn main() {
|
|
spawn f(10);
|
|
}
|