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 foo()9extern int inline foo () { return 0; } bar()10extern int inline bar () { return 0; } bar()11static int bar () { return foo(); } 12