aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/concepts/intro7.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/concepts/intro7.C')
-rw-r--r--gcc/testsuite/g++.dg/concepts/intro7.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/concepts/intro7.C b/gcc/testsuite/g++.dg/concepts/intro7.C
index d5bdc7e2789..343fe7a9824 100644
--- a/gcc/testsuite/g++.dg/concepts/intro7.C
+++ b/gcc/testsuite/g++.dg/concepts/intro7.C
@@ -1,14 +1,14 @@
// PR c++/66985
-// { dg-do compile { target c++17 } }
+// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template <template <class> class T>
-concept bool _Valid = requires { typename T<int>; };
+concept bool Valid = requires { typename T<int>; };
template <template <class> class T>
struct __defer { };
-_Valid{T}
+Valid{T}
struct __defer<T> {
using type = T<int>;
};