1 /* 2 pr61517.c from the execute part of the gcc torture tests. 3 */ 4 5 #include <testfwk.h> 6 7 #ifdef __SDCC 8 #pragma std_c99 9 #endif 10 11 int a, b, *c = &a; 12 unsigned short d; 13 14 void testTortureExecute(void)15testTortureExecute (void) 16 { 17 unsigned int e = a; 18 *c = 1; 19 if (!b) 20 { 21 d = e; 22 *c = d | e; 23 } 24 25 if (a != 0) 26 ASSERT (0); 27 } 28