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
This commit is contained in:
parent
a7180f707a
commit
ec611c173f
2 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
/* { 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;
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
/* { 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);
|
||||
|
|
Loading…
Add table
Reference in a new issue