]> git.lizzy.rs Git - rust.git/blob - src/test/ui/main-wrong-location.rs
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
[rust.git] / src / test / ui / main-wrong-location.rs
1 mod m {
2     // An inferred main entry point
3     // must appear at the top of the crate
4     fn main() { }
5 } //~ ERROR `main` function not found