1 // { dg-do assemble  }
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.
5 
6 struct A  {
7   typedef long T;
8 };
9 
10 struct B : public A { };
11 struct C : public A { };
12 
13 struct D : public C , public B {
14   void f (T&);			// { dg-bogus "" } ambiguous lookup
15 };
16