about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-05-08 09:30:21 -0700
committerGitHub <noreply@github.com>2023-05-08 09:30:21 -0700
commitfcb275f85e0e64bf3bb488cbd518bb085040c0cf (patch)
treec62c22848dc08ee15f1e32860a44c72ca4f6c737 /tests/codegen
parentce042889f7f0d687368a9704eff64cf9542bac6d (diff)
parent16abe6c83d2c9eba8f54be8fbe25ed49791e1e45 (diff)
downloadrust-fcb275f85e0e64bf3bb488cbd518bb085040c0cf.tar.gz
rust-fcb275f85e0e64bf3bb488cbd518bb085040c0cf.zip
Rollup merge of #104070 - nbdd0121:unwind, r=Amanieu
Prevent aborting guard from aborting the process in a forced unwind

Fix #101469
Diffstat (limited to 'tests/codegen')
-rw-r--r--tests/codegen/vec-shrink-panik.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/vec-shrink-panik.rs b/tests/codegen/vec-shrink-panik.rs
index b3c3483fea9..4e5d8dc0632 100644
--- a/tests/codegen/vec-shrink-panik.rs
+++ b/tests/codegen/vec-shrink-panik.rs
@@ -25,7 +25,7 @@ pub fn issue71861(vec: Vec<u32>) -> Box<[u32]> {
 
     // Call to panic_cannot_unwind in case of double-panic is expected
     // on LLVM 16 and older, but other panics are not.
-    // CHECK: cleanup
+    // CHECK: filter
     // old-NEXT: ; call core::panicking::panic_cannot_unwind
     // old-NEXT: panic_cannot_unwind
 
@@ -40,7 +40,7 @@ pub fn issue75636<'a>(iter: &[&'a str]) -> Box<[&'a str]> {
 
     // Call to panic_cannot_unwind in case of double-panic is expected,
     // on LLVM 16 and older, but other panics are not.
-    // CHECK: cleanup
+    // CHECK: filter
     // old-NEXT: ; call core::panicking::panic_cannot_unwind
     // old-NEXT: panic_cannot_unwind