Core 1148
authorJason Merrill <jason@redhat.com>
Wed, 16 Mar 2011 20:15:37 +0000 (16:15 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 16 Mar 2011 20:15:37 +0000 (16:15 -0400)
commit532c679ea9bdf337fa0c09cbc9b0737b4a4b1aa9
tree66c253d5d159933f9c7c3b6e5800ded9fa34c036
parente676810ed18f44d6b183f7608b3d68b1c5284897
Core 1148

Core 1148
* typeck.c (check_return_expr): Fix conditions for setting
LOOKUP_PREFER_RVALUE.

From-SVN: r171071
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/elision2.C [new file with mode: 0644]