about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-10-16 18:02:18 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-10-19 15:51:53 +0000
commit00a7958e7945c4ed4070b999435909da94233942 (patch)
tree6c9874b3e47ff43741a2be9ab0c08ad2e51cf14d
parent47fa01d2b86ab4a60d944a5d9501cfbed9cd5e80 (diff)
downloadrust-00a7958e7945c4ed4070b999435909da94233942.tar.gz
rust-00a7958e7945c4ed4070b999435909da94233942.zip
FileCheck asm_unwind_panic_abort.rs
-rw-r--r--tests/mir-opt/asm_unwind_panic_abort.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mir-opt/asm_unwind_panic_abort.rs b/tests/mir-opt/asm_unwind_panic_abort.rs
index 873a8b28f5e..a80dcb385b3 100644
--- a/tests/mir-opt/asm_unwind_panic_abort.rs
+++ b/tests/mir-opt/asm_unwind_panic_abort.rs
@@ -1,4 +1,3 @@
-// skip-filecheck
 //! Tests that unwinding from an asm block is caught and forced to abort
 //! when `-C panic=abort`.
 
@@ -10,6 +9,9 @@
 
 // EMIT_MIR asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir
 fn main() {
+    // CHECK-LABEL: fn main(
+    // CHECK: asm!(
+    // CHECK-SAME: unwind terminate(abi)
     unsafe {
         std::arch::asm!("", options(may_unwind));
     }