1 2 3 4 5 6 7 8 9 10 11 12
// { dg-do run } struct A { A operator+ (int) const { return *this; } }; A operator+ (A, float); int main () { A a; a + 1; }