1 // { dg-do assemble } 2 // Origin: Nathan Sidwell <nathan@codesourcery.com> 3 4 struct A { 5 bool operator== (A const &); 6 operator bool () const; 7 operator int * () const; 8 }; 9 foo(A & a1,A & a2)10 bool foo (A &a1, A &a2) 11 { 12 return a1 == a2; 13 } 14