switch is still broken, copying over cparser testcase since noone runs the cparser...
[libfirm] / ir / be / test / postinc.c
1 static void postinc_break(int *a, int *b) {
2         // assumes sizeof(int) == sizeof(int*)
3         *a = b+1;
4         *b = a+1;
5 }
6
7 int main(void) {
8         int a, b;
9         postinc_break(&a, &b);
10         printf("%d\n", a-b);
11         return 0;
12 }