(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
operator8.C
//PR c++/27494

struct A
{
    template<operator+> void foo() {}   // { dg-error "14:declaration" }
  // { dg-error "expected|template" "" { target *-*-* } .-1 }
};