summaryrefslogtreecommitdiffstats
path: root/tests/ui/fn/bad-main.rs
blob: 7511599614247426d652bba0638a45b6a056be2b (plain)
1
fn main(x: isize) { } //~ ERROR: `main` function has wrong type [E0580]