Use symbolic names instead of magic values for the position parameter of get_irn_n().
[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         int i;
9         for (i = 0; i < x; ++i) {
10                 a[i] = rand();
11         }
12 }
13
14
15 int main(void)
16 {
17         srand(23);
18         f(rand() & 31);
19         return 0;
20 }