struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-pr65418-2.c
blobd19476c5b6087c1cce8ca1946ff5db294e2549f8
1 /*
2 pr65418-w.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 /* PR tree-optimization/65418 */
9 int
10 foo (int x)
12 if (x == -216 || x == -211 || x == -218 || x == -205 || x == -223)
13 return 1;
14 return 0;
17 void
18 testTortureExecute (void)
20 volatile int i;
21 for (i = -230; i < -200; i++)
22 if (foo (i) != (i == -216 || i == -211 || i == -218 || i == -205 || i == -223))
23 ASSERT (0);
24 return;