misc13.C: Put `strlen' in `std' namespace.

* g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
	namespace.

From-SVN: r37260
This commit is contained in:
Mark Mitchell 2000-11-04 20:29:16 +00:00 committed by Mark Mitchell
parent 247a2b0ab5
commit bfd2cff7a6
2 changed files with 5 additions and 0 deletions

View 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.

View 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.*
}
}