rust/src/test/compile-fail/missing-main.rs
Tim Chevalier f26ca025de Make resolve and the typechecker check for a main fn of the
correct type

This means if a non-library program leaves out the main program,
the error gets caught earlier than link.

Closes #626.
2011-07-13 18:30:53 -07:00

5 lines
71 B
Rust

// xfail-stage0
// error-pattern:Main function not found
fn mian() {
}