aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Jefferson <chris@bubblescope.net>2005-12-28 11:47:56 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2005-12-28 11:47:56 +0000
commit001a2a47e2f412e3fce740bd069f70edc3802300 (patch)
treeda238688d7692249b07102495f0fc8d0d99c597f
parente7c59a0e02560a05f2ef48922f25c54934752a7c (diff)
downloadgcc-001a2a47e2f412e3fce740bd069f70edc3802300.zip
gcc-001a2a47e2f412e3fce740bd069f70edc3802300.tar.gz
gcc-001a2a47e2f412e3fce740bd069f70edc3802300.tar.bz2
testsuite_allocator.h (check_deallocate_null): Return true.
2005-12-28 Chris Jefferson <chris@bubblescope.net> * testsuite/testsuite_allocator.h (check_deallocate_null): Return true. From-SVN: r109104
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/testsuite/testsuite_allocator.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index b5a754b..7b5e58c 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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,
diff --git a/libstdc++-v3/testsuite/testsuite_allocator.h b/libstdc++-v3/testsuite/testsuite_allocator.h
index 3beb29d..170c4db 100644
--- a/libstdc++-v3/testsuite/testsuite_allocator.h
+++ b/libstdc++-v3/testsuite/testsuite_allocator.h
@@ -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>