https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri Jun 19 18:24:18 2015 New Revision: 224681 URL: https://gcc.gnu.org/viewcvs?rev=224681&root=gcc&view=rev Log: PR c++/65843 * pt.c (tsubst_copy_and_build): Register a capture proxy in local_specializations. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-rep1.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/pt.c