summaryrefslogtreecommitdiffstats
path: root/tests/ui/asm/may_unwind.rs
blob: b9479c44bf11d7ab4a93d2b95364c053938cc097 (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
// needs-asm-support

#![feature(asm_unwind)]

use std::arch::asm;

fn main() {
    unsafe { asm!("", options(may_unwind)) };
}