PR c++/82070 - error with nested lambda capture
authorJason Merrill <jason@redhat.com>
Wed, 6 Sep 2017 19:36:48 +0000 (15:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 6 Sep 2017 19:36:48 +0000 (15:36 -0400)
commit7ab50e17943ee4caaf2fba2d4238a00e0409f1e7
treec515a6b0cec58a31cc8aefd30f838e6cd4ebff43
parentbbd3510114011baa1be27dde94c55085678c34bf
PR c++/82070 - error with nested lambda capture

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

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