6 lines
97 B
Rust
6 lines
97 B
Rust
|
// error-pattern: mismatched types
|
||
|
|
||
|
fn f(&&_x: int) {}
|
||
|
fn g(_a: fn(+int)) {}
|
||
|
fn main() { g(f); }
|