re PR c++/58812 (ICE initializing an r-value reference with an initializer list)
authorJason Merrill <jason@redhat.com>
Tue, 28 Jan 2014 04:31:01 +0000 (23:31 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 28 Jan 2014 04:31:01 +0000 (23:31 -0500)
commit110740003a153d13ad8c1ea73aa909d9827d0f15
tree9438ff743a38c5681b50f3cd6f4fd753a2d54127
parentf235ad118fed420d99d985b116a3c6a1d054d398
re PR c++/58812 (ICE initializing an r-value reference with an initializer list)

PR c++/58812
* call.c (convert_like_real): Give helpful error about excess braces
for ck_rvalue of scalar type.

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