summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-10764.rs
blob: bb915f58d9d252cb5b3f6726076d18f21f34594c (plain)
1
2
3
4
5
fn f(_: extern "Rust" fn()) {}
extern "C" fn bar() {}

fn main() { f(bar) }
//~^ ERROR mismatched types