* gcc.c-torture/compile/20000120-2.c: Use -fgnu89-inline.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20021120-1.c
blob3dc49287f1a23ce9635d2dbad47519b787b7fa64
1 /* PR c/8518 */
2 /* Contributed by Volker Reichelt. */
4 /* Verify that GCC doesn't get confused by the
5 redefinition of an extern inline function. */
7 /* { dg-options "-fgnu89-inline" } */
9 extern int inline foo () { return 0; }
10 extern int inline bar () { return 0; }
11 static int inline bar () { return foo(); }