PR c++/79607 - ICE with T{} initializer
authorJason Merrill <jason@redhat.com>
Mon, 20 Feb 2017 06:06:03 +0000 (01:06 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 Feb 2017 06:06:03 +0000 (01:06 -0500)
commit736a933c00ff57c2631bae3d1eeeacd73faf003c
treef0f60adf4aa34a568cdb0704aec472ef82243990
parent7950124ec2fe2ae52d99766ce4eaeed7ffc8a8bd
PR c++/79607 - ICE with T{} initializer

* decl.c (type_dependent_init_p): Check the type of a CONSTRUCTOR.

From-SVN: r245592
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/template/init11.C [new file with mode: 0644]