2 980707-1.c from the execute part of the gcc torture suite.
9 #pragma disable_warning 85
16 buildargv (char *input
)
18 #if !defined(__SDCC_mcs51) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Use shorter array for low-memory devices.
19 static char *arglist
[256];
21 static char *arglist
[8];
31 arglist
[numargs
++] = input
;
32 while (*input
!= ' ' && *input
!= 0)
38 arglist
[numargs
] = NULL
;
43 testTortureExecute (void)
46 #if !defined(__SDCC_mcs51) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Use shorter array for low-memory devices.
53 strcpy(input
, " a b");
54 args
= buildargv(input
);
56 if (strcmp (args
[0], "a"))
58 if (strcmp (args
[1], "b"))