1 // [over.best.ics]: For the purpose of ranking implicit conversion
2 // sequences as described in _over.ics.rank_, the ambiguous conversion
3 // sequence is treated as a user-defined sequence that is indistinguishable
4 // from any other user- defined conversion sequence.
17 void f(A); // { dg-error "" "candidate" }
18 void f(B); // { dg-error "" "candidate" }
22 f (42); // { dg-error "ambiguous" "ambiguous" }