committing ilp based spilling
[libfirm] / ir / be / test / alloca.c
1 #include <alloca.h>
2 #include <stdio.h>
3
4 struct x {
5   int a, b;
6 };
7
8 static void t(struct x *p)
9 {
10   printf("%d\n", p->a + p->b);
11 }
12
13 int main(int argc, char *argv[])
14 {
15   struct x *p = alloca(sizeof(*p));
16
17   p->a = argc;
18   p->b = 3;
19
20   t(p);
21 }