fehler88: wrong mode_b lowering of unsigned comparisons.
[libfirm] / ir / be / test / fehler39.c
1 /* register allocator fails to resolve IMul Constraints correctly */
2 #include <stdlib.h>
3 #include <stdio.h>
4
5 typedef struct
6 {
7         short sX;
8         short sY;
9         int iLightID;
10 } EXPLOSIONTYPE;
11
12 static void GenerateExplosionFromExplosionPointer(EXPLOSIONTYPE* pExplosion)
13 {
14         short sX = pExplosion->sX;
15         short sY = pExplosion->sY;
16
17         if (pExplosion->iLightID = rand())
18         {
19                 printf("Blup: %d %d %d\n", pExplosion->iLightID, sX / 10, sY / 10);
20         }
21 }
22
23
24 void f(void)
25 {
26         GenerateExplosionFromExplosionPointer(0);
27 }
28
29
30 int main(void)
31 {
32         return 0;
33 }