summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/prepost3.C
blob: d11624b2d087b12c98a982a2471b4933b15fe472 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// GROUPS passed prefix-postfix
class Y {
public:
   friend Y operator++ (Y&);
   friend Y operator++ (Y&, char);	// illegal// { dg-error "" } .*
};