summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/950910-1.c
blob: 1be2aa55e681a8dc0d9d8372657fe5646b46d643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
f (char *p)
{
  char c;

  c = *++p;
  if (c != ' ')
    return 0;
  for (;;)
    {
      c = *p;
      if (g (c))
	p++;
      else
	{
	  if (c == ' ')
	    break;
	  else
	    return 0;
	}
    }
  return 1;
}