blob: b739e9f9ced8dc51c2675594f0de0e1f21081e2e [file] [log] [blame]
//@ only-x86_64
//@ needs-asm-support
#![deny(unreachable_code)]
use std::arch::asm;
fn goto_fallthough() {
unsafe {
asm!(
"/* {} */",
label {
core::hint::unreachable_unchecked();
//~^ ERROR [E0133]
}
)
}
}
fn main() {
goto_fallthough();
}