// PR c++/17501 template struct A; template<> struct A<0> { struct B { struct C { typedef int D; }; }; }; template struct E { typename A::B::C::D i; };