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:
parent
e7c59a0e02
commit
001a2a47e2
|
@ -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>
|
2005-12-28 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
* include/std/std_bitset.h (bitset<>::_M_copy_from_string,
|
* include/std/std_bitset.h (bitset<>::_M_copy_from_string,
|
||||||
|
|
|
@ -201,13 +201,14 @@ namespace __gnu_test
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Alloc>
|
template<typename Alloc>
|
||||||
void
|
bool
|
||||||
check_deallocate_null()
|
check_deallocate_null()
|
||||||
{
|
{
|
||||||
// Let's not core here...
|
// Let's not core here...
|
||||||
Alloc a;
|
Alloc a;
|
||||||
a.deallocate(NULL, 1);
|
a.deallocate(NULL, 1);
|
||||||
a.deallocate(NULL, 10);
|
a.deallocate(NULL, 10);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Alloc>
|
template<typename Alloc>
|
||||||
|
|
Loading…
Reference in New Issue