call.c (reference_binding): Allow direct binding to an array rvalue.
authorJason Merrill <jason@redhat.com>
Mon, 28 Mar 2011 16:14:12 +0000 (12:14 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 28 Mar 2011 16:14:12 +0000 (12:14 -0400)
commit159177a1542d7bc9ca5110aa1dcc7dde9a799024
tree0dcc56d271a45f2ab31b4a36765693de69012f34
parentc1120b0cd2fbaa17e69f8b37e5346c14b6b75449
call.c (reference_binding): Allow direct binding to an array rvalue.

* call.c (reference_binding): Allow direct binding to an array
rvalue.

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