blob: 1ec6d23bf3dbbe9b3103bee046acb1867054c248 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// { dg-do assemble }
// GROUPS passed prefix-postfix
class Y {
public:
friend Y operator++ (Y&);
// This is legal---it's a good test to make sure that grokfndecl's
// checking of the arguments is sane.
friend Y operator++ (Y&, int);
};
|