Fix codegen test

This commit is contained in:
Gary Guo 2023-04-09 12:05:35 +01:00
parent 91afde57a2
commit 16abe6c83d

View File

@ -25,7 +25,7 @@ pub fn issue71861(vec: Vec<u32>) -> Box<[u32]> {
// Call to panic_cannot_unwind in case of double-panic is expected // Call to panic_cannot_unwind in case of double-panic is expected
// on LLVM 16 and older, but other panics are not. // on LLVM 16 and older, but other panics are not.
// CHECK: cleanup // CHECK: filter
// old-NEXT: ; call core::panicking::panic_cannot_unwind // old-NEXT: ; call core::panicking::panic_cannot_unwind
// old-NEXT: 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, // Call to panic_cannot_unwind in case of double-panic is expected,
// on LLVM 16 and older, but other panics are not. // on LLVM 16 and older, but other panics are not.
// CHECK: cleanup // CHECK: filter
// old-NEXT: ; call core::panicking::panic_cannot_unwind // old-NEXT: ; call core::panicking::panic_cannot_unwind
// old-NEXT: panic_cannot_unwind // old-NEXT: panic_cannot_unwind