struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-960419-2.c
blob83dd15baab3620b93dad7e5c6f1335a4f04d1820
1 /*
2 960419-2.c from the execute part of the gcc torture suite.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
11 #define SIZE 8
13 void
14 testTortureExecute (void)
16 int a[SIZE] = {1};
17 int i;
19 for (i = 1; i < SIZE; i++)
20 if (a[i] != 0)
21 ASSERT(0);
23 return;