aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/930111-1.c
blob: 5661cdf32196fe95cef110c33d836d00f796541b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-additional-options "-std=gnu89" } */

/* 2.3.3 crashes on 386 with -traditional */
f(a)
     char *a;
{
  int d = strcmp(a,"-");

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