Commit 247a2b0a by Mark Mitchell Committed by Mark Mitchell

weak.C: Fix uses of iostreams to be standards-conformant.

	* g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
	standards-conformant.

From-SVN: r37259
parent bb77c16c
2000-11-04 Mark Mitchell <mark@codesourcery.com> 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/net5.C: Put `abort' in `std' namespace.
* g++.old-deja/g++.mike/p755.C: Tweak handling of exit. * g++.old-deja/g++.mike/p755.C: Tweak handling of exit.
......
...@@ -7,14 +7,14 @@ ...@@ -7,14 +7,14 @@
// with the copy of __IO_putc in the libstdc++ library built by egcs. // with the copy of __IO_putc in the libstdc++ library built by egcs.
#include <iostream.h> #include <iostream.h>
#include <streambuf.h> #include <streambuf.h>
#include <stdio.h>
istream x; istream x (0);
extern "C" int putc(), fgets();
main () { main () {
x.get(); x.get();
putc(); putc(0, 0);
fgets(); fgets(0, 0, 0);
x.gets(0, 0); x.get((char*) 0, 0);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment