Commit ec611c17 by Franz Sirl

980523-1.c: Add prototype for exit().

	2000-06-26  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
	* gcc.dg/980523-1.c: Add prototype for exit().
	* gcc.dg/980827-1.c: Add prototype for exit() and abort().

From-SVN: r34722
parent a7180f70
/* { dg-do run { target rs6000-*-linux* powerpc-*-linux*} } */
/* { dg-options "-O2 -fpic" } */
extern void exit (int);
void foo1(int a, char *b, int c)
{
c =a+c+234;
......
/* { dg-do run { target rs6000-*-linux* powerpc-*-linux*} } */
/* { dg-options -O2 } */
extern void exit (int);
extern void abort (void);
double dval = 0;
void splat (double d);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment