]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / map / operators / 1_neg.cc
index 75b604c80c24dbb86a86250d71e1f047714dea6f..f105f9b91a5733db9e04de63a4fef2fe13e31c85 100644 (file)
@@ -28,7 +28,7 @@
 // libstdc++/86: map & set iterator comparisons are not type-safe
 void test01()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   std::map<unsigned int, int> mapByIndex;
   std::map<std::string, unsigned> mapByName;