]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/codecvt/encoding/wchar_t/4.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / codecvt / encoding / wchar_t / 4.cc
index 68972e7ab325aab58a207dc208a8eb92ae7f8a52..d996797a8beac738c2477b19f27fc1dc87f59965 100644 (file)
@@ -31,7 +31,7 @@ void test04()
 {
   using namespace std;
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
-  bool                         test = true;
+  bool test __attribute__((unused)) = true;
 
   locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
   locale::global(loc);