diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/concepts/friend2.C')
-rw-r--r-- | gcc/testsuite/g++.dg/concepts/friend2.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/concepts/friend2.C b/gcc/testsuite/g++.dg/concepts/friend2.C index 5f14905..8ef6002 100644 --- a/gcc/testsuite/g++.dg/concepts/friend2.C +++ b/gcc/testsuite/g++.dg/concepts/friend2.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 Eq() { return requires(T t) { t == t; }; } |