summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2014-07-29 19:47:19 +0000
committerFrançois Dumont <fdumont@gcc.gnu.org>2014-07-29 19:47:19 +0000
commit5c7c5f9a88901309051ad43b2cbd4e1cf478f01c (patch)
tree7e2cd8cae551db9341ed12a3752351425981c1b7 /libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc
parentf4081d133f455a869d196ae66ce8e8e96e329a33 (diff)
downloadgcc-5c7c5f9a88901309051ad43b2cbd4e1cf478f01c.tar.gz
2014-07-29 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: r213224
Diffstat (limited to 'libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc')
-rw-r--r--libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc
index 91e459fd3c3..934afbedd6b 100644
--- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc
+++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc
@@ -25,7 +25,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::forward_list<int, alloc_type> test_type;
test_type v1(alloc_type(1));