1 /* 2 20000314-2.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 typedef unsigned long long uint64; 12 const uint64 bigconst = 1ULL << 34; 13 14 int a = 1; 15 16 static getmask(void)17uint64 getmask(void) 18 { 19 if (a) 20 return bigconst; 21 else 22 return 0; 23 } 24 25 void testTortureExecute(void)26testTortureExecute (void) 27 { 28 uint64 f = getmask(); 29 if (sizeof (long long) == 8 30 && f != bigconst) ASSERT (0); 31 return; 32 } 33 34