]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/ctype/is/wchar_t/2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / ctype / is / wchar_t / 2.cc
index c9eb1e0b2a48f4433c2bd201f800530f4c22acfd..df028783f85be1613bdaa5653818570d80d22019 100644 (file)
@@ -41,7 +41,7 @@ void test02()
   typedef ctype_base::mask     mask;
   typedef vector<mask>                 vector_type;
 
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   //  const int max = numeric_limits<char>::max();
   const int max = 255;