* g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
standards-conformant.
From-SVN: r37259
2000-11-04 Mark Mitchell <mark@codesourcery.com>
+ * g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
+ standards-conformant.
+
* g++.old-deja/g++.mike/net5.C: Put `abort' in `std' namespace.
* g++.old-deja/g++.mike/p755.C: Tweak handling of exit.
// with the copy of __IO_putc in the libstdc++ library built by egcs.
#include <iostream.h>
#include <streambuf.h>
+#include <stdio.h>
-istream x;
-extern "C" int putc(), fgets();
+istream x (0);
main () {
x.get();
- putc();
- fgets();
- x.gets(0, 0);
+ putc(0, 0);
+ fgets(0, 0, 0);
+ x.get((char*) 0, 0);
}