]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_istream / extractors_arithmetic / char / 03.cc
index 65306c4d6e349a7fdf7f2b101652848bb5a7921b..9b467d3748783b878154b6f7cc43446943f8084e 100644 (file)
@@ -49,7 +49,7 @@ bool test03()
   std::istream istr(&sbuf);
   std::ostream ostr(&sbuf);
 
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   long l01;
   ostr <<  "12220101";
   istr >>  l01; // _M_in_end set completely incorrectly here.