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