re PR c++/60224 (ICE using invalid initializer for array)
authorJason Merrill <jason@redhat.com>
Fri, 21 Feb 2014 14:56:53 +0000 (09:56 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 21 Feb 2014 14:56:53 +0000 (09:56 -0500)
commit843633f841be49bf6d15a2f6208ce384870f37b8
treeed6c2cbc9b08dfc6ace3e8a097c37fab33f79ba1
parentcd3ef6f762a6dc3d7871f33b297be5b684b68ad0
re PR c++/60224 (ICE using invalid initializer for array)

PR c++/60224
* decl.c (cp_complete_array_type, maybe_deduce_size_from_array_init):
Don't get confused by a CONSTRUCTOR that already has a type.

From-SVN: r208002
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/init/array36.C [new file with mode: 0644]