]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / underflow / wchar_t / 11389-2.cc
index 1717f2a5aeb7d6e144995cddc1d786340686dd88..3917ca5a84627d2dd434c3fe1e2de974ace5ddf1 100644 (file)
@@ -26,7 +26,7 @@ const char name_02[] = "tmp_11389-2";
 void test02()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   filebuf fbout;
   fbout.open(name_02, ios_base::out);