Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr67821.c

raw
1 /* { dg-do compile } */
2
3 int isdigit (int);
4
5 int
6 foo (const char *s)
7 {
8 int success = 1;
9 const char *p = s + 2;
10 if (!isdigit (*p))
11 success = 0;
12 while (isdigit (*p))
13 ++p;
14 return success;
15 }