blob: e17b64ea90a8664e25477ec26b34b6127acd26d8 [file] [log] [blame]
// PR c++/71835
// { dg-do compile }
typedef void T (int);
struct A { operator T * (); }; // { dg-message "candidate" }
struct B { operator T * (); }; // { dg-message "candidate" }
struct C : A, B {} c;
void
foo ()
{
c (0); // { dg-error "is ambiguous" }
}