1 /* 2 921019-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 11 void *foo[]={(void *)&("X"[0])}; 12 13 void testTortureExecute(void)14testTortureExecute (void) 15 { 16 if (((char*)foo[0])[0] != 'X') 17 ASSERT (0); 18 return; 19 } 20 21