rust/tests/fail/rustc-error.rs
2022-06-01 10:53:38 -04:00

5 lines
162 B
Rust

// Make sure we exit with non-0 status code when the program fails to build.
fn main() {
println("Hello, world!"); //~ ERROR expected function, found macro
}