PR c++/80267 - ICE with nested capture of reference
authorJason Merrill <jason@redhat.com>
Sun, 9 Apr 2017 05:06:08 +0000 (01:06 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 9 Apr 2017 05:06:08 +0000 (01:06 -0400)
commitc60faeee9ecff24636380d2d58b7712cdfb2531f
tree5645eac2b28626e998aa41bd1dfa29cc235c8c22
parent310ce882d9e170c6adb7f9c2ceac10959e99d1c7
PR c++/80267 - ICE with nested capture of reference

PR c++/60992
* pt.c (tsubst_copy): Handle lookup finding a capture proxy.

From-SVN: r246793
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested6.C [new file with mode: 0644]