array-const-2.c
457 Bytes
-
c-typeck.c (set_init_index): Allow array designators that are not integer… · 2b6da65c
c-typeck.c (set_init_index): Allow array designators that are not integer 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
Joseph Myers committed