* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 990527-1.c
blob4744030307aa7dc46a6de329dc0a753921932cd4
1 typedef struct {
2 int dummy;
3 int width, height;
4 } XWindowAttributes;
6 typedef struct {
7 short x, y;
8 } XPoint;
10 extern unsigned int ya_random (void);
11 extern int XDrawPoints(XPoint*, int);
13 static int iterations, offset;
14 static int xsym, ysym;
16 static void
17 hurm (void)
19 XWindowAttributes xgwa;
20 int xlim, ylim, x, y, i;
21 XPoint points [4];
24 for (i = 0; i < iterations; i++)
26 int j = 0;
27 j++;
28 if (xsym)
30 points [j].x = xlim - x;
31 j++;
33 points [j].x = x;
34 j++;