CWG 2267 - list-initialization of reference temporary
authorJason Merrill <jason@redhat.com>
Thu, 10 May 2018 18:57:50 +0000 (14:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 10 May 2018 18:57:50 +0000 (14:57 -0400)
commitd86d6e27db4520249273fbd65e809036999f96f4
treef5eb9dc9a2a05a1c425ebae851abd3e610e671cd
parent2c9c6adac944e2705131400a24570ae884388c71
CWG 2267 - list-initialization of reference temporary

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

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