PR c++/82070 - error with nested lambda capture
commit19afaf9a83efca0b50656c4ffbcf492fa6288d40
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Sep 2017 19:36:48 +0000 (6 19:36 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Sep 2017 19:36:48 +0000 (6 19:36 +0000)
treec515a6b0cec58a31cc8aefd30f838e6cd4ebff43
parent9959b72991b44431bea5a82abd85a92fce0fe8be
PR c++/82070 - error with nested lambda capture

* pt.c (tsubst_expr) [DECL_EXPR]: Register capture proxies with
register_local_specialization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251819 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested7.C [new file with mode: 0644]