blob: f55c3dc35b3890f2c7700c0799ffc99387be2223 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed prefix-postfix
class Y {
public:
friend Y operator++ (Y&);
friend Y operator++ (Y&, char); // { dg-error "13:postfix .Y operator\\+\\+\\(Y&, char\\). must have .int. as its second argument" }
};