]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/collate/hash/wchar_t/1.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / collate / hash / wchar_t / 1.cc
index 73f8da142ca992b3e72de0fe96f099b4a482fcd2..fad5848e46defba08028285d708fc73f54ccc700 100644 (file)
@@ -28,7 +28,7 @@ void test01()
 {
   using namespace std;
   typedef std::collate<wchar_t>::string_type string_type;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   string_type str1(L"fffff");
   string_type str2(L"ffffffffffff");