The following invalid code snippet triggers a broken diagnostic on mainline:
====================================================================== template<template<typename> class...> struct A; template<template<typename...> class... B> struct A<B...> {}; ====================================================================== bug.cc:3: error: type/value mismatch at argument 1 in template parameter list for 'template<template<class> class<template-parameter-1-1> > struct A' bug.cc:3: error: expected a template of type 'template<class> class<template-parameter-1-1>', got '#'type_pack_expansion' not supported by dump_decl#<declaration error>' -- Summary: [4.3 regression] Broken diagnostic: 'type_pack_expansion' not supported by dump_decl Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: diagnostic, 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=33213