summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-asm_unwind.rs
blob: df161b60081123cae36e43787529d26457da7e7b (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
    }
}