rust/tests/ui/feature-gates/feature-gate-asm_unwind.rs
2024-02-16 20:02:50 +00:00

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
}
}