struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-920929-1.c
blobc4be56b5273c650c1422fd79488760244d8c38f5
1 /*
2 920929-1.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 // Todo: Enable when sdcc supports VLA!
12 #if 0
13 /* REPRODUCED:RUN:SIGNAL MACHINE:sparc OPTIONS: */
14 f(int n)
16 int i;
17 double v[n];
18 for(i=0;i<n;i++)
19 v[i]=0;
21 #endif
23 void
24 testTortureExecute (void)
26 #if 0
27 f(100);
28 return;
29 #endif