1 /* 2 20001112-1.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 void testTortureExecute(void)12testTortureExecute (void) 13 { 14 // Some ports do not support long long yet. 15 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16) 16 long long i = 1; 17 18 i = i * 2 + 1; 19 20 if (i != 3) 21 ASSERT (0); 22 return; 23 #endif 24 } 25 26