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

     1  /* PR c/8518 */
     2  /* Contributed by Volker Reichelt. */
     3  
     4  /* Verify that GCC doesn't get confused by the
     5     redefinition of an extern inline function. */
     6  
     7  /* { dg-options "-fgnu89-inline" } */
     8  
     9  extern int inline foo () { return 0; }
    10  extern int inline bar () { return 0; }
    11  static int inline bar () { return foo(); }