(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
inherit/
ambig1.C
// PR c++/51614

struct A
{
  void foo();
};

struct B : A {};
struct C : A {};

struct D : B, C
{
  D() { A::foo(); }		// { dg-error "ambiguous" }
};