libstdc++: Add assertion to debug_allocator test
libstdc++-v3/ChangeLog: * testsuite/ext/debug_allocator/check_deallocate_null.cc: Add assertion to ensure expected exception is throw.
This commit is contained in:
parent
151bad4102
commit
bf904527ab
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ int main()
|
|||
|
||||
try
|
||||
{
|
||||
__gnu_test::check_deallocate_null<allocator_type>();
|
||||
__gnu_test::check_deallocate_null<allocator_type>();
|
||||
VERIFY(false);
|
||||
}
|
||||
catch (std::runtime_error& obj)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue