]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/rustc-error.rs
Rollup merge of #102187 - b-naber:inline-const-source-info, r=eholk
[rust.git] / src / tools / miri / tests / fail / rustc-error.rs
1 // Make sure we exit with non-0 status code when the program fails to build.
2 fn main() {
3     println("Hello, world!"); //~ ERROR: expected function, found macro
4 }