2 20010915-1.c from the execute part of the gcc torture tests.
9 #pragma disable_warning 85
14 /* Bug in reorg.c, deleting the "++" in the last loop in main.
15 Origin: <hp@axis.com>. */
18 extern int x (int, const char **);
19 extern int r (const char *);
20 extern char *s (const char *, const char **);
21 extern char *m (const char *);
28 testTortureExecute (void)
30 #ifndef __SDCC_pdk14 // Lack of memory - see RFE #610
31 const char *args
[] = {"a", "b", "c", "d", "e"};
32 if (x (5, args
) != 0 || check
!= 2 || o
!= 5)
38 #ifndef __SDCC_pdk14 // Lack of memory - see RFE #610
39 int x (int argc
, const char **argv
)
45 if (argc
> o
&& argc
> 2 && argv
[o
])
69 char *m (const char *x
) { ASSERT (0); return 0;}
70 char *s (const char *v
, const char **pp
)
72 if (strcmp (v
, "a") != 0 || check
++ > 1)
80 static char c
[2] = "b";
83 if (*f
!= *c
|| f
[1] != c
[1] || cnt
> 3)