PR c++/43886
commit40207b3988fa4d32146d30104ebd022a99dac6bd
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Aug 2011 21:09:26 +0000 (2 21:09 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Aug 2011 21:09:26 +0000 (2 21:09 +0000)
tree53aa4deb85160dafbb7eb51ac3c66da66d192ecb
parent8d49ffe6f9142790db5f24700c2cb4a1b6308814
PR c++/43886
* parser.c (cp_parser_lambda_body): Clear local_variables_forbidden_p.

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