2 p18298.c from the execute part of the gcc torture tests.
7 /* { dg-options "-fgnu89-inline" } */
12 #if !(defined(__SDCC_mcs51) && (defined(__SDCC_MODEL_SMALL) || defined(__SDCC_MODEL_MEDIUM))) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) && !defined(__SDCC_pic14) // Lack of memory
13 extern bool foo(const char *str
); // extern declaration required by C standard, not present in GCC original, added to pass hosts regression tests everywhere.
15 int strcmp (const char*, const char*);
17 inline bool foo(const char *str
) {
18 return !strcmp(s
,str
);
22 testTortureExecute (void) {
23 #if !(defined(__SDCC_mcs51) && (defined(__SDCC_MODEL_SMALL) || defined(__SDCC_MODEL_MEDIUM))) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) && !defined(__SDCC_pic14) // Lack of memory