https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60992
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Tue May 23 20:51:33 2017 New Revision: 248386 URL: https://gcc.gnu.org/viewcvs?rev=248386&root=gcc&view=rev Log: PR c++/80267 - ICE with nested capture of reference PR c++/60992 * pt.c (tsubst_copy): Handle lookup finding a capture proxy. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested6.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/pt.c