rust/tests/ui/feature-gates/feature-gate-asm_unwind.rs
2023-01-11 09:32:08 +00:00

11 lines
164 B
Rust

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