2 // [class.ambig]: A single function, object, type, or enumerator may be
3 // reached through more than one path through the DAG of base classes. This
4 // is not an ambiguity.
10 struct B : public A { };
11 struct C : public A { };
13 struct D : public C , public B {
14 void f (T&); // { dg-bogus "" } ambiguous lookup