blob: c1e2400ed9a32feb3334c84bd7d07d820a4f3a06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { dg-do assemble }
// 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; //{ dg-error "" } inaccessible copy constructor
}
|