summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/constinit8.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp2a/constinit8.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp2a/constinit8.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp2a/constinit8.C b/gcc/testsuite/g++.dg/cpp2a/constinit8.C
index c6b2975350c..50bc13f2ce9 100644
--- a/gcc/testsuite/g++.dg/cpp2a/constinit8.C
+++ b/gcc/testsuite/g++.dg/cpp2a/constinit8.C
@@ -1,5 +1,5 @@
// PR c++/91360 - Implement C++20 P1143R2: constinit
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// Variable templates.
int nonconst;