CWG 2267 - list-initialization of reference temporary
commit8ea3a5b4507f2c28cf5b0c823e487a7e324d3585
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2018 18:57:50 +0000 (10 18:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2018 18:57:50 +0000 (10 18:57 +0000)
treef5eb9dc9a2a05a1c425ebae851abd3e610e671cd
parent2153548fe406f52ae6d38b309a1ad51b4b52140a
CWG 2267 - list-initialization of reference temporary

* call.c (reference_binding): List-initializing a reference
temporary is copy-list-initialization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260126 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/initlist-ref-2267.C [new file with mode: 0644]