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