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

9 lines
161 B
Rust

extern "C" {
f();
//~^ ERROR missing `fn` or `struct` for function or struct definition
//~| HELP if you meant to call a macro, try
}
fn main() {
}