parent
232316a275
commit
f120129309
|
@ -10,7 +10,7 @@ class A
|
|||
{
|
||||
public:
|
||||
A & operator+=( int );
|
||||
A & operator+( int ); // { dg-warning "`A& A::operator+(int)' should return by value" "" }
|
||||
A & operator+( int ); // { dg-warning ".* should return by value" "" }
|
||||
A operator+=( float );
|
||||
A operator+( float );
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue