1// PR c++/17501 2 3template<int> struct A; 4 5template<> struct A<0> 6{ 7 struct B 8 { 9 struct C 10 { 11 typedef int D; 12 }; 13 }; 14}; 15 16template<int I> struct E 17{ 18 typename A<I>::B::C::D i; 19}; 20