diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/bracket3.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/bracket3.C | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/bracket3.C b/gcc/testsuite/g++.dg/cpp0x/bracket3.C index 4ef7a0e9d3..f86aa041a2 100644 --- a/gcc/testsuite/g++.dg/cpp0x/bracket3.C +++ b/gcc/testsuite/g++.dg/cpp0x/bracket3.C @@ -1,10 +1,10 @@ -// { dg-options "-std=c++98 -Wc++0x-compat" } +// { dg-options "-std=c++98 -Wc++11-compat" } template<int N> struct X {}; -X<1 >> 2> x; // { dg-warning "will be treated as|suggest parentheses" } +X<1 >> 2> x; // { dg-warning "is treated as|suggest parentheses" } // From cp/parser.c typedef int Y; template <int V> struct Foo {}; -Foo<Y () >> 5> r; // { dg-warning "will be treated as|suggest parentheses" } +Foo<Y () >> 5> r; // { dg-warning "is treated as|suggest parentheses" } |