2005-12-28 Chris Jefferson <chris@bubblescope.net>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Dec 2005 11:47:56 +0000 (11:47 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Dec 2005 11:47:56 +0000 (11:47 +0000)
* testsuite/testsuite_allocator.h (check_deallocate_null): Return true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109104 138bc75d-0d04-0410-961f-82ee72b054a4

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

index b5a754b..7b5e58c 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 3beb29d..170c4db 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>