]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_ostream / inserters_arithmetic / char / 9555-oa.cc
index caf716061d9cbc7cba98a9f47930ab08655ddd90..a63710d695652490aa527c2947625e65f9e7fbe2 100644 (file)
@@ -38,7 +38,7 @@ struct buf: std::streambuf
 template<typename T>
 void testthrow(T arg)
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   buf b;
   std::ostream os(&b);
   os.exceptions(std::ios::badbit);