switch is still broken, copying over cparser testcase since noone runs the cparser...
[libfirm] / ir / be / test / fehler009.c
1 struct x {
2         int a;
3         int b;
4 } ;
5
6 typedef struct x X;
7
8 X test(void);
9
10
11 int main(void) {
12
13         X y;
14         y = test();
15         printf("%d %d\n", y.a, y.b);
16
17         return 0;
18 }
19
20 X test(void) {
21         X a;
22         a.a = 2;
23         a.b = 3;
24         return(a);
25 }