1// { dg-do assemble  }
2// Since the constructor is in streambuf.h, additional diagnostics are
3// produced, which are not really supported in the old-deja framework
4
5#include <sstream>
6
7void
8t( char* buf )
9{
10  std::istrstream str = buf;  //{ dg-error "" } inaccessible copy constructor
11}
12
13