1 //PR c++/27494
2 
3 struct A
4 {
fooA5     template<operator+> void foo() {}   // { dg-error "identifier|parameter|template arguments" }
6 };
7