Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20021120-1.c

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