summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc
index 310b298152b..b9564ec9dc0 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc
@@ -33,7 +33,7 @@ public:
void
test04()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
derived_oss yy;
yy << "buena vista social club\n";
VERIFY( yy.str() == std::string("buena vista social club\n") );