PR c++/27491
commit4afa8ef312ca25cc40b15affa8b33294d2bacc61
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 2006 08:42:47 +0000 (17 08:42 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 2006 08:42:47 +0000 (17 08:42 +0000)
tree4e1059003fcc11ced87eaea21db27730e1747465
parent87f7c31ef783d27c635cec533ca1d67789096966
PR c++/27491
* semantics.c (finish_compound_literal): Only set TREE_HAS_CONSTRUCTOR
on CONSTRUCTORs.

* g++.dg/init/brace5.C: New test.

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