aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20021120-2.c
blob: 51f0e257dfdd1971fd3e2d7517eaa3b50a1a2122 (plain)
1
2
3
4
5
6
7
8
9
/* PR c/8518 */
/* Contributed by Volker Reichelt. */

/* Verify that GCC doesn't get confused by the
   redefinition of an extern inline function. */

extern int inline foo () { return 0; }
extern int inline bar () { return 0; }
static int bar () { return foo(); }