]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_ostringstream / str / char / 2.cc
index 310b298152b39079da6ff745619584dbf642ebf4..b9564ec9dc00f56a6a2c520ffe1c13fea34f2ced 100644 (file)
@@ -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") );