modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/960218-1.c (about)

     1  int glob;
     2  
     3  g (x)
     4  {
     5    glob = x;
     6    return 0;
     7  }
     8  
     9  f (x)
    10  {
    11    int a = ~x;
    12    while (a)
    13      a = g (a);
    14  }
    15  
    16  main ()
    17  {
    18    f (3);
    19    if (glob != -4)
    20      abort ();
    21    exit (0);
    22  }