OSDN Git Service

PR c++/41920
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jan 2010 21:30:28 +0000 (21:30 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jan 2010 21:30:28 +0000 (21:30 +0000)
commit3786e1ba45691e6feefd41b13759557108f44443
treea4b4963f20e444996f74308e7fec8b1636796268
parent58c98d699832fe70847b1c3c4542e94af09b3e0f
PR c++/41920
* semantics.c (build_lambda_object): Call mark_used on captured
variables.

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