[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / c99-init-6.c
blob6328f82676ff3505f000c8a6a56acd2fa7b91a70
1 /* Test for designated initializers: invalid uses of string constants
2 should not ICE. PR 42262. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
6 int a[] = { [0 ... 1] = "", [0] = "" }; /* { dg-error "initial" } */