]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/ctype/widen/wchar_t/3.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / ctype / widen / wchar_t / 3.cc
index d9b32b0a6cb6942ce797005a4b1c008d1d21bfaf..8d6f1f3c7ae78ffdeb93d4c39e2e0d0d8875b612 100644 (file)
@@ -36,7 +36,7 @@
 void test03()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
   const ctype<wchar_t>& wct = use_facet<ctype<wchar_t> >(loc);