struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-pr83477.c
blobad296e0df68a420ae7fc501f3d059818f22cd8fd
1 /*
2 pr83477.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 int yf = 0;
9 void
10 pl (int q5, int nd)
12 unsigned int hp = q5;
13 int zx = (q5 == 0) ? hp : (hp / q5);
15 yf = ((nd < 2) * zx != 0) ? nd : 0;
18 void
19 testTortureExecute (void)
21 pl (1, !yf);
22 if (yf != 1)
23 ASSERT (0);
25 return;