aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/prepost2.C
blob: 1e34433e180d35fcea76aa41298f9c8784a5d297 (plain)
1
2
3
4
5
6
7
8
9
10
// Build don't link: 
// GROUPS passed initialization
class foo {
public:
      operator ++ (); // ERROR - no type or storage class
      operator ++ (int); // ERROR - no type or storage class
      operator ++ (char);		// illegal// ERROR - .*
      operator ++ (short);		// illegal// ERROR - .*
      operator ++ (long);		// illegal// ERROR - .*
};