about summary refs log tree commit diff
path: root/tests/ui/feature-gates/feature-gate-asm_unwind.rs
blob: 78c1e6c9447c2059b8854cdbdbe005baaeebfcf9 (plain)
1
2
3
4
5
6
7
8
9
10
//@ only-x86_64

use std::arch::asm;

fn main() {
    unsafe {
        asm!("", options(may_unwind));
        //~^ ERROR the `may_unwind` option is unstable
    }
}