summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc
index 1b6cf0cf332..145e4eb3ec6 100644
--- a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc
@@ -43,14 +43,14 @@ public:
protected:
int_type
- overflow(int_type c = traits_type::eof())
+ overflow(int_type c __attribute__((unused)) = traits_type::eof())
{ return traits_type::not_eof(0); }
};
void
test07()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
testbuf ob;
std::ostream out(&ob);