This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
eb55
- To: egcs-patches at cygnus dot com
- Subject: eb55
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Tue, 2 Jun 1998 10:13:08 +0200
This code is in error. Unfortunately, the error is reported in streambuf.h,
so I can't check for it. Instead, I expect excess errors.
Martin
Index: eb55.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb55.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb55.C
*** eb55.C 1998/05/27 23:00:36 1.1
--- eb55.C 1998/06/02 08:02:33
***************
*** 1,9 ****
// Build don't link:
#include <strstream.h>
void
t( char* buf )
{
! istrstream str = buf;
}
--- 1,10 ----
// Build don't link:
+ // excess errors test - error in streambuf.h XFAIL *-*-*
#include <strstream.h>
void
t( char* buf )
{
! istrstream str = buf; //ERROR - inaccessible copy constructor
}