aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2001-11-15 12:47:40 -0500
committerJason Merrill <jason@gcc.gnu.org>2001-11-15 12:47:40 -0500
commit22f86c323f068216531f990631854d97a23fe3a5 (patch)
tree7f0d0da52cc83019c74a7ee959668539c6c0f2a0 /gcc/testsuite
parent3b1a413282c137b768866521d9acdc2c2dd335ac (diff)
downloadgcc-22f86c323f068216531f990631854d97a23fe3a5.zip
gcc-22f86c323f068216531f990631854d97a23fe3a5.tar.gz
gcc-22f86c323f068216531f990631854d97a23fe3a5.tar.bz2
avoid includes
From-SVN: r47064
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/null2.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/null2.C b/gcc/testsuite/g++.old-deja/g++.other/null2.C
index 9dc5b13..d7d2c8f2 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/null2.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/null2.C
@@ -1,6 +1,6 @@
// Based on a testcase by Eric Dumazet <Eric.Dumazet@COSMOSBAY.COM>
-#include <cstdlib>
+extern "C" void abort ();
const char * const foo = ""; // foo is not NULL
@@ -8,5 +8,5 @@ int main() {
if ((foo == 0) ? 0 : foo) // so this should evaluate to `foo'
return 0;
else
- std::abort();
+ abort();
}