eb55

Martin von Loewis martin@mira.isdn.cs.tu-berlin.de
Tue Jun 2 01:15:00 GMT 1998


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
  }
  



More information about the Gcc-patches mailing list