diff options
Diffstat (limited to 'libstdc++-v3/testsuite/testsuite_hooks.h')
-rw-r--r-- | libstdc++-v3/testsuite/testsuite_hooks.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/testsuite_hooks.h b/libstdc++-v3/testsuite/testsuite_hooks.h index 1ce9c65b0df..171cdc6cee6 100644 --- a/libstdc++-v3/testsuite/testsuite_hooks.h +++ b/libstdc++-v3/testsuite/testsuite_hooks.h @@ -1,7 +1,8 @@ // -*- C++ -*- // Utility subroutines for the C++ library testsuite. // -// Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -224,7 +225,7 @@ namespace __gnu_test { count_++; if (count_ == throw_on_) - __throw_exception_again "copy constructor exception"; + std::__throw_runtime_error("copy_constructor::mark_call"); } static void @@ -255,7 +256,7 @@ namespace __gnu_test { count_++; if (count_ == throw_on_) - __throw_exception_again "assignment operator exception"; + std::__throw_runtime_error("assignment_operator::mark_call"); } static void |