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