lookup20.C   [plain text]


// Bug: typename_sub2 returned the type, so we tried to look up "A" in B.
// Build don't link:

struct A { struct A1 { }; };

struct B {
  typedef A Q;
};

struct C: public B::Q::A1 { };