summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-11 13:47:24 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-11 13:47:24 +0000
commitb2dd1969494803f5e16e553d41cc774c527114a7 (patch)
tree6ca2e584e21c3cac9659d13da8d8fb17caa6b27a /libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn
parent4bd6f2c53182d36147e668ac780fe985cfc046c7 (diff)
downloadgcc-b2dd1969494803f5e16e553d41cc774c527114a7.tar.gz
2004-08-11 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test variable. * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk. * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto. * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/1.cc5
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc3
2 files changed, 1 insertions, 7 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/1.cc
index 801ae7f44bd..23948934ff0 100644
--- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/1.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/1.cc
@@ -1,6 +1,6 @@
// 981208 bkoz test functionality of basic_stringbuf for char_type == char
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -34,12 +34,9 @@ void test04()
{
bool test __attribute__((unused)) = true;
std::string str_tmp;
- std::stringbuf strb_tmp;
std::streamsize strmsz_1, strmsz_2;
typedef std::stringbuf::int_type int_type;
typedef std::stringbuf::traits_type traits_type;
- typedef std::stringbuf::pos_type pos_type;
- typedef std::stringbuf::off_type off_type;
// PUT
strb_03.str(str_01); //reset
diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc
index 450c2e70c98..e8ec016b511 100644
--- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc
@@ -34,12 +34,9 @@ void test04()
{
bool test __attribute__((unused)) = true;
std::wstring str_tmp;
- std::wstringbuf strb_tmp;
std::streamsize strmsz_1, strmsz_2;
typedef std::wstringbuf::int_type int_type;
typedef std::wstringbuf::traits_type traits_type;
- typedef std::wstringbuf::pos_type pos_type;
- typedef std::wstringbuf::off_type off_type;
// PUT
strb_03.str(str_01); //reset