re PR c++/39056 ([c++0x] ICE with invalid initializer list for complex variable)
authorJakub Jelinek <jakub@redhat.com>
Tue, 3 Feb 2009 17:23:11 +0000 (18:23 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Feb 2009 17:23:11 +0000 (18:23 +0100)
commita36c33ebfc595336528780a71a2897d2b8dbdb94
tree011eb09844de95f4520d4764bb49797c837dd5ca
parente350dbbd73b6e76f8c4e32307c759d978038c6dc
re PR c++/39056 ([c++0x] ICE with invalid initializer list for complex variable)

PR c++/39056
* typeck2.c (digest_init_r): Don't call process_init_constructor
for COMPLEX_TYPE.

* g++.dg/cpp0x/initlist13.C: New test.

From-SVN: r143899
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist13.C [new file with mode: 0644]