c99-flex-array-6.c
381 Bytes
-
re PR c/36432 (“incompatible pointer type” with pointer to array as a struct member) · 1de2c900
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
Joseph Myers committed