1
Fork 0
rust/src/test/ui/feature-gates/feature-gate-asm_unwind.rs

11 lines
161 B
Rust
Raw Normal View History

2021-11-30 11:36:55 +01:00
// only-x86_64
#![feature(asm)]
fn main() {
unsafe {
asm!("", options(may_unwind));
//~^ ERROR the `may_unwind` option is unstable
}
}