summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern/extern-main-fn.rs
blob: bb1468a70fb1e7cc1470eb54044e078cab76fe83 (plain)
1
extern "C" fn main() {} //~ ERROR: `main` function has wrong type [E0580]