aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/array-const-1.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-24c-typeck.c (set_init_index): Allow array designators that are not integer ↵Joseph Myers1-0/+8
constant expressions with a... * c-typeck.c (set_init_index): Allow array designators that are not integer constant expressions with a pedwarn if pedantic. testsuite: * gcc.dg/array-const-1.c, gcc.dg/array-const-2.c, gcc.dg/array-const-3.c: New tests. From-SVN: r146741