struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-vrp-1.c
blob3e3b384fc49d733b02ec6d296f5ebeb3f4cf419f
1 /*
2 vrp-1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 int f (int a) {
8 if (a != 2) {
9 a = -a;
10 if (a == 2)
11 return 0;
12 return 1;
14 return 1;
17 void
18 testTortureExecute (void) {
19 if (f (-2))
20 ASSERT (0);
21 return;