OSDN Git Service

PR c++/41896
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Feb 2010 22:45:07 +0000 (22:45 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Feb 2010 22:45:07 +0000 (22:45 +0000)
commitb29dbfa555e2a017a01be3bb626fa805725b77ae
treea4a0aac725577272bb6dd69372cebef058daf4e0
parent411bea5e69a5569ff38a89656aac05df2eded7f4
PR c++/41896
* semantics.c (outer_lambda_capture_p): Use current_function_decl
instead of current_class_type.

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