1 // { dg-options -Weffc++ }
4 // Copyright (C) 2001 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 26 Apr 2002 <nathan@codesourcery.com>
12 A & operator+=( int );
13 A & operator+( int ); // { dg-warning ".* should return by value" "" }
14 A operator+=( float );