1 //PR c++/27670 2 3 template<operator+> void foo(); // { dg-error "10:declaration" } 4 // { dg-error "expected|template" "" { target *-*-* } .-1 } 5 bar()6 void bar() 7 { 8 foo(); // { dg-error "no matching function" } 9 } 10 11