From 668f2d7dbfb3dafa91ae2817b6447291e7f369d3 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Fri, 14 Jul 2023 13:11:31 +0000 Subject: [PATCH] tests: adapt for removal of -opaque-pointers in LLVM 17 The commit https://github.com/llvm/llvm-project/commit/53717cabf837a589dd54a47dd8b4b3b9677f0b85 removed the flag from LLVM. --- tests/ui/dyn-star/llvm-old-style-ptrs.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ui/dyn-star/llvm-old-style-ptrs.rs b/tests/ui/dyn-star/llvm-old-style-ptrs.rs index d35519632becf..4c042a539798b 100644 --- a/tests/ui/dyn-star/llvm-old-style-ptrs.rs +++ b/tests/ui/dyn-star/llvm-old-style-ptrs.rs @@ -3,6 +3,8 @@ // (opaque-pointers flag is called force-opaque-pointers in LLVM 13...) // min-llvm-version: 14.0 +// (the ability to disable opaque pointers has been removed in LLVM 17) +// ignore-llvm-version: 17 - 99 // This test can be removed once non-opaque pointers are gone from LLVM, maybe.