Skip to content

Commit 16abe6c

Browse files
committed
Fix codegen test
1 parent 91afde5 commit 16abe6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/codegen/vec-shrink-panik.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub fn issue71861(vec: Vec<u32>) -> Box<[u32]> {
2525

2626
// Call to panic_cannot_unwind in case of double-panic is expected
2727
// on LLVM 16 and older, but other panics are not.
28-
// CHECK: cleanup
28+
// CHECK: filter
2929
// old-NEXT: ; call core::panicking::panic_cannot_unwind
3030
// old-NEXT: panic_cannot_unwind
3131

@@ -40,7 +40,7 @@ pub fn issue75636<'a>(iter: &[&'a str]) -> Box<[&'a str]> {
4040

4141
// Call to panic_cannot_unwind in case of double-panic is expected,
4242
// on LLVM 16 and older, but other panics are not.
43-
// CHECK: cleanup
43+
// CHECK: filter
4444
// old-NEXT: ; call core::panicking::panic_cannot_unwind
4545
// old-NEXT: panic_cannot_unwind
4646

0 commit comments

Comments
 (0)