3 // Bug: The two-level conversion is not found when calling a global fn.
17 void DoSomething(Ding A); // { dg-message "Something::DoSomething|no known conversion" } referred to
20 void DoSomething(Ding A);
22 void foo(Something* pX)
24 DoSomething(1); // { dg-error "could not convert" }
25 pX->DoSomething(1); // { dg-error "cannot convert" }
26 (*pX).DoSomething(1); // { dg-error "cannot convert" }