- BugFix: ensure that Convs are created in the right block
[libfirm] / ir / be / test / global_null_test.c
1 static void f1(void) {
2         printf("f1\n");
3 }
4
5 static void f2(void) {
6         printf("f2\n");
7 }
8
9 int test(char *x)
10 {
11   char ret = *x;
12
13   if (x)
14     f1();
15   else
16     f2();
17   return ret;
18 }
19
20 int main(int argc, char *argv[]) {
21         char x = '\0';
22
23         return test(&x);
24 }