Add a test for multiple main functions

This commit is contained in:
Brian Anderson 2012-11-07 12:30:51 -08:00
parent 3f816bdd57
commit f05e2da709

View File

@ -0,0 +1,7 @@
fn main() {
}
mod foo {
fn main() { //~ ERROR multiple 'main' functions
}
}