rust/src/test/compile-fail/multiple-main.rs
2012-11-09 12:13:55 -08:00

7 lines
84 B
Rust

fn main() {
}
mod foo {
fn main() { //~ ERROR multiple 'main' functions
}
}