mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 07:44:05 +08:00
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>
|
||||
|
||||
* include/std/std_bitset.h (bitset<>::_M_copy_from_string,
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user