]> git.proxmox.com Git - rustc.git/blob - src/test/ui/main-wrong-location.rs
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / main-wrong-location.rs
1 mod m {
2 //~^ ERROR `main` function not found
3 // An inferred main entry point (that doesn't use #[main])
4 // must appear at the top of the crate
5 fn main() { }
6 }