aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/990625-1.c
blob: 97a2331c7a5dc0f913c9b19f25a0a9ce60d001f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#define __USE_STRING_INLINES
#include <string.h>

void test()
{
        char *p, *a;
        const char *s;

        while ( (s = a) )
          p = strcpy(strcpy(p,"/"), s);
}