]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: limit concepts-pr67774.C to C++20
authorJason Merrill <jason@redhat.com>
Sat, 15 Feb 2025 23:17:30 +0000 (00:17 +0100)
committerJason Merrill <jason@redhat.com>
Thu, 27 Feb 2025 17:26:48 +0000 (12:26 -0500)
This test breaks with -std=c++23 -fconcepts-ts, but works at the default
-std=c++20 -fconcepts-ts.  Since we're removing -fconcepts-ts in GCC 15,
it's not worth trying to fix this conflict.

gcc/testsuite/ChangeLog:

* g++.dg/cpp2a/concepts-pr67774.C: Change target to c++20_only.

gcc/testsuite/g++.dg/cpp2a/concepts-pr67774.C

index 5ee5c2dac8f348c42271f88cd3e8459a3516d4d0..d24384364ccd1e46147c8335f7da607aee503c09 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do compile { target c++20 } }
+// { dg-do compile { target c++20_only } }
 // { dg-additional-options "-fconcepts-ts" }
 
 #include <type_traits>