We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e49d30e commit 1fd79d1Copy full SHA for 1fd79d1
tests/mir-opt/asm_unwind_panic_abort.rs
@@ -1,4 +1,3 @@
1
-// skip-filecheck
2
//! Tests that unwinding from an asm block is caught and forced to abort
3
//! when `-C panic=abort`.
4
@@ -10,6 +9,9 @@
10
9
11
// EMIT_MIR asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir
12
fn main() {
+ // CHECK-LABEL: fn main(
13
+ // CHECK: asm!(
14
+ // CHECK-SAME: unwind terminate(abi)
15
unsafe {
16
std::arch::asm!("", options(may_unwind));
17
}
0 commit comments