// PR c++/51064 // { dg-options "-Wparentheses" } template> 3)> class foo1 { }; typedef foo1<10> bar1; template> 3)> class foo2 { }; typedef foo2<10> bar2; // { dg-warning "suggest parentheses around '\\+'" } template> (i + 2))> class foo3 { }; typedef foo3<3> bar3; template> i + 2)> class foo4 { }; typedef foo4<3> bar4; // { dg-warning "suggest parentheses around '\\+'" } template class foo5 { }; typedef foo5<10> bar5; template class foo6 { }; typedef foo6<10> bar6; // { dg-warning "suggest parentheses around arithmetic" } template class foo7 { }; typedef foo7<10> bar7; template class foo8 { }; typedef foo8<10> bar8; // { dg-warning "suggest parentheses around arithmetic" }