]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/3955.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_stringbuf / str / char / 3955.cc
index d43fd89345a72d9c56dc4a91de7a3d0b8b2c3dd4..82e613d504dfc28f9bfcd6d43322f27c336a2f6e 100644 (file)
@@ -25,7 +25,7 @@
 // libstdc++/3955 -- ios_base::app overwrites from the beginning
 void test05()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   std::ostringstream os ("foo");
   os << "bar";