aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/fold6.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp1z/fold6.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp1z/fold6.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp1z/fold6.C b/gcc/testsuite/g++.dg/cpp1z/fold6.C
index 29a2048..df29033 100644
--- a/gcc/testsuite/g++.dg/cpp1z/fold6.C
+++ b/gcc/testsuite/g++.dg/cpp1z/fold6.C
@@ -1,7 +1,7 @@
// Test that we reject a fold-expression with an LHS that is not a
// cast-expression.
-// { dg-options -std=c++17 }
+// { dg-do compile { target c++17 } }
int i;