eccp optimized the assert away!?!, anyway I wanna fix the real error first...
[libfirm] / ir / be / test / DivBug.c
1 #include <string.h>
2
3 int x[(1024 / sizeof (int))];
4
5 int main(int argc, char *argv[]) {
6   int y[(1024 / sizeof (int))];
7
8   memset(y, 20, sizeof(y));
9   memset(x, 22, (1024 / sizeof (int)));
10
11   printf("DivBug. ok!\n");
12   printf("Result: %d (should be 336860180)", y[(1024 / sizeof (int))-1]+x[(1024 / sizeof (int))-1]);
13
14   return 0;
15 }