[ forwarded from http://bugs.debian.org/325545 ]
This ill-formed code makes g++ ICE: template <int> struct foo; template<> struct foo<0> { typedef int t; }; int main() { 1 << typename foo<0>::t(42); } -- Summary: Error recovery problem after spurious "typename" Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24200