* g++.old-deja/g++.law/weak1.C: New test.

From-SVN: r25520
This commit is contained in:
Jeffrey A Law 1999-03-01 22:30:22 +00:00 committed by Jeff Law
parent 813861ff57
commit d3aca1d612
2 changed files with 24 additions and 0 deletions

View File

@ -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 <zack@rabi.columbia.edu>
* gcc.c-torture/execute/990119-1.c: Renamed to...

View File

@ -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 <iostream.h>
#include <streambuf.h>
istream x;
extern "C" int putc(), fgets();
main () {
x.get();
putc();
fgets();
x.gets(0, 0);
}