http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24607
--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-10-14 18:10:19 UTC --- Still broken with GCC 4.8: pr24607.cc:7:37: error: template argument 1 is invalid typedef A<typename B<D<E<int> > > > foo; ^ pr24607.cc:7:42: error: invalid type in declaration before ‘;’ token typedef A<typename B<D<E<int> > > > foo; ^ Clang gets it right: /tmp/webcompile/_22150_0.cc:7:20: error: expected a qualified name after 'typename' typedef A<typename B<D<E<int> > > > foo; ^