Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr28121.c
blob9e306f5930a532c02712ce307156ad7b86b2b16c
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 int GetMouseButton ();
5 int ParsePos ();
7 short
8 GetCmd ()
10 int c, c1;
11 for (c = 255; c == 255;)
13 c = GetMouseButton ();
14 if (c >= 0)
16 c = ParsePos (c, -1, 0);
17 c1 = ParsePos (c1, c, 1);
18 if (c == c1 && (c >= 0 || c == -10))
20 return c;
22 if (c >= 0 && c1 == -12)
24 return ((((((10) + 1) + 1)) + 1) << 7) | c;
26 c = 255;