struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20100209-1.c
blob0a655b21bfdc6ca03d7b6b4e0126980d5e962558
1 /*
2 20100209-1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 int bar(int foo)
9 return (int)(((unsigned long long)(long long)foo) / 8);
12 void
13 testTortureExecute (void)
15 if (sizeof (long long) > sizeof (int)
16 && bar(-1) != -1)
17 ASSERT (0);
18 return;