summaryrefslogtreecommitdiffstats
path: root/src/test/ui/asm/may_unwind.rs
blob: 117c0a63aa4b943f4c8c36f90437135c5d50ddcc (plain)
1
2
3
4
5
6
7
8
9
10
11
// min-llvm-version: 13.0.0
// run-pass
// needs-asm-support

#![feature(asm_unwind)]

use std::arch::asm;

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