* g++.old-deja/g++.mike/net5.C: Put `abort' in `std' namespace.
authorMark Mitchell <mark@codesourcery.com>
Sat, 4 Nov 2000 20:08:18 +0000 (20:08 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 4 Nov 2000 20:08:18 +0000 (20:08 +0000)
From-SVN: r37258

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.mike/net5.C

index 8a6c412..00fbba6 100644 (file)
@@ -1,5 +1,7 @@
 2000-11-04  Mark Mitchell  <mark@codesourcery.com>
 
+       * g++.old-deja/g++.mike/net5.C: Put `abort' in `std' namespace.
+
        * g++.old-deja/g++.mike/p755.C: Tweak handling of exit.
        * g++.old-deja/g++.mike/p755a.C: Likewise.
        * g++.old-deja/g++.mike/p9706.C: Don't assume that the standard
index 064c73c..665c0ba 100644 (file)
@@ -1,7 +1,10 @@
 // Build don't link:
 // Special g++ Options:
 
+namespace std {
 volatile void abort();         // WARNING - mismatch
+}
+
 volatile void oink() {
-  abort() ;
+  std::abort() ;
 }                              // gets bogus error -