aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb55.C
blob: 0ab10d5d424bb4eb6957274c5ca7882b4e38b778 (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

#include <sstream>

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