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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
161 B
Rust
Raw Normal View History

2020-09-01 21:12:52 +00:00
extern "C" {
f();
//~^ ERROR missing `fn` or `struct` for function or struct definition
//~| HELP if you meant to call a macro, try
2013-05-22 07:11:48 +00:00
}
fn main() {
}