rust/src/test/ui/issues/issue-10764.rs
2018-12-25 21:08:33 -07:00

6 lines
100 B
Rust

fn f(_: extern "Rust" fn()) {}
extern fn bar() {}
fn main() { f(bar) }
//~^ ERROR mismatched types