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