re PR c++/56135 ([c++11] this incorrectly captured as null in template member function)
authorJason Merrill <jason@redhat.com>
Wed, 13 Feb 2013 17:56:05 +0000 (12:56 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 13 Feb 2013 17:56:05 +0000 (12:56 -0500)
commit78a2ea4199b0292a4fada84baa2db53f6b67e0f0
tree6757bf0aacf35f9eab5e3c69821c4770fcc2e684
parent70cc32885899d283acc811b075c4e6aa8199e173
re PR c++/56135 ([c++11] this incorrectly captured as null in template member function)

PR c++/56135
* pt.c (tsubst_copy_and_build): Don't forget any new
captures that arose from use of dependent names.

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