rust/tests/ui/extern/extern-main-fn.rs
2023-01-11 09:32:08 +00:00

2 lines
74 B
Rust

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