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:
Eric Botcazou 2002-11-20 10:50:29 +00:00 committed by Eric Botcazou
parent 02a362d982
commit 6d1d1db044
3 changed files with 23 additions and 0 deletions

View file

@ -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.

View 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(); }

View 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(); }