Replace dynamic exception specifications in testsuite
commitf4234ff1fff2c3a7424bffde7d5c8b8f5d9f1fe0
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2016 15:22:51 +0000 (7 15:22 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2016 15:22:51 +0000 (7 15:22 +0000)
tree3ba08e59fdfc71363ecc1ae48190ef94110c34ac
parent0ef97d88c16c2d12138290fccfd98646e5d0c2d1
Replace dynamic exception specifications in testsuite

* testsuite/util/testsuite_hooks.h (THROW): Define.
* testsuite/util/replacement_memory_operators.h: Include
testsuite_hooks.h and use THROW macro.
* testsuite/util/testsuite_tr1.h: Likewise.
* testsuite/20_util/allocator/1.cc: Use THROW macro.
* testsuite/22_locale/locale/cons/12352.cc: Likewise.
* testsuite/23_containers/vector/zero_sized_allocations.cc: Likewise.
* testsuite/30_threads/lock_guard/cons/1.cc: Replace dynamic exception
specification with noexcept-specifier.
* testsuite/ext/pool_allocator/allocate_chunk.cc: Include
testsuite_hooks.h and use THROW macro.
* testsuite/ext/profile/replace_new.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243353 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/allocator/1.cc
libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc
libstdc++-v3/testsuite/23_containers/vector/zero_sized_allocations.cc
libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc
libstdc++-v3/testsuite/ext/pool_allocator/allocate_chunk.cc
libstdc++-v3/testsuite/ext/profile/replace_new.cc
libstdc++-v3/testsuite/util/replacement_memory_operators.h
libstdc++-v3/testsuite/util/testsuite_hooks.h
libstdc++-v3/testsuite/util/testsuite_tr1.h