6 lines
100 B
Rust
6 lines
100 B
Rust
fn f(_: extern "Rust" fn()) {}
|
|
extern fn bar() {}
|
|
|
|
fn main() { f(bar) }
|
|
//~^ ERROR mismatched types
|