]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/objects/wchar_t/1.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / objects / wchar_t / 1.cc
index c766cd6fa5b990a6b55b3272a836fe7a7f97aa62..61b654833ab9b6db5f7fec7a1b55e015bae9e453 100644 (file)
@@ -78,7 +78,7 @@
 void
 test01()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   wchar_t array2[20];
   typedef std::wios::traits_type wtraits_type;