* semantics.c (lambda_expr_this_capture): In unevaluated context,
commit1b1a176f7707566e5684cfc17c9763ce7f33706a
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Mar 2013 16:04:02 +0000 (8 16:04 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Mar 2013 16:04:02 +0000 (8 16:04 +0000)
treed3fcb4bddef3180429388cfa791c683f2ed22e7e
parentd9cca713633fec2ef330900fe4a08aefab44ad6d
* semantics.c (lambda_expr_this_capture): In unevaluated context,
just return the nearest 'this'.

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