#![feature(main)]
#[main]
fn main1() {
}
mod foo {
fn main2() { //~ ERROR multiple functions with a #[main] attribute