[committed] libstdc++: Add assertion to debug_allocator test
Checks
Commit Message
Tested x86_64-linux. Pushed to trunk.
-- >8 --
libstdc++-v3/ChangeLog:
* testsuite/ext/debug_allocator/check_deallocate_null.cc: Add
assertion to ensure expected exception is throw.
---
.../testsuite/ext/debug_allocator/check_deallocate_null.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -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)
{