OSDN Git Service

PR c++/57437
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jul 2013 17:50:57 +0000 (17:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jul 2013 17:50:57 +0000 (17:50 +0000)
commit3cdee993028002d57af70a70609b243d348d9e3a
tree7ab163ab08ad2530f6984c5babfe4882b5a964a0
parentde36e8ce2265867c8ad28cc103a4c3d75f5753e4
PR c++/57437
* typeck.c (check_return_expr): Lambda proxies aren't eligible
for nrv or return by move.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@200832 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-return1.C [new file with mode: 0644]