summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/930111-1.c
blob: 28574191d13994abd5d304b316978f3f6829e427 (plain)
1
2
3
4
5
6
7
8
9
10
/* 2.3.3 crashes on 386 with -traditional */
f(a)
     char *a;
{
  int d = strcmp(a,"-");

  while (vfork() < 0)
    ;
  return d;
}