2 20021015-1.c from the execute part of the gcc torture suite.
11 #pragma disable_warning 85
15 char g_list
[] = { '1' };
17 void g (void *p
, char *list
, int length
, char **elementPtr
, char **nextPtr
)
19 if (*nextPtr
!= g_list
)
25 void testTortureExecute (void)
31 for (i
= 0; *list
!= 0; i
++)
33 char *prevList
= list
;
34 g (0, list
, length
, &element
, &list
);
35 length
-= (list
- prevList
);