struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-vrp-4.c
blob2b2ff075cf8fa3cdde1997f05aca312d330d3e9b
1 /*
2 vrp-4.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 void test(int x, int y)
9 int c;
11 if (x == 1) ASSERT(0);
12 if (y == 1) ASSERT(0);
14 c = x / y;
16 if (c != 1) ASSERT(0);
19 void
20 testTortureExecute (void)
22 test(2, 2);
23 return;