summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/23_containers/vector
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2014-06-26 18:42:41 +0000
committerFrançois Dumont <fdumont@gcc.gnu.org>2014-06-26 18:42:41 +0000
commitb3fb198ded213a5f2720acd0a88f77ebc1443597 (patch)
tree8168a48a528e2e275de5f5d7a16a2ea0c08f95fd /libstdc++-v3/testsuite/23_containers/vector
parent7fb3df5ef09e0da3963aa888584f6f7524e13b07 (diff)
downloadgcc-b3fb198ded213a5f2720acd0a88f77ebc1443597.tar.gz
2014-06-26 François Dumont <fdumont@gcc.gnu.org>
* testsuite/util/testsuite_allocator.h (tracker_allocator_counter::allocate): Remove new invocation, only collect information. (tracker_allocator_counter::deallocate): Remove delete invocation, only collect information. (check_inconsistent_alloc_value_type): New. (tracker_allocator): Transform as a facade for any allocator type. (uneq_allocator): Likewise. (propagating_allocator): Likewise. * testsuite/23_containers/forward_list/debug/move_assign_neg.cc: Use an explicitly non propagating allocator. * testsuite/23_containers/map/debug/move_assign_neg.cc: Likewise. * testsuite/23_containers/multimap/debug/move_assign_neg.cc: likewise. * testsuite/23_containers/multiset/debug/move_assign_neg.cc: Likewise. * testsuite/23_containers/set/debug/move_assign_neg.cc: Likewise. * testsuite/23_containers/unordered_map/debug/move_assign_neg.cc: Likewise. * testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc: Likewise. * testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc: Likewise. * testsuite/23_containers/unordered_set/debug/move_assign_neg.cc: Likewise. * testsuite/23_containers/vector/debug/move_assign_neg.cc: Likewise. From-SVN: r212046
Diffstat (limited to 'libstdc++-v3/testsuite/23_containers/vector')
-rw-r--r--libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc
index eb2233b35fe..3de0723195e 100644
--- a/libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc
+++ b/libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc
@@ -27,7 +27,7 @@ void test01()
{
bool test __attribute__((unused)) = true;
- typedef __gnu_test::uneq_allocator<int> alloc_type;
+ typedef __gnu_test::propagating_allocator<int, false> alloc_type;
typedef __gnu_debug::vector<int, alloc_type> test_type;
test_type v1(alloc_type(1));