2 20010409-1.c from the execute part of the gcc torture tests.
9 #pragma disable_warning 85
12 #if !defined(__SDCC_pic14) // Unimplemented setjmp
16 #ifndef __SDCC_pdk14 // Lack of memory
32 void foo (A
*x
, const char *y
, int z
)
37 A
*bar (const char *v
, int w
, int x
, const char *y
, int z
)
44 void test (const char *x
, int *y
)
46 foo (d
->a
[d
->b
], "test", 200);
47 d
->a
[d
->b
] = bar (x
, b
? 0 : 65536, strlen (x
), "test", 201);
56 testTortureExecute (void)
58 #ifndef __SDCC_pdk14 // Lack of memory
59 #if !defined(__SDCC_pic14) // Unimplemented setjmp