aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/backward
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2002-07-25 00:04:37 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2002-07-25 00:04:37 +0000
commit9a56333e555ee0001d568b3d1c91bee2ad825578 (patch)
treee552ad160f5bd3db5682adcb4388991fc56dd854 /libstdc++-v3/testsuite/backward
parent8d1b7ba13bbe16749456b30cd8d8cf297cf9e41e (diff)
downloadgcc-9a56333e555ee0001d568b3d1c91bee2ad825578.zip
gcc-9a56333e555ee0001d568b3d1c91bee2ad825578.tar.gz
gcc-9a56333e555ee0001d568b3d1c91bee2ad825578.tar.bz2
re PR libstdc++/7230 (<strstream> header file is missing (trunk))
2002-07-24 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/7230 * config/linker-map.gnu: Revert strstream patch from 2002-07-01. * include/Makefile.am (backward_headers): Use strstream, not strstream.h. * include/Makefile.in: Regenerate. * include/backward/strstream: Revert. * include/backward/strstream.h: Remove. * src/strstream.cc: Revert. * testsuite/backward/strstream_members.cc: Change include. From-SVN: r55730
Diffstat (limited to 'libstdc++-v3/testsuite/backward')
-rw-r--r--libstdc++-v3/testsuite/backward/strstream_members.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/backward/strstream_members.cc b/libstdc++-v3/testsuite/backward/strstream_members.cc
index 494008e..f8ae7d3 100644
--- a/libstdc++-v3/testsuite/backward/strstream_members.cc
+++ b/libstdc++-v3/testsuite/backward/strstream_members.cc
@@ -18,14 +18,14 @@
// backward strstream members
-#include <strstream.h>
+#include <strstream>
#include <testsuite_hooks.h>
// { dg-options "-Wno-deprecated" }
int test01()
{
- strstream s;
+ std::strstream s;
for (unsigned i=0 ; i!= 1000 ; ++i)
s << i << std::endl;
s << std::ends;