re PR c++/65843 (multiple use of const variable in lamba in template function causes...
authorJason Merrill <jason@redhat.com>
Fri, 19 Jun 2015 18:15:24 +0000 (14:15 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 19 Jun 2015 18:15:24 +0000 (14:15 -0400)
commit892562cf28252bd284a4cd4d249f20c1755a6b5b
treeaa67d5c31de99dae3b0e493981ed7f4a13ffc9b2
parent2e562987080cf23cb6b9c147cd4a975faac6e2ea
re PR c++/65843 (multiple use of const variable in lamba in template function causes compile error)

PR c++/65843
* pt.c (tsubst_copy_and_build): Register a capture proxy in
local_specializations.

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