rust/tests/ui/extern/extern-main-fn.rs

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

2 lines
74 B
Rust
Raw Normal View History

extern "C" fn main() {} //~ ERROR: `main` function has wrong type [E0580]