diff options
author | Franz Sirl <sirl@gcc.gnu.org> | 2000-06-26 23:11:54 +0000 |
---|---|---|
committer | Franz Sirl <sirl@gcc.gnu.org> | 2000-06-26 23:11:54 +0000 |
commit | ec611c173f6d46f47efca1529a3ef10a96de7199 (patch) | |
tree | d7b7237772050d5316da5c34fa918e410cb18fad /gcc | |
parent | a7180f707a9154ba5c40caa8d5b805f7848dadd6 (diff) | |
download | gcc-ec611c173f6d46f47efca1529a3ef10a96de7199.zip gcc-ec611c173f6d46f47efca1529a3ef10a96de7199.tar.gz gcc-ec611c173f6d46f47efca1529a3ef10a96de7199.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/980523-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/980827-1.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/980523-1.c b/gcc/testsuite/gcc.dg/980523-1.c index 6265a73..71f416e 100644 --- a/gcc/testsuite/gcc.dg/980523-1.c +++ b/gcc/testsuite/gcc.dg/980523-1.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/980827-1.c b/gcc/testsuite/gcc.dg/980827-1.c index 0de02cc..84ba5ee 100644 --- a/gcc/testsuite/gcc.dg/980827-1.c +++ b/gcc/testsuite/gcc.dg/980827-1.c @@ -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); |