summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util/shared_ptr/cons
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2013-10-09 18:37:26 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2013-10-09 19:37:26 +0100
commitfd673f296a9070dd0085108dca9bbd7ad8dd4e1c (patch)
tree33ba8b627ead625ca9501c9e386ed40fc8711594 /libstdc++-v3/testsuite/20_util/shared_ptr/cons
parent2431114fa04e941fadd56eeaace1006398d40082 (diff)
downloadgcc-fd673f296a9070dd0085108dca9bbd7ad8dd4e1c.tar.gz
58659.cc: Use VERIFY instead of aborting.
* testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of aborting. From-SVN: r203325
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/shared_ptr/cons')
-rw-r--r--libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc3
1 files changed, 1 insertions, 2 deletions
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 1b823bc50e2..9315796b240 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)
- __builtin_abort();
+ VERIFY(n == 1 && p == (void*)storage && allocated);
allocated = false;
}