OSDN Git Service

PR c++/44045
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 May 2010 18:37:56 +0000 (18:37 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 May 2010 18:37:56 +0000 (18:37 +0000)
commit4e88e12834936f00f97dda1b743de4db33bf232e
treec22516bdca0cac3cfcac3c2e9b60621bf52287c6
parent45f4f11ecb033b8156ff8f1861db0c9c3674d729
PR c++/44045
* typeck.c (cp_build_modify_expr): Complain about assignment to
array from init list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159243 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist26.C
gcc/testsuite/g++.dg/cpp0x/initlist28.C
gcc/testsuite/g++.dg/cpp0x/initlist33.C [new file with mode: 0644]