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