diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4c912a0ebc2..6b1e205d21b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 1 23:29:14 1999 Jeffrey A Law (law@cygnus.com) + + * g++.old-deja/g++.law/weak1.C: New test. + 1999-02-28 17:59 -0500 Zack Weinberg * gcc.c-torture/execute/990119-1.c: Renamed to... diff --git a/gcc/testsuite/g++.old-deja/g++.law/weak.C b/gcc/testsuite/g++.old-deja/g++.law/weak.C new file mode 100644 index 00000000000..98465acf9b5 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.law/weak.C @@ -0,0 +1,20 @@ +// Bug: g++ fails to instantiate operator<<. +// Build don't run: +// Special g++ Options: -static +// Skip if not target: i?86-*-linux* + +// libc-5.4.xx has __IO_putc in its static C library, which can conflict +// with the copy of __IO_putc in the libstdc++ library built by egcs. +#include +#include + +istream x; +extern "C" int putc(), fgets(); + +main () { + x.get(); + putc(); + fgets(); + x.gets(0, 0); +} +