summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/940510-1.c
blob: a734c8f80d7679affba14422f0a69123db2bc943 (plain)
1
2
3
/* { dg-do compile } */
/* { dg-options "-std=c89 -pedantic" } */
struct { int a[]; } x = { 0 };	/* { dg-error "(flexible array member)|(near initialization)" } */