]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / close / char / 2.cc
index b0ebd5817c677fbb3f332e2be3cd1acaa890e87c..0657ed8218ce58ee4c80dc44f9236df707bb01a7 100644 (file)
@@ -42,7 +42,7 @@ const char name_02[] = "filebuf_virtuals-2.txt"; // empty file, need to create
 
 void test_02()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   int close_num;
 
   // read (ext)