aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c90-flex-array-2.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-06re PR c/36432 (“incompatible pointer type” with pointer to array as a ↵Joseph Myers1-0/+15
struct member) PR c/36432 * c-decl.c (grokdeclarator): Don't treat [] declarators in fields as indicating flexible array members unless the field itself is being declarared as the incomplete array. testsuite: * gcc.dg/c90-flex-array-2.c, gcc.dg/c99-flex-array-6.c: New tests. From-SVN: r143989