20021120-1.c: New test.
* gcc.c-torture/compile/20021120-1.c: New test. * gcc.c-torture/compile/20021120-2.c: New test. From-SVN: r59303
This commit is contained in:
parent
02a362d982
commit
6d1d1db044
3 changed files with 23 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
* gcc.c-torture/compile/20021120-1.c: New test.
|
||||
* gcc.c-torture/compile/20021120-2.c: New test.
|
||||
|
||||
2002-11-20 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* gcc.dg/bitfld-5.c: New test.
|
||||
|
|
9
gcc/testsuite/gcc.c-torture/compile/20021120-1.c
Normal file
9
gcc/testsuite/gcc.c-torture/compile/20021120-1.c
Normal file
|
@ -0,0 +1,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(); }
|
9
gcc/testsuite/gcc.c-torture/compile/20021120-2.c
Normal file
9
gcc/testsuite/gcc.c-torture/compile/20021120-2.c
Normal file
|
@ -0,0 +1,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(); }
|
Loading…
Add table
Reference in a new issue