summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/operators3.C
blob: 20bece7c69706b12501defce20d10d6dfcbd9801 (plain)
1
2
3
4
// { dg-do assemble  }
// GROUPS passed operators
class X { };
void operator->(X& a, X& b) {} // MUST be a member function// { dg-error "" } .*