]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/deque/operators/1.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / deque / operators / 1.cc
index 5463b47f1cb119c9a80d4e90f8a866594c180144..4b7aac9ab601ec33b4f7cac86ddfd33000f8a0af 100644 (file)
@@ -26,7 +26,7 @@
 // libstdc++/6503
 void test01()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   std::deque<int> d(2);       
   typedef std::deque<int>::iterator iter;         
@@ -59,7 +59,7 @@ void test01()
 // libstdc++/7186
 void test02()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   std::deque<int> d(2);       
   typedef std::deque<int>::iterator iter;