mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00
13 lines
184 B
Rust
13 lines
184 B
Rust
//@ run-pass
|
|
//@ needs-asm-support
|
|
//@ needs-unwind
|
|
//@ ignore-backends: gcc
|
|
|
|
#![feature(asm_unwind)]
|
|
|
|
use std::arch::asm;
|
|
|
|
fn main() {
|
|
unsafe { asm!("", options(may_unwind)) };
|
|
}
|