]> git.proxmox.com Git - rustc.git/blame - src/test/ui/main-wrong-type.rs
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / main-wrong-type.rs
CommitLineData
223e47cc 1struct S {
1a4d82fc
JJ
2 x: isize,
3 y: isize,
223e47cc
LB
4}
5
6fn main(foo: S) {
32a655c1 7//~^ ERROR: main function has wrong type [E0580]
223e47cc 8}