commit 2ee091c4e7602eeb84b637c8e2c6f80c73faf118 Author: Jonathan Wakely Date: Wed Oct 9 19:06:22 2013 +0100 * testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of aborting. diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc index 5e7c730..9315796 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc @@ -47,8 +47,7 @@ namespace std void deallocate(value_type* p, size_t n) { - if (n != 1 || p != (void*)storage || !allocated) - abort(); + VERIFY(n == 1 && p == (void*)storage && allocated); allocated = false; }