diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/concepts/class2.C')
-rw-r--r-- | gcc/testsuite/g++.dg/concepts/class2.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/concepts/class2.C b/gcc/testsuite/g++.dg/concepts/class2.C index 6389128..ec87181 100644 --- a/gcc/testsuite/g++.dg/concepts/class2.C +++ b/gcc/testsuite/g++.dg/concepts/class2.C @@ -1,4 +1,5 @@ -// { dg-options "-std=c++17 -fconcepts" } +// { dg-do compile { target c++17 } } +// { dg-options "-fconcepts" } template<typename T> concept bool C() { return __is_class(T); } |