cp:
commit68ea5a1dd0360cc58a1aec1bdc2242ec81079d0a
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jul 2003 16:49:48 +0000 (22 16:49 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jul 2003 16:49:48 +0000 (22 16:49 +0000)
tree9645e711506a5ff94abebf6f0db96dfe083c339e
parent196ce2be08fd069883a729ae364646eb4ea67452
cp:
PR c++/11614
* decl.c (grokdeclarator): An array member is only a flexible
array member if the field itself is the array.
testsuite:
* g++.dg/ext/flexary1.C: New test.

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