OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 23_containers / bitset / cons / 1.cc
index 5d5064d..9c802d3 100644 (file)
 
 bool test01(void)
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   // bitset()
   const size_t n1 = 5;
   std::bitset<n1> bit01;
-  for (int i = 0; i < n1; ++i)
+  for (size_t i = 0; i < n1; ++i)
     VERIFY( !bit01.test(i) );
 
   // bitset(unsigned long)