RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20021120-2.c
blobcd9eda0e55dfa950054ae06eb97bd046fe9582a6
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 bar () { return foo(); }