Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.c-torture / execute / builtins / lib / stpcpy.c
blobe6e1a6dae9cf4842c0ad8c7cb13e347ff85e57bd
1 extern void abort (void);
2 extern int inside_main;
4 char *
5 stpcpy (char *dst, const char *src)
7 #ifdef __OPTIMIZE__
8 if (inside_main)
9 abort ();
10 #endif
12 while (*src != 0)
13 *dst++ = *src++;
15 *dst = 0;
16 return dst;