blob: c1303efa4cf86fb0856275eba8bc38cedfbbe192 [file] [log] [blame]
//PR c++/27670
template<operator+> void foo(); // { dg-error "10:declaration" }
// { dg-error "expected|template" "" { target *-*-* } .-1 }
void bar()
{
foo(); // { dg-error "no matching function" }
}