aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb55.C
blob: 4ba4b54eff0f5c999f1097c4045aef4af7d73cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link: 
// Since the constructor is in streambuf.h, additional diagnostics are
// produced, which are not really supported in the old-deja framework
// excess errors test - XFAIL *-*-*
#include <strstream.h>

void
t( char* buf )
{
  istrstream str = buf;  //ERROR - inaccessible copy constructor
}