]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_istream / extractors_arithmetic / char / 02.cc
index 94136d2e1687cee648e3467c2d53e440636e1b63..7a5e44502618c39b50396bd1c18231ede5f5c262 100644 (file)
@@ -46,7 +46,7 @@ std::stringstream ss_01(str_01);
 // elaborated test for ints
 bool test02() {
 
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   const std::string str_01("20000AB");
   std::stringbuf strb_01(str_01, std::ios_base::in);
   std::istream is(&strb_01);