aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/concepts/req11.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/concepts/req11.C')
-rw-r--r--gcc/testsuite/g++.dg/concepts/req11.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/concepts/req11.C b/gcc/testsuite/g++.dg/concepts/req11.C
index 2d0c5c0..8891cce 100644
--- a/gcc/testsuite/g++.dg/concepts/req11.C
+++ b/gcc/testsuite/g++.dg/concepts/req11.C
@@ -1,4 +1,5 @@
-// { dg-options "-std=c++17 -fconcepts" }
+// { dg-do compile { target c++17 } }
+// { dg-options "-fconcepts" }
// Check that we can evaluate constant requires-expressions
// as constant expressions, for the curious case when they