]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/moneypunct/members/wchar_t/1.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / moneypunct / members / wchar_t / 1.cc
index 7f0d017bf1d3ff50fdd8edc822d2657aaa4c1ff8..2d26611c6465557abd61d3d888d71956bc35f500 100644 (file)
@@ -30,7 +30,7 @@ void test01()
   typedef money_base::part part;
   typedef money_base::pattern pattern;
 
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   // basic construction
   locale loc_c = locale::classic();