Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20001009-1.c
blob7afefc594fe74e146fbf0e7fe6406a7804fadcf2
1 /*
2 20001009-1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
11 int a,b;
13 void
14 testTortureExecute (void)
16 int c=-2;
17 int d=0xfe;
18 int e=a&1;
19 int f=b&2;
20 if ((char)(c|(e&f)) == (char)d)
21 return;
22 else
23 ASSERT (0);