aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}