about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2023-05-09 05:52:20 -0400
committerAugie Fackler <augie@google.com>2023-05-10 09:31:33 -0400
commitfbe479558c6ceac9065571842ab34dcd68375184 (patch)
tree0a40247ec9dd80c924d73feeb5154cbc639f8eb8
parent7e7483d26e3cec7a44ef00cf7ae6c9c8c918bec6 (diff)
downloadrust-fbe479558c6ceac9065571842ab34dcd68375184.tar.gz
rust-fbe479558c6ceac9065571842ab34dcd68375184.zip
vec-shrink-panik: update expectations to work on LLVM 17
For some reason, the called function is `cleanup` on LLVM 17 instead of
`filter`.

r? @Amanieu
-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 4e5d8dc0632..88b7edff260 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: filter
+    // old: 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: filter
+    // old: filter
     // old-NEXT: ; call core::panicking::panic_cannot_unwind
     // old-NEXT: panic_cannot_unwind