https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67244
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon Aug 17 18:42:26 2015 New Revision: 226951 URL: https://gcc.gnu.org/viewcvs?rev=226951&root=gcc&view=rev Log: PR c++/67244 * pt.c (tsubst_copy_and_build): Call insert_pending_capture_proxies. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested5.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/pt.c