Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
src
/
tools
/
miri
/
tests
/
fail
/
rustc-error.rs
blob: 7fc73bf365d5e09eec913a225b7ca694d64fb8f6 [
file
] [
log
] [
blame
]
// 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
}