diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp1z/range-for1.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1z/range-for1.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp1z/range-for1.C b/gcc/testsuite/g++.dg/cpp1z/range-for1.C index fc134b8..4bca986 100644 --- a/gcc/testsuite/g++.dg/cpp1z/range-for1.C +++ b/gcc/testsuite/g++.dg/cpp1z/range-for1.C @@ -1,5 +1,5 @@ // P0184R0: Generalizing the Range-Based For Loop -// { dg-options "-std=c++17" } +// { dg-do compile { target c++17 } } struct A { int ar[4]; |