summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/range-for12.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/range-for12.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp0x/range-for12.C3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/range-for12.C b/gcc/testsuite/g++.dg/cpp0x/range-for12.C
index 9b405dc620..5a2a7d1907 100644
--- a/gcc/testsuite/g++.dg/cpp0x/range-for12.C
+++ b/gcc/testsuite/g++.dg/cpp0x/range-for12.C
@@ -1,8 +1,7 @@
// Test for range-based for loop with templates
// and begin/end as member functions
-// { dg-do run }
-// { dg-options "-std=c++0x" }
+// { dg-do run { target c++11 } }
/* Preliminary declarations */
namespace pre