Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20021120-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR c/8518 */ /* Contributed by Volker Reichelt. */ /* Verify that GCC doesn't get confused by the redefinition of an extern inline function. */ /* { dg-options "-fgnu89-inline" } */ extern int inline foo () { return 0; } extern int inline bar () { return 0; } static int inline bar () { return foo(); }