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
This commit is contained in:
Chris Jefferson 2005-12-28 11:47:56 +00:00 committed by Paolo Carlini
parent e7c59a0e02
commit 001a2a47e2
2 changed files with 6 additions and 1 deletions

View 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,

View 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>