modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr40570.c (about)

     1  extern void anything(int);
     2  
     3  static int foo(int i);
     4  
     5  static int bar(int i) { foo(i); }
     6  
     7  extern int j;
     8  
     9  static int foo(int i)
    10  {
    11    if (j)
    12      anything(j);
    13    return bar(i);
    14  }
    15  
    16  int baz()
    17  {
    18    foo(0);
    19    if (baz())
    20      return 1;
    21    return 0;
    22  }