Sign in
rust
/
miri
/
refs/heads/try
/
.
/
tests
/
fail
/
rustc-error.rs
blob: 7fc73bf365d5e09eec913a225b7ca694d64fb8f6 [
file
] [
log
] [
blame
] [
edit
]
// 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
}