aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_ostringstream/3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_ostringstream/3.cc')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostringstream/3.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/3.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/3.cc
index f7e96885ea3..8593d6e6f60 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/3.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/3.cc
@@ -59,7 +59,7 @@ struct gnu_char_traits
typedef gnu_char_type char_type;
typedef long int_type;
typedef long pos_type;
- typedef unsigned long off_type;
+ typedef long off_type;
typedef long state_type;
static void
@@ -117,7 +117,7 @@ struct gnu_char_traits
void test07()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
typedef std::basic_ostringstream<gnu_char_type, gnu_char_traits> gnu_osstr;
try