PR c++/48457, Core 1238
authorJason Merrill <jason@redhat.com>
Mon, 11 Apr 2011 22:00:06 +0000 (18:00 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 11 Apr 2011 22:00:06 +0000 (18:00 -0400)
commitb24290fb5bfba313dc7143aa29a7b161fd501997
treedd92eb9594d145c9a1cbd548aadb98292d461fc5
parent1e6d1da02d97cb863bd000c90d0309ba8f630955
PR c++/48457, Core 1238

PR c++/48457, Core 1238
* call.c (reference_binding): Allow rvalue reference to bind to
function lvalue.
* tree.c (lvalue_kind): Functions are always lvalues.

From-SVN: r172282
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/rv-func.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/is_convertible/value.cc