rust/tests/ui/parser/extern-no-fn.rs

7 lines
88 B
Rust

extern "C" {
f(); //~ ERROR expected one of `!` or `::`, found `(`
}
fn main() {
}