PR middle-end/30262
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20031216-1.c
blob709f0166a207b6a01581774782a262564e70481e
1 /* PR optimization/13313 */
2 /* Origin: Mike Lerwill <mike@ml-solutions.co.uk> */
4 extern void abort(void);
6 void DisplayNumber (unsigned long v)
8 if (v != 0x9aL)
9 abort();
12 unsigned long ReadNumber (void)
14 return 0x009a0000L;
17 int main (void)
19 unsigned long tmp;
20 tmp = (ReadNumber() & 0x00ff0000L) >> 16;
21 DisplayNumber (tmp);
22 return 0;