rust/tests/ui/entry-point/issue-118772.rs

4 lines
93 B
Rust

fn main(_: &i32) { //~ ERROR `main` function has wrong type
println!("Hello, world!");
}