operator9.C   [plain text]


//PR c++/27670

template<operator+> void foo(); // { dg-error "before|non-function|template" }

void bar()
{
  foo();                        // { dg-error "no matching function" }
}