1// Bug: g++ thinks there is a default conversion from void* to B*. 2// There isn't. 3// Build don't link: 4 5struct A { 6 operator void* (); 7}; 8 9struct B { }; 10 11void foo (B* bp); 12 13void bar (A& a) { 14 foo (a); // ERROR - 15} 16