rust/src/test/compile-fail/bad-main.rs

3 lines
53 B
Rust

// error-pattern:expected `fn()
fn main(x: int) { }