More fallout from the variadic templates on mainline:
===========================================================
template<typename... T> struct A
{
template<int> void foo(A<T>);
};
void bar()
{
A<int>().foo<0>(A<int>());
};
===========================================================
bug.cc:3: error: parameter packs not expanded with `...':
bug.cc:3: note: 'T'
bug.cc: In function 'void bar()':
bug.cc:8: internal compiler error: in tsubst, at cp/pt.c:8466
Please submit a full bug report, [etc.]
This is a slightly simpler testcase than PR31443, but it ICE's in tsubst
instead of unify.
--
Summary: [4.3 regression] ICE with invalid use of parameter pack
in member 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=31444