eccp optimized the assert away!?!, anyway I wanna fix the real error first...
[libfirm] / ir / be / test / fehler032.c
1 /* testjmp optimizer invalid */
2
3 #include <stdio.h>
4
5 void *p = (void*) 0x12345;
6 void *p2 = 0;
7
8 int main()
9 {
10         void *mp = p;
11         void *mp2 = p2;
12         if(mp && mp2) {
13                 printf("1\n");
14         } else if (mp) {
15                 printf("2\n");
16         } else {
17                 printf("3\n");
18         }
19         return 0;
20 }