reduce the number of iteration
[libfirm] / ir / be / test / vla.c
1 /* stabs debug info has problems with VLAs */
2
3 #include <stdlib.h>
4
5 void f(int x)
6 {
7         int a[x];
8         for (int i = 0; i < x; ++i) {
9                 a[i] = rand();
10         }
11 }
12
13
14 int main(void)
15 {
16         srand(23);
17         f(rand() & 31);
18         return 0;
19 }