rust/tests/compile-fail/rustc-error.rs
2020-04-25 11:12:50 +02: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
}