8sa1-gcc/gcc/testsuite/g++.old-deja/g++.brendan/prepost3.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

8 lines
163 B
C

// Build don't link:
// GROUPS passed prefix-postfix
class Y {
public:
friend Y operator++ (Y&);
friend Y operator++ (Y&, char); // illegal// ERROR - .*
};