]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite_allocator.h (check_deallocate_null): Return true.
authorChris Jefferson <chris@bubblescope.net>
Wed, 28 Dec 2005 11:47:56 +0000 (11:47 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 28 Dec 2005 11:47:56 +0000 (11:47 +0000)
2005-12-28  Chris Jefferson  <chris@bubblescope.net>

* testsuite/testsuite_allocator.h (check_deallocate_null): Return true.

From-SVN: r109104

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/testsuite_allocator.h

index b5a754bd70390c9887cdfe03d9d76193c9cd2b0e..7b5e58c31a30bbcfef1e9fc6a1153581824c9647 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-28  Chris Jefferson  <chris@bubblescope.net>
+
+       * testsuite/testsuite_allocator.h (check_deallocate_null): Return true.
+
 2005-12-28  Paolo Carlini  <pcarlini@suse.de>
 
        * include/std/std_bitset.h (bitset<>::_M_copy_from_string,
index 3beb29d32b4aafedc69adff4f747dd8cccb3aecc..170c4db45c9cb49f877084509c7e26bb1bb9071f 100644 (file)
@@ -201,13 +201,14 @@ namespace __gnu_test
     }
 
   template<typename Alloc>
-    void 
+    bool
     check_deallocate_null()
     {
       // Let's not core here...
       Alloc  a;
       a.deallocate(NULL, 1);
       a.deallocate(NULL, 10);
+      return true;
     }
 
   template<typename Alloc>