Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.dg / torture / pr54520.c
1 /* { dg-do compile } */
2
3 char *a;
4 void
5 fn1 ()
6 {
7   char *p = a;
8   while (p && *p != '\0')
9     {
10       while (*p == '\t')
11         *p++ = '\0';
12       if (*p != '\0')
13         p = 0;
14     }
15 }