re PR c++/49458 ([C++0x][DR 1328] Obvious candidate for conversion to function lvalue...
authorJason Merrill <jason@redhat.com>
Sat, 18 Jun 2011 05:58:38 +0000 (01:58 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 18 Jun 2011 05:58:38 +0000 (01:58 -0400)
commitdfe8601ce70a97d09e08e14e0ebd0f2ef4608d0f
tree3c2658abd9ee5cf202bdc4c776110840cc86698c
parent65e5579c296a74e7c317d8569406e725d8df8bff
re PR c++/49458 ([C++0x][DR 1328] Obvious candidate for conversion to function lvalue rejected)

PR c++/49458
* call.c (convert_class_to_reference_1): Allow binding function
lvalue to rvalue reference.

From-SVN: r175164
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/rv-func2.C [new file with mode: 0644]