summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-23 20:03:30 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-23 20:03:30 +0000
commitf8ef786cfd35341f4c3d1742375e22f829a0876f (patch)
tree743380001d2341c199e3740ca7296f1783cef17c /libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char
parent33020648811e6f8f2313712ecb0e7ba99e2653b7 (diff)
downloadgcc-f8ef786cfd35341f4c3d1742375e22f829a0876f.tar.gz
2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Tweak to avoid warnings. * testsuite/testsuite_hooks.h: Same. * testsuite/*/*.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/3.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc2
6 files changed, 6 insertions, 6 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc
index 3fa9e68fe56..00fef8ac37a 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc
@@ -39,7 +39,7 @@ void
test02()
{
typedef std::ios_base::iostate iostate;
- bool test = true;
+ bool test __attribute__((unused)) = true;
// basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type* __sb)
// filebuf-> NULL
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/3.cc
index 89dca57cd54..5f054fb8cd7 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/3.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/3.cc
@@ -31,7 +31,7 @@
void test04()
{
using namespace std;
- bool test = true;
+ bool test __attribute__((unused)) = true;
istringstream istr("inside betty carter");
ostringstream ostr;
ostr << istr.rdbuf() << endl;
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc
index 1ba200aaca7..949448e8372 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc
@@ -101,7 +101,7 @@ private:
void test(const std::string& str, std::streambuf& buf)
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
std::ostringstream out;
std::istream in(&buf);
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc
index fcacbcb6483..d495e01bf15 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc
@@ -56,7 +56,7 @@ private:
void test10()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
std::stringbuf sbuf("Bad Moon Rising", std::ios::in);
Outbuf buf;
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc
index 61ec1a71eaf..5824caa7dd1 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc
@@ -96,7 +96,7 @@ const char Inbuf_2::buf[] = "Atteivlis";
void test12()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
Outbuf_2 outbuf2;
std::ostream os (&outbuf2);
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc
index 42ad89cbd1d..6b02aeb1903 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc
@@ -38,7 +38,7 @@ struct buf: std::streambuf
template<typename T>
void testthrow(T arg)
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
buf b;
std::ostream os(&b);
os.exceptions(std::ios::badbit);