Shorten the testcase.
[libfirm] / ir / be / test / fehler39.c
1 typedef   signed short  INT16;
2 typedef   signed int    INT32;
3
4
5 typedef struct
6 {
7         INT16 sX;
8         INT16 sY;
9         INT32 iLightID
10 } EXPLOSIONTYPE;
11
12
13 static void GenerateExplosionFromExplosionPointer(EXPLOSIONTYPE* pExplosion)
14 {
15         INT16 sX = pExplosion->sX;
16         INT16 sY = pExplosion->sY;
17
18         if (pExplosion->iLightID = LightSpriteCreate())
19         {
20                 LightSpritePosition(pExplosion->iLightID, sX / 10, sY / 10);
21         }
22 }
23
24
25 void f(void)
26 {
27         GenerateExplosionFromExplosionPointer(0);
28 }
29
30
31 int main(void)
32 {
33         return 0;
34 }