misc13.C: Put `strlen' in `std' namespace.
authorMark Mitchell <mark@codesourcery.com>
Sat, 4 Nov 2000 20:29:16 +0000 (20:29 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 4 Nov 2000 20:29:16 +0000 (20:29 +0000)
* g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
namespace.

From-SVN: r37260

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.brendan/misc13.C

index 81bc17abc6e0806a61b6a1cb4aee0885abe08ce3..1793aca6b1263659f6ef088f397773bba8e87852 100644 (file)
@@ -1,5 +1,8 @@
 2000-11-04  Mark Mitchell  <mark@codesourcery.com>
 
+       * g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
+       namespace.
+
        * g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
        standards-conformant.
 
index 57292a292cbc3010aab62c5deeec10c34db4780e..c2c8bc5601bf189841615cca6cf8b8119b222766 100644 (file)
@@ -3,7 +3,9 @@
 // This should only give warnings from duplicate_decls; it should not get
 // errors from push_overloaded_decl as well.
 
+namespace std {
 extern "C"
 {
   long unsigned int strlen(char*);// ERROR -  warning// ERROR -  warning.*
 }
+}