1 // { dg-options "-std=c++98 -Wc++0x-compat" }
3 template<int N> struct X {};
5 X<1 >> 2> x; // { dg-warning "will be treated as|suggest parentheses" }
9 template <int V> struct Foo {};
10 Foo<Y () >> 5> r; // { dg-warning "will be treated as|suggest parentheses" }