blob: 3596bb5983e75ac742043ed2652706e58600e859 [file] [log] [blame]
// PR c++/51614
struct A
{
void foo();
};
struct B : A {};
struct C : A {};
struct D : B, C
{
D() { A::foo(); } // { dg-error "ambiguous" }
};