1 //! Tests that unwinding from an asm block is caught and forced to abort
2 //! when `-C panic=abort`.
4 // min-llvm-version: 13.0.0
6 // compile-flags: -C panic=abort
9 #![feature(asm_unwind)]
11 // EMIT_MIR asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir
14 std::arch::asm!("", options(may_unwind));