about summary refs log tree commit diff
path: root/tests/ui/asm/may_unwind.rs
blob: 0fef317a2cfd1d530b3a7a268ba4cd79c813c812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ run-pass
//@ needs-asm-support
//@ needs-unwind
//@ ignore-backends: gcc

#![feature(asm_unwind)]

use std::arch::asm;

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