2021-11-14 03:08:12 +01:00
|
|
|
//@ run-pass
|
|
|
|
|
//@ needs-asm-support
|
2024-03-25 14:19:07 +00:00
|
|
|
//@ needs-unwind
|
2025-07-23 13:31:22 +02:00
|
|
|
//@ ignore-backends: gcc
|
2021-11-14 03:08:12 +01:00
|
|
|
|
2021-12-10 00:15:33 +00:00
|
|
|
#![feature(asm_unwind)]
|
|
|
|
|
|
|
|
|
|
use std::arch::asm;
|
2021-11-14 03:08:12 +01:00
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
unsafe { asm!("", options(may_unwind)) };
|
|
|
|
|
}
|