]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_istream / extractors_other / char / 2.cc
index 3492a1e11588c08a75225747a6972a36c91794d0..2fd1cd03bc4e7aa18b69b46afdd4a05f9c23bb81 100644 (file)
@@ -30,7 +30,7 @@
 // filebufs.
 void test02() 
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   typedef std::ios::traits_type ctraits_type;
   const char name_01[] = "istream_extractor_other-1.txt"; //read 
   const char name_02[] = "istream_extractor_other-2.txt"; //write