PR c++/21210
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jun 2006 18:50:22 +0000 (18:50 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jun 2006 18:50:22 +0000 (18:50 +0000)
commit5c775397aa422d53d47119dafdabc3f58cb4dd9f
tree08dd0b278359c4261068a359565a326a12b76c09
parent76f628ced09cd19e14c858b1d19d852569c22bca
PR c++/21210
* typeck2.c (build_functional_cast): Use cp_convert to construct
non-aggregate initializers instead of the user-level build_c_cast.

* g++.dg/init/complex1.C: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114573 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/complex1.C [new file with mode: 0644]