]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string/find/wchar_t/2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string / find / wchar_t / 2.cc
index 4635dac126728c3f9af9946f59a991cfa6820d6a..a0f0466e105bdaedff9330c3ef1a8d2d519a3e8a 100644 (file)
@@ -25,7 +25,7 @@
 
 bool test02(void)
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   typedef std::wstring::size_type csize_type;
   csize_type npos = std::wstring::npos;
   csize_type csz01, csz02;