The following invalid code snippet triggers an ICE on mainline: ============================================================ template<int...> struct A;
template<template<int> class... T> struct A<T...> {}; ============================================================ bug.cc:3: error: type/value mismatch at argument 1 in template parameter list for 'template<int <anonymous> > struct A' bug.cc:3: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'type_pack_expansion' in convert_template_argument, at cp/pt.c:4693 Please submit a full bug report, [etc.] -- Summary: [4.3 regression] ICE with invalid specialization of variadic template Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32566