about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2023-04-09 12:05:35 +0100
committerGary Guo <gary@garyguo.net>2023-05-07 12:38:47 +0100
commit16abe6c83d2c9eba8f54be8fbe25ed49791e1e45 (patch)
treef61786e113ac0ee3b7265b7b87908e1ed8755e83
parent91afde57a28b1619f140fbe8463d150ce7c8adca (diff)
downloadrust-16abe6c83d2c9eba8f54be8fbe25ed49791e1e45.tar.gz
rust-16abe6c83d2c9eba8f54be8fbe25ed49791e1e45.zip
Fix codegen test
-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