summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20021120-1.c
blob: 423f8ec1964b3a4fc0723bac61256f6d8dfad47f (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 inline bar () { return foo(); }