re PR c++/44160 ([C++0x] a mysterious error on __func__ in a lambda expression)
authorJason Merrill <jason@redhat.com>
Thu, 16 Jun 2011 22:09:28 +0000 (18:09 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 16 Jun 2011 22:09:28 +0000 (18:09 -0400)
commite9f389f0da308bdb9259afc8be4b7b207acd3900
tree6a964d4f3e21ec42e69554a50b88a7271e374b01
parentfa54bbb75d70055628f966d59570256649fa3fdb
re PR c++/44160 ([C++0x] a mysterious error on __func__ in a lambda expression)

PR c++/44160
* parser.c (cp_parser_lambda_body): Share code between
simple and complex cases instead of using cp_parser_function_body.

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