summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/udlit-class-nttp.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp2a/udlit-class-nttp.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp2a/udlit-class-nttp.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp2a/udlit-class-nttp.C b/gcc/testsuite/g++.dg/cpp2a/udlit-class-nttp.C
index dcaca3e4070..b7ef79d68a0 100644
--- a/gcc/testsuite/g++.dg/cpp2a/udlit-class-nttp.C
+++ b/gcc/testsuite/g++.dg/cpp2a/udlit-class-nttp.C
@@ -1,7 +1,7 @@
// PR c++/88095
// Test class non-type template parameters for literal operator templates.
// Validate basic support.
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
struct literal_class {
constexpr literal_class(...) { }