1 /* 2 921123-1.c from the execute part of the gcc torture suite. 3 */ 4 5 #include <testfwk.h> 6 7 #ifdef __SDCC 8 #pragma std_c99 9 #endif 10 f(short * p)11f(short *p) 12 { 13 short x = *p; 14 return (--x < 0); 15 } 16 17 void testTortureExecute(void)18testTortureExecute (void) 19 { 20 short x = -10; 21 if (!f(&x)) 22 ASSERT(0); 23 return; 24 } 25 26