The following valid testcase triggers an ICE on mainline:
============================================================
template<typename> struct A {};
template<template<typename> class...> struct B {};
template<template<typename> class T> void foo(const B<T>&);
void bar()
{
foo(B<A>());
}
============================================================
bug.cc: In function 'void bar()':
bug.cc:9: internal compiler error: in arg_assoc_type, at cp/name-lookup.c:4626
Please submit a full bug report, [etc.]
--
Summary: [4.3 regression] ICE with argument deduction of variadic
template function
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, 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=34101