http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033
--- Comment #8 from Adam Butcher <abutcher at gcc dot gnu.org> --- Author: abutcher Date: Sat Mar 8 09:33:12 2014 New Revision: 208427 URL: http://gcc.gnu.org/viewcvs?rev=208427&root=gcc&view=rev Log: Fix PR c++/60033 PR c++/60033 * pt.c (tsubst_copy): When retrieving a capture pack from a generic lambda, remove the lambda's own template argument list prior to fetching the specialization. PR c++/60033 * g++.dg/cpp1y/pr60033.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/cpp1y/pr60033.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog