diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2001-11-15 12:47:40 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-11-15 12:47:40 -0500 |
commit | 22f86c323f068216531f990631854d97a23fe3a5 (patch) | |
tree | 7f0d0da52cc83019c74a7ee959668539c6c0f2a0 /gcc/testsuite | |
parent | 3b1a413282c137b768866521d9acdc2c2dd335ac (diff) | |
download | gcc-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.C | 4 |
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(); } |