rust/tests/ui/feature-gates/feature-gate-asm_unwind.rs

11 lines
165 B
Rust

//@ only-x86_64
use std::arch::asm;
fn main() {
unsafe {
asm!("", options(may_unwind));
//~^ ERROR the `may_unwind` option is unstable
}
}