summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/operator8.C
blob: 29d17b84b89b897c577e2570f97b1508a66255bf (plain)
1
2
3
4
5
6
//PR c++/27494

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