]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/5.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / money_put / put / wchar_t / 5.cc
index aa5a18c93d9071b849fe4ebc8a9d849f26b49465..40b4092eb5fb149207edcf5517552d68df8c2794 100644 (file)
@@ -45,7 +45,7 @@ struct My_money_io : public std::moneypunct<wchar_t,false>
 void test05()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   typedef ostreambuf_iterator<wchar_t> OutIt;
 
   locale loc(locale::classic(), new My_money_io);