2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20021219-1.c
blob2e658a5a8859ce7dbb5825580c09b3615877bde7
1 /* PR optimization/8988 */
2 /* Contributed by Kevin Easton */
4 void foo(char *p1, char **p2)
5 {}
7 int main(void)
9 char str[] = "foo { xx }";
10 char *ptr = str + 5;
12 foo(ptr, &ptr);
14 while (*ptr && (*ptr == 13 || *ptr == 32))
15 ptr++;
17 return 0;