pt.c (do_auto_deduction): In direct-init context, { x } deduces from x.
authorJason Merrill <jason@redhat.com>
Fri, 12 Dec 2014 17:52:28 +0000 (12:52 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 12 Dec 2014 17:52:28 +0000 (12:52 -0500)
commitc0b6f54bd34fc824b7dcacf2a57b0b915852389d
treedf6ec761c866e9b172ded4e4f45948ca749c6c33
parente3501bab810710c32b76884331b1d0d5b58bcc2b
pt.c (do_auto_deduction): In direct-init context, { x } deduces from x.

N3922
* pt.c (do_auto_deduction): In direct-init context, { x } deduces
from x.

From-SVN: r218685
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/initlist-n3922.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/lambda-init5.C