summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/init-5.c
blob: 366397aefad75f4155e1deadb8869b5e6bd3d5dd (plain)
1
2
3
4
/* Test for ICE after syntax error in initializer with range
   designator: PR 35446.  */

int a[2][2] = { [0 ... 1] = { ; } }; /* { dg-error "expected expression" } */