]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / codecvt / out / wchar_t / 2.cc
index ff413d5ac8aedbdfcbb52a2684640b9eef48bb04..cffff049c2841fc5afdb197bf15e048660986f15 100644 (file)
@@ -47,7 +47,7 @@ void test02()
   typedef char                                 ext_type;
   typedef char_traits<char>                    ext_traits;
 
-  bool                         test = true;
+  bool test __attribute__((unused)) = true;
   const ext_type*      e_lit =
     "\x1\x2\x3\x4\x5\x6\x7\x8\x9\xa\xb\xc\xd\xe\xf\x10\x11\x12\x13"
     "\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20!\"#$%&"