Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / init-bad-5.c
blob18cee43b5374e639a4ce0d12b4f00044137a0347
1 /* PR c/28136 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 int i = (struct A[]) {}; /* { dg-error "incomplete|empty|initialization" } */