Commit a9260b7e by Paolo Carlini Committed by Paolo Carlini

57619.C: Rename to 57619.cc.

2016-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/unordered_map/insert/57619.C: Rename to 57619.cc.
	* testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.

2016-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/array/capacity/empty.cc: Remove 'test' variables.
	* testsuite/array/capacity/max_size.cc: Likewise.
	* testsuite/array/capacity/size.cc: Likewise.
	* testsuite/array/comparison_operators/equal.cc: Likewise.
	* testsuite/array/comparison_operators/greater.cc: Likewise.
	* testsuite/array/comparison_operators/greater_or_equal.cc: Likewise.
	* testsuite/array/comparison_operators/less.cc: Likewise.
	* testsuite/array/comparison_operators/less_or_equal.cc: Likewise.
	* testsuite/array/comparison_operators/not_equal.cc: Likewise.
	* testsuite/array/element_access/54388.cc: Likewise.
	* testsuite/array/element_access/at_out_of_range.cc: Likewise.
	* testsuite/array/element_access/back.cc: Likewise.
	* testsuite/array/element_access/data.cc: Likewise.
	* testsuite/array/element_access/front.cc: Likewise.
	* testsuite/array/iterators/end_is_one_past.cc: Likewise.
	* testsuite/array/requirements/contiguous.cc: Likewise.
	* testsuite/array/requirements/fill.cc: Likewise.
	* testsuite/array/requirements/member_swap.cc: Likewise.
	* testsuite/array/requirements/zero_sized_arrays.cc: Likewise.
	* testsuite/array/specialized_algorithms/swap.cc: Likewise.
	* testsuite/array/tuple_interface/tuple_element.cc: Likewise.
	* testsuite/array/tuple_interface/tuple_element_cpp14.cc: Likewise.
	* testsuite/array/tuple_interface/tuple_size.cc: Likewise.
	* testsuite/bitset/all/1.cc: Likewise.
	* testsuite/bitset/cons/1.cc: Likewise.
	* testsuite/bitset/cons/16020.cc: Likewise.
	* testsuite/bitset/cons/2.cc: Likewise.
	* testsuite/bitset/cons/3.cc: Likewise.
	* testsuite/bitset/cons/50268.cc: Likewise.
	* testsuite/bitset/cons/6282.cc: Likewise.
	* testsuite/bitset/cons/dr1325-2.cc: Likewise.
	* testsuite/bitset/cons/dr396.cc: Likewise.
	* testsuite/bitset/ext/15361.cc: Likewise.
	* testsuite/bitset/input/1.cc: Likewise.
	* testsuite/bitset/operations/1.cc: Likewise.
	* testsuite/bitset/operations/13838.cc: Likewise.
	* testsuite/bitset/operations/2.cc: Likewise.
	* testsuite/bitset/test/1.cc: Likewise.
	* testsuite/bitset/to_string/1.cc: Likewise.
	* testsuite/bitset/to_string/dr396.cc: Likewise.
	* testsuite/bitset/to_ullong/1.cc: Likewise.
	* testsuite/bitset/to_ulong/1.cc: Likewise.
	* testsuite/deque/allocator/copy.cc: Likewise.
	* testsuite/deque/allocator/copy_assign.cc: Likewise.
	* testsuite/deque/allocator/ext_ptr.cc: Likewise.
	* testsuite/deque/allocator/minimal.cc: Likewise.
	* testsuite/deque/allocator/move.cc: Likewise.
	* testsuite/deque/allocator/move_assign.cc: Likewise.
	* testsuite/deque/allocator/swap.cc: Likewise.
	* testsuite/deque/capacity/29134-2.cc: Likewise.
	* testsuite/deque/capacity/29134.cc: Likewise.
	* testsuite/deque/capacity/moveable.cc: Likewise.
	* testsuite/deque/capacity/resize_size.cc: Likewise.
	* testsuite/deque/capacity/shrink_to_fit.cc: Likewise.
	* testsuite/deque/cons/1.cc: Likewise.
	* testsuite/deque/cons/2.cc: Likewise.
	* testsuite/deque/cons/assign/1.cc: Likewise.
	* testsuite/deque/cons/cons_size.cc: Likewise.
	* testsuite/deque/cons/moveable.cc: Likewise.
	* testsuite/deque/modifiers/erase/1.cc: Likewise.
	* testsuite/deque/modifiers/erase/2.cc: Likewise.
	* testsuite/deque/modifiers/erase/3.cc: Likewise.
	* testsuite/deque/modifiers/erase/moveable.cc: Likewise.
	* testsuite/deque/modifiers/moveable.cc: Likewise.
	* testsuite/deque/modifiers/push_back/49836.cc: Likewise.
	* testsuite/deque/modifiers/push_front/49836.cc: Likewise.
	* testsuite/deque/modifiers/swap/1.cc: Likewise.
	* testsuite/deque/modifiers/swap/2.cc: Likewise.
	* testsuite/deque/modifiers/swap/3.cc: Likewise.
	* testsuite/deque/operators/1.cc: Likewise.
	* testsuite/deque/operators/2.cc: Likewise.
	* testsuite/forward_list/allocator/copy.cc: Likewise.
	* testsuite/forward_list/allocator/copy_assign.cc: Likewise.
	* testsuite/forward_list/allocator/ext_ptr.cc: Likewise.
	* testsuite/forward_list/allocator/minimal.cc: Likewise.
	* testsuite/forward_list/allocator/move.cc: Likewise.
	* testsuite/forward_list/allocator/move_assign.cc: Likewise.
	* testsuite/forward_list/allocator/swap.cc: Likewise.
	* testsuite/forward_list/capacity/1.cc: Likewise.
	* testsuite/forward_list/capacity/resize_size.cc: Likewise.
	* testsuite/forward_list/comparable.cc: Likewise.
	* testsuite/forward_list/cons/1.cc: Likewise.
	* testsuite/forward_list/cons/2.cc: Likewise.
	* testsuite/forward_list/cons/3.cc: Likewise.
	* testsuite/forward_list/cons/4.cc: Likewise.
	* testsuite/forward_list/cons/5.cc: Likewise.
	* testsuite/forward_list/cons/6.cc: Likewise.
	* testsuite/forward_list/cons/7.cc: Likewise.
	* testsuite/forward_list/cons/8.cc: Likewise.
	* testsuite/forward_list/cons/9.cc: Likewise.
	* testsuite/forward_list/cons/cons_size.cc: Likewise.
	* testsuite/forward_list/cons/moveable.cc: Likewise.
	* testsuite/forward_list/debug/clear.cc: Likewise.
	* testsuite/forward_list/debug/construct4_neg.cc: Likewise.
	* testsuite/forward_list/debug/erase_after1_neg.cc: Likewise.
	* testsuite/forward_list/debug/move_assign_neg.cc: Likewise.
	* testsuite/forward_list/debug/move_constructor.cc: Likewise.
	* testsuite/forward_list/debug/move_neg.cc: Likewise.
	* testsuite/forward_list/debug/splice_after.cc: Likewise.
	* testsuite/forward_list/debug/swap.cc: Likewise.
	* testsuite/forward_list/modifiers/1.cc: Likewise.
	* testsuite/forward_list/modifiers/2.cc: Likewise.
	* testsuite/forward_list/modifiers/3.cc: Likewise.
	* testsuite/forward_list/modifiers/4.cc: Likewise.
	* testsuite/forward_list/modifiers/5.cc: Likewise.
	* testsuite/forward_list/modifiers/6.cc: Likewise.
	* testsuite/forward_list/operations/1.cc: Likewise.
	* testsuite/forward_list/operations/2.cc: Likewise.
	* testsuite/forward_list/operations/3.cc: Likewise.
	* testsuite/forward_list/operations/4.cc: Likewise.
	* testsuite/forward_list/operations/5.cc: Likewise.
	* testsuite/forward_list/operations/6.cc: Likewise.
	* testsuite/forward_list/operations/7.cc: Likewise.
	* testsuite/forward_list/operations/remove_freed.cc: Likewise.
	* testsuite/list/61347.cc: Likewise.
	* testsuite/list/allocator/copy.cc: Likewise.
	* testsuite/list/allocator/copy_assign.cc: Likewise.
	* testsuite/list/allocator/minimal.cc: Likewise.
	* testsuite/list/allocator/move.cc: Likewise.
	* testsuite/list/allocator/move_assign.cc: Likewise.
	* testsuite/list/allocator/swap.cc: Likewise.
	* testsuite/list/capacity/1.h: Likewise.
	* testsuite/list/capacity/29134.cc: Likewise.
	* testsuite/list/capacity/resize_size.cc: Likewise.
	* testsuite/list/cons/1.h: Likewise.
	* testsuite/list/cons/2.h: Likewise.
	* testsuite/list/cons/3.h: Likewise.
	* testsuite/list/cons/4.h: Likewise.
	* testsuite/list/cons/5.h: Likewise.
	* testsuite/list/cons/6.h: Likewise.
	* testsuite/list/cons/7.h: Likewise.
	* testsuite/list/cons/8.h: Likewise.
	* testsuite/list/cons/9.h: Likewise.
	* testsuite/list/cons/cons_size.cc: Likewise.
	* testsuite/list/cons/moveable.h: Likewise.
	* testsuite/list/debug/invalidation/1.cc: Likewise.
	* testsuite/list/debug/invalidation/2.cc: Likewise.
	* testsuite/list/debug/invalidation/3.cc: Likewise.
	* testsuite/list/debug/invalidation/4.cc: Likewise.
	* testsuite/list/modifiers/1.h: Likewise.
	* testsuite/list/modifiers/2.h: Likewise.
	* testsuite/list/modifiers/3.h: Likewise.
	* testsuite/list/modifiers/insert/25288.h: Likewise.
	* testsuite/list/modifiers/swap/1.h: Likewise.
	* testsuite/list/modifiers/swap/2.h: Likewise.
	* testsuite/list/modifiers/swap/3.h: Likewise.
	* testsuite/list/operations/1.h: Likewise.
	* testsuite/list/operations/2.h: Likewise.
	* testsuite/list/operations/3.h: Likewise.
	* testsuite/list/operations/4.h: Likewise.
	* testsuite/list/operations/42352.cc: Likewise.
	* testsuite/map/allocator/copy.cc: Likewise.
	* testsuite/map/allocator/copy_assign.cc: Likewise.
	* testsuite/map/allocator/init-list.cc: Likewise.
	* testsuite/map/allocator/minimal.cc: Likewise.
	* testsuite/map/allocator/move.cc: Likewise.
	* testsuite/map/allocator/move_assign.cc: Likewise.
	* testsuite/map/allocator/swap.cc: Likewise.
	* testsuite/map/capacity/29134.cc: Likewise.
	* testsuite/map/cons/moveable.cc: Likewise.
	* testsuite/map/debug/construct5_neg.cc: Likewise.
	* testsuite/map/debug/move_assign_neg.cc: Likewise.
	* testsuite/map/debug/move_neg.cc: Likewise.
	* testsuite/map/element_access/1.cc: Likewise.
	* testsuite/map/element_access/2.cc: Likewise.
	* testsuite/map/element_access/39901.cc: Likewise.
	* testsuite/map/init-list.cc: Likewise.
	* testsuite/map/modifiers/dr130.cc: Likewise.
	* testsuite/map/modifiers/emplace/1.cc: Likewise.
	* testsuite/map/modifiers/extract.cc: Likewise.
	* testsuite/map/modifiers/insert/1.cc: Likewise.
	* testsuite/map/modifiers/insert/16813.cc: Likewise.
	* testsuite/map/modifiers/insert/2.cc: Likewise.
	* testsuite/map/modifiers/insert/3.cc: Likewise.
	* testsuite/map/modifiers/insert/4.cc: Likewise.
	* testsuite/map/modifiers/insert/5.cc: Likewise.
	* testsuite/map/modifiers/insert_or_assign/1.cc: Likewise.
	* testsuite/map/modifiers/merge.cc: Likewise.
	* testsuite/map/modifiers/swap/1.cc: Likewise.
	* testsuite/map/modifiers/swap/2.cc: Likewise.
	* testsuite/map/modifiers/swap/3.cc: Likewise.
	* testsuite/map/modifiers/try_emplace/1.cc: Likewise.
	* testsuite/map/operations/1.cc: Likewise.
	* testsuite/map/operations/count.cc: Likewise.
	* testsuite/map/operators/1_neg.cc: Likewise.
	* testsuite/map/operators/2.cc: Likewise.
	* testsuite/multimap/allocator/copy.cc: Likewise.
	* testsuite/multimap/allocator/copy_assign.cc: Likewise.
	* testsuite/multimap/allocator/init-list.cc: Likewise.
	* testsuite/multimap/allocator/minimal.cc: Likewise.
	* testsuite/multimap/allocator/move.cc: Likewise.
	* testsuite/multimap/allocator/move_assign.cc: Likewise.
	* testsuite/multimap/allocator/swap.cc: Likewise.
	* testsuite/multimap/capacity/29134.cc: Likewise.
	* testsuite/multimap/cons/moveable.cc: Likewise.
	* testsuite/multimap/debug/construct5_neg.cc: Likewise.
	* testsuite/multimap/debug/move_assign_neg.cc: Likewise.
	* testsuite/multimap/debug/move_neg.cc: Likewise.
	* testsuite/multimap/init-list.cc: Likewise.
	* testsuite/multimap/modifiers/dr130.cc: Likewise.
	* testsuite/multimap/modifiers/emplace/1.cc: Likewise.
	* testsuite/multimap/modifiers/extract.cc: Likewise.
	* testsuite/multimap/modifiers/insert/1.cc: Likewise.
	* testsuite/multimap/modifiers/insert/2.cc: Likewise.
	* testsuite/multimap/modifiers/insert/22102.cc: Likewise.
	* testsuite/multimap/modifiers/insert/3.cc: Likewise.
	* testsuite/multimap/modifiers/insert/4.cc: Likewise.
	* testsuite/multimap/modifiers/merge.cc: Likewise.
	* testsuite/multimap/modifiers/swap/1.cc: Likewise.
	* testsuite/multimap/modifiers/swap/2.cc: Likewise.
	* testsuite/multimap/modifiers/swap/3.cc: Likewise.
	* testsuite/multimap/operations/1.cc: Likewise.
	* testsuite/multimap/operations/count.cc: Likewise.
	* testsuite/multiset/allocator/copy.cc: Likewise.
	* testsuite/multiset/allocator/copy_assign.cc: Likewise.
	* testsuite/multiset/allocator/init-list.cc: Likewise.
	* testsuite/multiset/allocator/minimal.cc: Likewise.
	* testsuite/multiset/allocator/move.cc: Likewise.
	* testsuite/multiset/allocator/move_assign.cc: Likewise.
	* testsuite/multiset/allocator/swap.cc: Likewise.
	* testsuite/multiset/capacity/29134.cc: Likewise.
	* testsuite/multiset/cons/moveable.cc: Likewise.
	* testsuite/multiset/debug/construct5_neg.cc: Likewise.
	* testsuite/multiset/debug/invalidation/2.cc: Likewise.
	* testsuite/multiset/debug/move_assign_neg.cc: Likewise.
	* testsuite/multiset/debug/move_neg.cc: Likewise.
	* testsuite/multiset/init-list.cc: Likewise.
	* testsuite/multiset/modifiers/dr130.cc: Likewise.
	* testsuite/multiset/modifiers/emplace/1.cc: Likewise.
	* testsuite/multiset/modifiers/extract.cc: Likewise.
	* testsuite/multiset/modifiers/insert/1.cc: Likewise.
	* testsuite/multiset/modifiers/insert/2.cc: Likewise.
	* testsuite/multiset/modifiers/insert/22102.cc: Likewise.
	* testsuite/multiset/modifiers/insert/3.cc: Likewise.
	* testsuite/multiset/modifiers/insert/4.cc: Likewise.
	* testsuite/multiset/modifiers/merge.cc: Likewise.
	* testsuite/multiset/modifiers/swap/1.cc: Likewise.
	* testsuite/multiset/modifiers/swap/2.cc: Likewise.
	* testsuite/multiset/modifiers/swap/3.cc: Likewise.
	* testsuite/multiset/operations/1.cc: Likewise.
	* testsuite/multiset/operations/count.cc: Likewise.
	* testsuite/priority_queue/moveable.cc: Likewise.
	* testsuite/queue/moveable.cc: Likewise.
	* testsuite/set/allocator/copy.cc: Likewise.
	* testsuite/set/allocator/copy_assign.cc: Likewise.
	* testsuite/set/allocator/init-list.cc: Likewise.
	* testsuite/set/allocator/minimal.cc: Likewise.
	* testsuite/set/allocator/move.cc: Likewise.
	* testsuite/set/allocator/move_assign.cc: Likewise.
	* testsuite/set/allocator/swap.cc: Likewise.
	* testsuite/set/capacity/29134.cc: Likewise.
	* testsuite/set/cons/moveable.cc: Likewise.
	* testsuite/set/debug/construct5_neg.cc: Likewise.
	* testsuite/set/debug/invalidation/2.cc: Likewise.
	* testsuite/set/debug/move_assign_neg.cc: Likewise.
	* testsuite/set/debug/move_neg.cc: Likewise.
	* testsuite/set/init-list.cc: Likewise.
	* testsuite/set/modifiers/17948.cc: Likewise.
	* testsuite/set/modifiers/dr130.cc: Likewise.
	* testsuite/set/modifiers/emplace/1.cc: Likewise.
	* testsuite/set/modifiers/extract.cc: Likewise.
	* testsuite/set/modifiers/insert/1.cc: Likewise.
	* testsuite/set/modifiers/insert/2.cc: Likewise.
	* testsuite/set/modifiers/insert/3.cc: Likewise.
	* testsuite/set/modifiers/merge.cc: Likewise.
	* testsuite/set/modifiers/swap/1.cc: Likewise.
	* testsuite/set/modifiers/swap/2.cc: Likewise.
	* testsuite/set/modifiers/swap/3.cc: Likewise.
	* testsuite/set/operations/1.cc: Likewise.
	* testsuite/set/operations/count.cc: Likewise.
	* testsuite/set/operators/1_neg.cc: Likewise.
	* testsuite/unordered_map/allocator/copy.cc: Likewise.
	* testsuite/unordered_map/allocator/copy_assign.cc: Likewise.
	* testsuite/unordered_map/allocator/minimal.cc: Likewise.
	* testsuite/unordered_map/allocator/move.cc: Likewise.
	* testsuite/unordered_map/allocator/move_assign.cc: Likewise.
	* testsuite/unordered_map/allocator/swap.cc: Likewise.
	* testsuite/unordered_map/cons/moveable.cc: Likewise.
	* testsuite/unordered_map/debug/construct5_neg.cc: Likewise.
	* testsuite/unordered_map/debug/move_assign_neg.cc: Likewise.
	* testsuite/unordered_map/debug/move_neg.cc: Likewise.
	* testsuite/unordered_map/dr761.cc: Likewise.
	* testsuite/unordered_map/erase/1.cc: Likewise.
	* testsuite/unordered_map/erase/24061-map.cc: Likewise.
	* testsuite/unordered_map/erase/54276.cc: Likewise.
	* testsuite/unordered_map/hash_policy/dr1189.cc: Likewise.
	* testsuite/unordered_map/init-list.cc: Likewise.
	* testsuite/unordered_map/insert/24061-map.cc: Likewise.
	* testsuite/unordered_map/insert/57619.C: Likewise.
	* testsuite/unordered_map/insert/array_syntax.cc: Likewise.
	* testsuite/unordered_map/insert/array_syntax_move.cc: Likewise.
	* testsuite/unordered_map/insert/map_range.cc: Likewise.
	* testsuite/unordered_map/insert/map_single.cc: Likewise.
	* testsuite/unordered_map/insert/map_single_move-1.cc: Likewise.
	* testsuite/unordered_map/insert/map_single_move-2.cc: Likewise.
	* testsuite/unordered_map/modifiers/61667.cc: Likewise.
	* testsuite/unordered_map/modifiers/emplace.cc: Likewise.
	* testsuite/unordered_map/modifiers/extract.cc: Likewise.
	* testsuite/unordered_map/modifiers/insert_or_assign.cc: Likewise.
	* testsuite/unordered_map/modifiers/merge.cc: Likewise.
	* testsuite/unordered_map/modifiers/reserve.cc: Likewise.
	* testsuite/unordered_map/modifiers/try_emplace.cc: Likewise.
	* testsuite/unordered_map/operations/count.cc: Likewise.
	* testsuite/unordered_map/operators/1.cc: Likewise.
	* testsuite/unordered_map/operators/2.cc: Likewise.
	* testsuite/unordered_multimap/allocator/copy.cc: Likewise.
	* testsuite/unordered_multimap/allocator/copy_assign.cc: Likewise.
	* testsuite/unordered_multimap/allocator/minimal.cc: Likewise.
	* testsuite/unordered_multimap/allocator/move.cc: Likewise.
	* testsuite/unordered_multimap/allocator/move_assign.cc: Likewise.
	* testsuite/unordered_multimap/allocator/swap.cc: Likewise.
	* testsuite/unordered_multimap/cons/moveable.cc: Likewise.
	* testsuite/unordered_multimap/debug/construct5_neg.cc: Likewise.
	* testsuite/unordered_multimap/debug/move_assign_neg.cc: Likewise.
	* testsuite/unordered_multimap/debug/move_neg.cc: Likewise.
	* testsuite/unordered_multimap/erase/1.cc: Likewise.
	* testsuite/unordered_multimap/erase/2.cc: Likewise.
	* testsuite/unordered_multimap/erase/24061-multimap.cc: Likewise.
	* testsuite/unordered_multimap/erase/51845-multimap.cc: Likewise.
	* testsuite/unordered_multimap/erase/54276.cc: Likewise.
	* testsuite/unordered_multimap/hash_policy/dr1189.cc: Likewise.
	* testsuite/unordered_multimap/init-list.cc: Likewise.
	* testsuite/unordered_multimap/insert/24061-multimap.cc: Likewise.
	* testsuite/unordered_multimap/insert/51866.cc: Likewise.
	* testsuite/unordered_multimap/insert/52476.cc: Likewise.
	* testsuite/unordered_multimap/insert/53115.cc: Likewise.
	* testsuite/unordered_multimap/insert/57619.C: Likewise.
	* testsuite/unordered_multimap/insert/hint.cc: Likewise.
	* testsuite/unordered_multimap/insert/multimap_range.cc: Likewise.
	* testsuite/unordered_multimap/insert/multimap_single.cc: Likewise.
	* testsuite/unordered_multimap/insert/multimap_single_move-1.cc:
	Likewise.
	* testsuite/unordered_multimap/insert/multimap_single_move-2.cc:
	Likewise.
	* testsuite/unordered_multimap/modifiers/emplace.cc: Likewise.
	* testsuite/unordered_multimap/modifiers/extract.cc: Likewise.
	* testsuite/unordered_multimap/modifiers/merge.cc: Likewise.
	* testsuite/unordered_multimap/modifiers/reserve.cc: Likewise.
	* testsuite/unordered_multimap/operations/count.cc: Likewise.
	* testsuite/unordered_multimap/operators/1.cc: Likewise.
	* testsuite/unordered_multimap/operators/2.cc: Likewise.
	* testsuite/unordered_multiset/allocator/copy.cc: Likewise.
	* testsuite/unordered_multiset/allocator/copy_assign.cc: Likewise.
	* testsuite/unordered_multiset/allocator/minimal.cc: Likewise.
	* testsuite/unordered_multiset/allocator/move.cc: Likewise.
	* testsuite/unordered_multiset/allocator/move_assign.cc: Likewise.
	* testsuite/unordered_multiset/allocator/swap.cc: Likewise.
	* testsuite/unordered_multiset/cons/copy.cc: Likewise.
	* testsuite/unordered_multiset/cons/moveable.cc: Likewise.
	* testsuite/unordered_multiset/debug/construct5_neg.cc: Likewise.
	* testsuite/unordered_multiset/debug/move_assign_neg.cc: Likewise.
	* testsuite/unordered_multiset/debug/move_neg.cc: Likewise.
	* testsuite/unordered_multiset/erase/1.cc: Likewise.
	* testsuite/unordered_multiset/erase/2.cc: Likewise.
	* testsuite/unordered_multiset/erase/24061-multiset.cc: Likewise.
	* testsuite/unordered_multiset/hash_policy/dr1189.cc: Likewise.
	* testsuite/unordered_multiset/init-list.cc: Likewise.
	* testsuite/unordered_multiset/insert/24061-multiset.cc: Likewise.
	* testsuite/unordered_multiset/insert/51866.cc: Likewise.
	* testsuite/unordered_multiset/insert/52476.cc: Likewise.
	* testsuite/unordered_multiset/insert/53115.cc: Likewise.
	* testsuite/unordered_multiset/insert/hash_policy.cc: Likewise.
	* testsuite/unordered_multiset/insert/multiset_range.cc: Likewise.
	* testsuite/unordered_multiset/insert/multiset_single.cc: Likewise.
	* testsuite/unordered_multiset/insert/multiset_single_move.cc: Likewise.
	* testsuite/unordered_multiset/modifiers/emplace.cc: Likewise.
	* testsuite/unordered_multiset/modifiers/extract.cc: Likewise.
	* testsuite/unordered_multiset/modifiers/merge.cc: Likewise.
	* testsuite/unordered_multiset/modifiers/reserve.cc: Likewise.
	* testsuite/unordered_multiset/operations/count.cc: Likewise.
	* testsuite/unordered_multiset/operators/1.cc: Likewise.
	* testsuite/unordered_set/allocator/copy.cc: Likewise.
	* testsuite/unordered_set/allocator/copy_assign.cc: Likewise.
	* testsuite/unordered_set/allocator/ext_ptr.cc: Likewise.
	* testsuite/unordered_set/allocator/minimal.cc: Likewise.
	* testsuite/unordered_set/allocator/move.cc: Likewise.
	* testsuite/unordered_set/allocator/move_assign.cc: Likewise.
	* testsuite/unordered_set/allocator/swap.cc: Likewise.
	* testsuite/unordered_set/buckets/swap.cc: Likewise.
	* testsuite/unordered_set/cons/moveable.cc: Likewise.
	* testsuite/unordered_set/debug/construct5_neg.cc: Likewise.
	* testsuite/unordered_set/debug/debug_functions.cc: Likewise.
	* testsuite/unordered_set/debug/move_assign_neg.cc: Likewise.
	* testsuite/unordered_set/debug/move_neg.cc: Likewise.
	* testsuite/unordered_set/erase/1.cc: Likewise.
	* testsuite/unordered_set/erase/24061-set.cc: Likewise.
	* testsuite/unordered_set/hash_policy/26132.cc: Likewise.
	* testsuite/unordered_set/hash_policy/71181.cc: Likewise.
	* testsuite/unordered_set/hash_policy/dr1189.cc: Likewise.
	* testsuite/unordered_set/hash_policy/load_factor.cc: Likewise.
	* testsuite/unordered_set/hash_policy/power2_rehash.cc: Likewise.
	* testsuite/unordered_set/hash_policy/prime_rehash.cc: Likewise.
	* testsuite/unordered_set/hash_policy/rehash.cc: Likewise.
	* testsuite/unordered_set/init-list.cc: Likewise.
	* testsuite/unordered_set/insert/24061-set.cc: Likewise.
	* testsuite/unordered_set/insert/hash_policy.cc: Likewise.
	* testsuite/unordered_set/insert/move_range.cc: Likewise.
	* testsuite/unordered_set/insert/set_range.cc: Likewise.
	* testsuite/unordered_set/insert/set_single.cc: Likewise.
	* testsuite/unordered_set/insert/set_single_move.cc: Likewise.
	* testsuite/unordered_set/max_load_factor/robustness.cc: Likewise.
	* testsuite/unordered_set/modifiers/emplace.cc: Likewise.
	* testsuite/unordered_set/modifiers/extract.cc: Likewise.
	* testsuite/unordered_set/modifiers/merge.cc: Likewise.
	* testsuite/unordered_set/modifiers/reserve.cc: Likewise.
	* testsuite/unordered_set/modifiers/swap.cc: Likewise.
	* testsuite/unordered_set/operations/count.cc: Likewise.
	* testsuite/unordered_set/operators/1.cc: Likewise.
	* testsuite/vector/allocator/copy.cc: Likewise.
	* testsuite/vector/allocator/copy_assign.cc: Likewise.
	* testsuite/vector/allocator/ext_ptr.cc: Likewise.
	* testsuite/vector/allocator/minimal.cc: Likewise.
	* testsuite/vector/allocator/move.cc: Likewise.
	* testsuite/vector/allocator/move_assign.cc: Likewise.
	* testsuite/vector/allocator/swap.cc: Likewise.
	* testsuite/vector/bool/6886.cc: Likewise.
	* testsuite/vector/bool/72847.cc: Likewise.
	* testsuite/vector/bool/allocator/copy.cc: Likewise.
	* testsuite/vector/bool/allocator/copy_assign.cc: Likewise.
	* testsuite/vector/bool/allocator/ext_ptr.cc: Likewise.
	* testsuite/vector/bool/allocator/move.cc: Likewise.
	* testsuite/vector/bool/allocator/move_assign.cc: Likewise.
	* testsuite/vector/bool/allocator/swap.cc: Likewise.
	* testsuite/vector/bool/capacity/1.cc: Likewise.
	* testsuite/vector/bool/capacity/29134.cc: Likewise.
	* testsuite/vector/bool/capacity/shrink_to_fit.cc: Likewise.
	* testsuite/vector/bool/cons/1.cc: Likewise.
	* testsuite/vector/bool/cons/2.cc: Likewise.
	* testsuite/vector/bool/modifiers/erase/1.cc: Likewise.
	* testsuite/vector/bool/modifiers/insert/1.cc: Likewise.
	* testsuite/vector/bool/modifiers/insert/31370.cc: Likewise.
	* testsuite/vector/bool/modifiers/swap/1.cc: Likewise.
	* testsuite/vector/bool/modifiers/swap/2.cc: Likewise.
	* testsuite/vector/bool/swap.cc: Likewise.
	* testsuite/vector/capacity/1.cc: Likewise.
	* testsuite/vector/capacity/2.cc: Likewise.
	* testsuite/vector/capacity/29134-2.cc: Likewise.
	* testsuite/vector/capacity/29134.cc: Likewise.
	* testsuite/vector/capacity/44190.cc: Likewise.
	* testsuite/vector/capacity/8230.cc: Likewise.
	* testsuite/vector/capacity/reserve/moveable.cc: Likewise.
	* testsuite/vector/capacity/reserve/moveable2.cc: Likewise.
	* testsuite/vector/capacity/resize/1.cc: Likewise.
	* testsuite/vector/capacity/resize/moveable.cc: Likewise.
	* testsuite/vector/capacity/resize/moveable2.cc: Likewise.
	* testsuite/vector/capacity/resize/resize_size.cc: Likewise.
	* testsuite/vector/capacity/shrink_to_fit.cc: Likewise.
	* testsuite/vector/capacity/shrink_to_fit2.cc: Likewise.
	* testsuite/vector/cons/3.cc: Likewise.
	* testsuite/vector/cons/4.cc: Likewise.
	* testsuite/vector/cons/cons_size.cc: Likewise.
	* testsuite/vector/cons/moveable.cc: Likewise.
	* testsuite/vector/data_access/1.cc: Likewise.
	* testsuite/vector/debug/debug_functions.cc: Likewise.
	* testsuite/vector/debug/move_assign_neg.cc: Likewise.
	* testsuite/vector/debug/move_neg.cc: Likewise.
	* testsuite/vector/debug/multithreaded_swap.cc: Likewise.
	* testsuite/vector/element_access/1.cc: Likewise.
	* testsuite/vector/ext_pointer/citerators.cc: Likewise.
	* testsuite/vector/ext_pointer/data_access.cc: Likewise.
	* testsuite/vector/ext_pointer/modifiers/element.cc: Likewise.
	* testsuite/vector/ext_pointer/modifiers/erase.cc: Likewise.
	* testsuite/vector/ext_pointer/modifiers/insert.cc: Likewise.
	* testsuite/vector/ext_pointer/resize.cc: Likewise.
	* testsuite/vector/modifiers/1.cc: Likewise.
	* testsuite/vector/modifiers/2.cc: Likewise.
	* testsuite/vector/modifiers/emplace/self_emplace.cc: Likewise.
	* testsuite/vector/modifiers/erase/1.cc: Likewise.
	* testsuite/vector/modifiers/erase/moveable.cc: Likewise.
	* testsuite/vector/modifiers/insert/1.cc: Likewise.
	* testsuite/vector/modifiers/insert/self_insert.cc: Likewise.
	* testsuite/vector/modifiers/moveable.cc: Likewise.
	* testsuite/vector/modifiers/moveable2.cc: Likewise.
	* testsuite/vector/modifiers/push_back/49836.cc: Likewise.
	* testsuite/vector/modifiers/swap/1.cc: Likewise.
	* testsuite/vector/modifiers/swap/2.cc: Likewise.
	* testsuite/vector/modifiers/swap/3.cc: Likewise.
	* testsuite/vector/zero_sized_allocations.cc: Likewise.

From-SVN: r241241
parent b12b1915
...@@ -24,8 +24,6 @@ void ...@@ -24,8 +24,6 @@ void
test01() test01()
{ {
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
...@@ -34,8 +32,6 @@ test01() ...@@ -34,8 +32,6 @@ test01()
} }
{ {
bool test __attribute__((unused)) = true;
const size_t len = 0; const size_t len = 0;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
array_type a; array_type a;
......
...@@ -24,8 +24,6 @@ void ...@@ -24,8 +24,6 @@ void
test01() test01()
{ {
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
...@@ -34,8 +32,6 @@ test01() ...@@ -34,8 +32,6 @@ test01()
} }
{ {
bool test __attribute__((unused)) = true;
const size_t len = 0; const size_t len = 0;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
array_type a; array_type a;
......
...@@ -24,8 +24,6 @@ void ...@@ -24,8 +24,6 @@ void
test01() test01()
{ {
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
...@@ -34,8 +32,6 @@ test01() ...@@ -34,8 +32,6 @@ test01()
} }
{ {
bool test __attribute__((unused)) = true;
const size_t len = 0; const size_t len = 0;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
array_type a; array_type a;
......
...@@ -25,7 +25,6 @@ test01() ...@@ -25,7 +25,6 @@ test01()
{ {
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
bool test __attribute__((unused)) = true;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
array_type b = { { 0, 1, 2, 3, 4 } }; array_type b = { { 0, 1, 2, 3, 4 } };
array_type c = { { 0, 1, 2, 3 } }; array_type c = { { 0, 1, 2, 3 } };
......
...@@ -25,7 +25,6 @@ test01() ...@@ -25,7 +25,6 @@ test01()
{ {
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
bool test __attribute__((unused)) = true;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
array_type b = { { 0, 1, 2, 3, 4 } }; array_type b = { { 0, 1, 2, 3, 4 } };
array_type c = { { 0, 1, 2, 3, 7 } }; array_type c = { { 0, 1, 2, 3, 7 } };
......
...@@ -25,7 +25,6 @@ test01() ...@@ -25,7 +25,6 @@ test01()
{ {
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
bool test __attribute__((unused)) = true;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
array_type b = { { 0, 1, 2, 3, 4 } }; array_type b = { { 0, 1, 2, 3, 4 } };
array_type c = { { 0, 1, 2, 3, 7 } }; array_type c = { { 0, 1, 2, 3, 7 } };
......
...@@ -25,7 +25,6 @@ test01() ...@@ -25,7 +25,6 @@ test01()
{ {
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
bool test __attribute__((unused)) = true;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
array_type b = { { 0, 1, 2, 3, 4 } }; array_type b = { { 0, 1, 2, 3, 4 } };
array_type c = { { 0, 1, 2, 3, 7 } }; array_type c = { { 0, 1, 2, 3, 7 } };
......
...@@ -25,7 +25,6 @@ test01() ...@@ -25,7 +25,6 @@ test01()
{ {
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
bool test __attribute__((unused)) = true;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
array_type b = { { 0, 1, 2, 3, 4 } }; array_type b = { { 0, 1, 2, 3, 4 } };
array_type c = { { 0, 1, 2, 3, 7 } }; array_type c = { { 0, 1, 2, 3, 7 } };
......
...@@ -25,7 +25,6 @@ test01() ...@@ -25,7 +25,6 @@ test01()
{ {
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
bool test __attribute__((unused)) = true;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
array_type b = { { 0, 1, 2, 3, 4 } }; array_type b = { { 0, 1, 2, 3, 4 } };
array_type c = { { 0, 1, 2, 3 } }; array_type c = { { 0, 1, 2, 3 } };
......
...@@ -29,8 +29,6 @@ struct A ...@@ -29,8 +29,6 @@ struct A
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const std::array<A, 1> a; const std::array<A, 1> a;
const A& aa = a.at(0); const A& aa = a.at(0);
VERIFY(aa.valid); VERIFY(aa.valid);
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
......
...@@ -22,9 +22,7 @@ ...@@ -22,9 +22,7 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
......
...@@ -22,9 +22,7 @@ ...@@ -22,9 +22,7 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
......
...@@ -22,9 +22,7 @@ ...@@ -22,9 +22,7 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
array_type a = { { 0, 1, 2, 3, 4 } }; array_type a = { { 0, 1, 2, 3, 4 } };
......
...@@ -24,9 +24,7 @@ ...@@ -24,9 +24,7 @@
// DR 776. Undescribed assign function of std::array. // DR 776. Undescribed assign function of std::array.
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 3; const size_t len = 3;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
......
...@@ -22,9 +22,7 @@ ...@@ -22,9 +22,7 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 0; const size_t len = 0;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
......
...@@ -22,9 +22,7 @@ ...@@ -22,9 +22,7 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
const size_t len = 5; const size_t len = 5;
typedef std::array<int, len> array_type; typedef std::array<int, len> array_type;
......
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
using std::array; using std::array;
using std::tuple_element; using std::tuple_element;
// This relies on the fact that <utility> includes <type_traits>: // This relies on the fact that <utility> includes <type_traits>:
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
using namespace std; using namespace std;
const size_t len = 3; const size_t len = 3;
......
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
using std::array; using std::array;
using std::tuple_size; using std::tuple_size;
// This relies on the fact that <utility> includes <type_traits>: // This relies on the fact that <utility> includes <type_traits>:
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
// DR 693. std::bitset::all() missing. // DR 693. std::bitset::all() missing.
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::bitset<0> z1; std::bitset<0> z1;
VERIFY( z1.all() ); VERIFY( z1.all() );
z1.set(); z1.set();
......
...@@ -25,10 +25,8 @@ ...@@ -25,10 +25,8 @@
#include <stdexcept> #include <stdexcept>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
bool test01(void) void test01(void)
{ {
bool test __attribute__((unused)) = true;
// bitset() // bitset()
const size_t n1 = 5; const size_t n1 = 5;
std::bitset<n1> bit01; std::bitset<n1> bit01;
...@@ -73,7 +71,6 @@ bool test01(void) ...@@ -73,7 +71,6 @@ bool test01(void)
catch(...) { catch(...) {
VERIFY( false ); VERIFY( false );
} }
return test;
} }
int main() int main()
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
void test01() void test01()
{ {
using __gnu_debug::bitset; using __gnu_debug::bitset;
bool test __attribute__((unused)) = true;
bitset<5> b(7); bitset<5> b(7);
bitset<5> c; bitset<5> c;
......
...@@ -29,8 +29,6 @@ struct X ...@@ -29,8 +29,6 @@ struct X
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
X x; X x;
std::string s(x); std::string s(x);
std::bitset<32> b1(static_cast<const char*>(x)); std::bitset<32> b1(static_cast<const char*>(x));
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
const unsigned long long num0 = 0ULL; const unsigned long long num0 = 0ULL;
std::bitset<0> bs0(num0); std::bitset<0> bs0(num0);
VERIFY( bs0.to_ullong() == num0 ); VERIFY( bs0.to_ullong() == num0 );
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
// libstdc++/50268 // libstdc++/50268
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::bitset<1> b1(3ULL); std::bitset<1> b1(3ULL);
VERIFY( b1.count() == 1ULL ); VERIFY( b1.count() == 1ULL );
......
...@@ -26,10 +26,9 @@ ...@@ -26,10 +26,9 @@
// boundary condition: a zero-sized set // boundary condition: a zero-sized set
// libstdc++/6282 // libstdc++/6282
bool test02(void) void test02(void)
{ {
using std::char_traits; using std::allocator; using std::char_traits; using std::allocator;
bool test __attribute__((unused)) = true;
std::bitset<0> z1; std::bitset<0> z1;
VERIFY( z1.any() == false ); VERIFY( z1.any() == false );
...@@ -53,7 +52,6 @@ bool test02(void) ...@@ -53,7 +52,6 @@ bool test02(void)
VERIFY( z1.to_ulong() == 0 ); VERIFY( z1.to_ulong() == 0 );
VERIFY( (z1.to_string<char,char_traits<char>,allocator<char> >().empty() )); VERIFY( (z1.to_string<char,char_traits<char>,allocator<char> >().empty() ));
return test;
} }
int main() int main()
......
...@@ -38,7 +38,6 @@ template<std::size_t Nb, typename CharT> ...@@ -38,7 +38,6 @@ template<std::size_t Nb, typename CharT>
// DR 1325. // DR 1325.
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
using namespace std; using namespace std;
const char s1[4] = { '0', '1', '0', '1' }; const char s1[4] = { '0', '1', '0', '1' };
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
// DR 396. what are characters zero and one. // DR 396. what are characters zero and one.
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::bitset<4> z1(std::string("bbab"), 0, std::string::npos, 'a', 'b'); std::bitset<4> z1(std::string("bbab"), 0, std::string::npos, 'a', 'b');
VERIFY( z1.to_string('a', 'b') == "bbab" ); VERIFY( z1.to_string('a', 'b') == "bbab" );
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
void test01() void test01()
{ {
using namespace std; using namespace std;
bool test __attribute__((unused)) = true;
bitset<256> b; bitset<256> b;
b.set(225); b.set(225);
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
void test01() void test01()
{ {
using namespace std; using namespace std;
bool test __attribute__((unused)) = true;
bitset<5> b5; bitset<5> b5;
bitset<0> b0; bitset<0> b0;
......
...@@ -56,8 +56,9 @@ shift_arrays(size_t shift_step, size_t size) { ...@@ -56,8 +56,9 @@ shift_arrays(size_t shift_step, size_t size) {
template <size_t size> template <size_t size>
bool bool
do_test() { do_test()
bool test __attribute__((unused)) = true; {
bool test = true;
std::bitset<size> shifted; std::bitset<size> shifted;
std::bitset<size> correct; std::bitset<size> correct;
...@@ -86,10 +87,8 @@ template <size_t size> ...@@ -86,10 +87,8 @@ template <size_t size>
return test; return test;
} }
bool void
test01() { test01() {
bool test __attribute__((unused)) = true;
VERIFY( do_test<32>() ); VERIFY( do_test<32>() );
VERIFY( do_test<48>() ); VERIFY( do_test<48>() );
VERIFY( do_test<64>() ); VERIFY( do_test<64>() );
...@@ -97,7 +96,6 @@ test01() { ...@@ -97,7 +96,6 @@ test01() {
VERIFY( do_test<511>() ); VERIFY( do_test<511>() );
VERIFY( do_test<513>() ); VERIFY( do_test<513>() );
VERIFY( do_test<997>() ); VERIFY( do_test<997>() );
return test;
} }
int int
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
void test01() void test01()
{ {
using __gnu_debug::bitset; using __gnu_debug::bitset;
bool test __attribute__((unused)) = true;
bitset<4> b0, b1; bitset<4> b0, b1;
b0.set(1); b0.set(1);
......
...@@ -22,15 +22,12 @@ ...@@ -22,15 +22,12 @@
#include <bitset> #include <bitset>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
bool void
test02() test02()
{ {
bool test __attribute__((unused)) = true;
std::bitset<66> b; std::bitset<66> b;
b <<= 400; b <<= 400;
VERIFY( b.count() == 0 ); VERIFY( b.count() == 0 );
return test;
} }
int int
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
void void
test01(void) test01(void)
{ {
bool test __attribute__((unused)) = true;
const size_t n1 = 5; const size_t n1 = 5;
// the other 22 member functions should be in here too... // the other 22 member functions should be in here too...
...@@ -42,7 +41,6 @@ test01(void) ...@@ -42,7 +41,6 @@ test01(void)
catch(...) { catch(...) {
VERIFY( false ); VERIFY( false );
} }
VERIFY( test );
} }
int main() int main()
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
void test01() void test01()
{ {
using namespace std; using namespace std;
bool test __attribute__((unused)) = true;
bitset<5> b5; bitset<5> b5;
string s0 = b5.to_string<char, char_traits<char>, allocator<char> >(); string s0 = b5.to_string<char, char_traits<char>, allocator<char> >();
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
void test01() void test01()
{ {
using namespace std; using namespace std;
bool test __attribute__((unused)) = true;
bitset<5> b5; bitset<5> b5;
string s0 = b5.to_string<char, char_traits<char>, allocator<char> >('a', 'b'); string s0 = b5.to_string<char, char_traits<char>, allocator<char> >('a', 'b');
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::bitset<0> bs0; std::bitset<0> bs0;
VERIFY( bs0.to_ullong() == 0 ); VERIFY( bs0.to_ullong() == 0 );
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
void test03() void test03()
{ {
bool test __attribute__((unused)) = true;
std::bitset<5> b; std::bitset<5> b;
std::stringstream ss("101"); std::stringstream ss("101");
ss.exceptions(std::ios_base::eofbit); ss.exceptions(std::ios_base::eofbit);
......
...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator; ...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, false> alloc_type; typedef propagating_allocator<T, false> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
...@@ -38,7 +37,6 @@ void test01() ...@@ -38,7 +37,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
...@@ -49,7 +47,6 @@ void test02() ...@@ -49,7 +47,6 @@ void test02()
void test03() void test03()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
......
...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator; ...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, false> alloc_type; typedef propagating_allocator<T, false> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
...@@ -39,7 +38,6 @@ void test01() ...@@ -39,7 +38,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
......
...@@ -30,7 +30,6 @@ template class std::deque<T, CustomPointerAlloc<T>>; ...@@ -30,7 +30,6 @@ template class std::deque<T, CustomPointerAlloc<T>>;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef CustomPointerAlloc<T> alloc_type; typedef CustomPointerAlloc<T> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v(1); test_type v(1);
......
...@@ -30,7 +30,6 @@ template class std::deque<T, SimpleAllocator<T>>; ...@@ -30,7 +30,6 @@ template class std::deque<T, SimpleAllocator<T>>;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef SimpleAllocator<T> alloc_type; typedef SimpleAllocator<T> alloc_type;
typedef std::allocator_traits<alloc_type> traits_type; typedef std::allocator_traits<alloc_type> traits_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
......
...@@ -27,7 +27,6 @@ using __gnu_test::uneq_allocator; ...@@ -27,7 +27,6 @@ using __gnu_test::uneq_allocator;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef uneq_allocator<T> alloc_type; typedef uneq_allocator<T> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
...@@ -45,7 +44,6 @@ void test01() ...@@ -45,7 +44,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef uneq_allocator<T> alloc_type; typedef uneq_allocator<T> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
......
...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator; ...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, false> alloc_type; typedef propagating_allocator<T, false> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
...@@ -39,7 +38,6 @@ void test01() ...@@ -39,7 +38,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
...@@ -53,7 +51,6 @@ void test02() ...@@ -53,7 +51,6 @@ void test02()
void test03() void test03()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, false> alloc_type; typedef propagating_allocator<T, false> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
......
...@@ -45,7 +45,6 @@ operator!=(const propagating_allocator<T, false>&, ...@@ -45,7 +45,6 @@ operator!=(const propagating_allocator<T, false>&,
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, false> alloc_type; typedef propagating_allocator<T, false> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
...@@ -59,7 +58,6 @@ void test01() ...@@ -59,7 +58,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::deque<T, alloc_type> test_type; typedef std::deque<T, alloc_type> test_type;
test_type v1(1, alloc_type(1)); test_type v1(1, alloc_type(1));
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
// libstdc++/29134 // libstdc++/29134
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
using namespace std; using namespace std;
deque<int> d; deque<int> d;
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
// libstdc++/29134 // libstdc++/29134
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::deque<int> d; std::deque<int> d;
VERIFY( d.max_size() == d.get_allocator().max_size() ); VERIFY( d.max_size() == d.get_allocator().max_size() );
......
...@@ -26,8 +26,6 @@ using namespace __gnu_test; ...@@ -26,8 +26,6 @@ using namespace __gnu_test;
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
std::deque<copycounter> a; std::deque<copycounter> a;
copycounter::copycount = 0; copycounter::copycount = 0;
a.resize(10); a.resize(10);
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::deque<__gnu_test::NonCopyConstructible> d; std::deque<__gnu_test::NonCopyConstructible> d;
VERIFY( std::distance(d.begin(), d.end()) == 0 ); VERIFY( std::distance(d.begin(), d.end()) == 0 );
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
// libstdc++/42573 // libstdc++/42573
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::vector<int> d(100); std::vector<int> d(100);
d.push_back(1); d.push_back(1);
d.push_back(1); d.push_back(1);
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
typedef std::deque<__gnu_test::object_counter> gdeque; typedef std::deque<__gnu_test::object_counter> gdeque;
bool test __attribute__((unused)) = true;
// see http://gcc.gnu.org/ml/libstdc++/2001-11/msg00139.html // see http://gcc.gnu.org/ml/libstdc++/2001-11/msg00139.html
void void
test01() test01()
......
...@@ -35,8 +35,6 @@ using __gnu_test::destructor; ...@@ -35,8 +35,6 @@ using __gnu_test::destructor;
typedef std::deque<object_counter> gdeque; typedef std::deque<object_counter> gdeque;
bool test __attribute__((unused)) = true;
// 23.2.1 required types // 23.2.1 required types
// //
// A missing required type will cause a compile failure. // A missing required type will cause a compile failure.
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
using namespace std; using namespace std;
int data3[1000]; int data3[1000];
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::deque<__gnu_test::NonCopyConstructible> d(1000); std::deque<__gnu_test::NonCopyConstructible> d(1000);
VERIFY( std::distance(d.begin(), d.end()) == 1000 ); VERIFY( std::distance(d.begin(), d.end()) == 1000 );
for(auto it = d.begin(); it != d.end(); ++it) for(auto it = d.begin(); it != d.end(); ++it)
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
int main() int main()
{ {
bool test __attribute__((unused)) = true;
std::deque<int> a,b; std::deque<int> a,b;
a.push_back(1); a.push_back(1);
b = std::move(a); b = std::move(a);
......
...@@ -38,8 +38,6 @@ const unsigned N5 = sizeof(A5) / sizeof(int); ...@@ -38,8 +38,6 @@ const unsigned N5 = sizeof(A5) / sizeof(int);
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
typedef std::deque<int> deque_type; typedef std::deque<int> deque_type;
typedef deque_type::iterator iterator_type; typedef deque_type::iterator iterator_type;
...@@ -78,8 +76,6 @@ test01() ...@@ -78,8 +76,6 @@ test01()
void void
test02() test02()
{ {
bool test __attribute__((unused)) = true;
typedef std::deque<std::deque<int> > deque_type; typedef std::deque<std::deque<int> > deque_type;
typedef deque_type::iterator iterator_type; typedef deque_type::iterator iterator_type;
......
...@@ -58,8 +58,6 @@ template<typename T> ...@@ -58,8 +58,6 @@ template<typename T>
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
typedef std::deque<T> deque_type; typedef std::deque<T> deque_type;
typedef typename deque_type::iterator iterator_type; typedef typename deque_type::iterator iterator_type;
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
void erase(size_t num_elm, size_t elm_strt, size_t elm_end) void erase(size_t num_elm, size_t elm_strt, size_t elm_end)
{ {
bool test __attribute__((unused)) = true;
using __gnu_test::copy_tracker; using __gnu_test::copy_tracker;
using __gnu_test::assignment_operator; using __gnu_test::assignment_operator;
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
using namespace __gnu_test; using namespace __gnu_test;
std::deque<copycounter> a(40); std::deque<copycounter> a(40);
......
...@@ -28,8 +28,6 @@ using namespace __gnu_test; ...@@ -28,8 +28,6 @@ using namespace __gnu_test;
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
std::deque<copycounter> a; std::deque<copycounter> a;
copycounter c(1); copycounter c(1);
copycounter::copycount = 0; copycounter::copycount = 0;
...@@ -42,8 +40,6 @@ test01() ...@@ -42,8 +40,6 @@ test01()
void void
test02() test02()
{ {
bool test __attribute__((unused)) = true;
std::deque<copycounter> a; std::deque<copycounter> a;
copycounter c(1); copycounter c(1);
copycounter::copycount = 0; copycounter::copycount = 0;
...@@ -56,8 +52,6 @@ test02() ...@@ -56,8 +52,6 @@ test02()
void void
test03() test03()
{ {
bool test __attribute__((unused)) = true;
std::deque<copycounter> a(1000); std::deque<copycounter> a(1000);
copycounter c(1); copycounter c(1);
copycounter::copycount = 0; copycounter::copycount = 0;
...@@ -73,8 +67,6 @@ test03() ...@@ -73,8 +67,6 @@ test03()
void void
test04() test04()
{ {
bool test __attribute__((unused)) = true;
copycounter c(1); copycounter c(1);
std::deque<copycounter> a(10, c); std::deque<copycounter> a(10, c);
copycounter::copycount = 0; copycounter::copycount = 0;
...@@ -100,8 +92,6 @@ test04() ...@@ -100,8 +92,6 @@ test04()
void void
test05() test05()
{ {
bool test __attribute__((unused)) = true;
copycounter c(1); copycounter c(1);
std::deque<copycounter> a(10, c); std::deque<copycounter> a(10, c);
copycounter::copycount = 0; copycounter::copycount = 0;
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
// libstdc++/49836 // libstdc++/49836
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
using __gnu_test::CopyConsOnlyType; using __gnu_test::CopyConsOnlyType;
using __gnu_test::MoveConsOnlyType; using __gnu_test::MoveConsOnlyType;
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
// libstdc++/49836 // libstdc++/49836
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
using __gnu_test::CopyConsOnlyType; using __gnu_test::CopyConsOnlyType;
using __gnu_test::MoveConsOnlyType; using __gnu_test::MoveConsOnlyType;
......
...@@ -33,7 +33,6 @@ namespace std ...@@ -33,7 +33,6 @@ namespace std
// Should use deque specialization for swap. // Should use deque specialization for swap.
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::deque<T> A; std::deque<T> A;
std::deque<T> B; std::deque<T> B;
swap_calls = 0; swap_calls = 0;
...@@ -44,7 +43,6 @@ void test01() ...@@ -44,7 +43,6 @@ void test01()
// Should use deque specialization for swap. // Should use deque specialization for swap.
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
using namespace std; using namespace std;
deque<T> A; deque<T> A;
deque<T> B; deque<T> B;
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
using namespace std; using namespace std;
typedef __gnu_test::uneq_allocator<char> my_alloc; typedef __gnu_test::uneq_allocator<char> my_alloc;
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
using namespace std; using namespace std;
typedef __gnu_test::uneq_allocator<char> my_alloc; typedef __gnu_test::uneq_allocator<char> my_alloc;
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
// libstdc++/6503 // libstdc++/6503
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::deque<int> d(2); std::deque<int> d(2);
typedef std::deque<int>::iterator iter; typedef std::deque<int>::iterator iter;
typedef std::deque<int>::const_iterator constiter; typedef std::deque<int>::const_iterator constiter;
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
// libstdc++/7186 // libstdc++/7186
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
std::deque<int> d(2); std::deque<int> d(2);
typedef std::deque<int>::iterator iter; typedef std::deque<int>::iterator iter;
typedef std::deque<int>::const_iterator constiter; typedef std::deque<int>::const_iterator constiter;
......
...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator; ...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, false> alloc_type; typedef propagating_allocator<T, false> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
...@@ -39,7 +38,6 @@ void test01() ...@@ -39,7 +38,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
...@@ -51,7 +49,6 @@ void test02() ...@@ -51,7 +49,6 @@ void test02()
void test03() void test03()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
......
...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator; ...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, false> alloc_type; typedef propagating_allocator<T, false> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
...@@ -41,7 +40,6 @@ void test01() ...@@ -41,7 +40,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
......
...@@ -32,7 +32,6 @@ template class std::forward_list<T, CustomPointerAlloc<T>>; ...@@ -32,7 +32,6 @@ template class std::forward_list<T, CustomPointerAlloc<T>>;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef CustomPointerAlloc<T> alloc_type; typedef CustomPointerAlloc<T> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v; test_type v;
......
...@@ -32,7 +32,6 @@ template class std::forward_list<T, SimpleAllocator<T>>; ...@@ -32,7 +32,6 @@ template class std::forward_list<T, SimpleAllocator<T>>;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef SimpleAllocator<T> alloc_type; typedef SimpleAllocator<T> alloc_type;
typedef std::allocator_traits<alloc_type> traits_type; typedef std::allocator_traits<alloc_type> traits_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
......
...@@ -27,7 +27,6 @@ using __gnu_test::uneq_allocator; ...@@ -27,7 +27,6 @@ using __gnu_test::uneq_allocator;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef uneq_allocator<T> alloc_type; typedef uneq_allocator<T> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
...@@ -41,7 +40,6 @@ void test01() ...@@ -41,7 +40,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef uneq_allocator<T> alloc_type; typedef uneq_allocator<T> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
......
...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator; ...@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, false> alloc_type; typedef propagating_allocator<T, false> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
...@@ -41,7 +40,6 @@ void test01() ...@@ -41,7 +40,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
......
...@@ -44,7 +44,6 @@ operator!=(const propagating_allocator<T, false>&, ...@@ -44,7 +44,6 @@ operator!=(const propagating_allocator<T, false>&,
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, false> alloc_type; typedef propagating_allocator<T, false> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
...@@ -60,7 +59,6 @@ void test01() ...@@ -60,7 +59,6 @@ void test01()
void test02() void test02()
{ {
bool test __attribute__((unused)) = true;
typedef propagating_allocator<T, true> alloc_type; typedef propagating_allocator<T, true> alloc_type;
typedef std::forward_list<T, alloc_type> test_type; typedef std::forward_list<T, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
std::forward_list<double> fld; std::forward_list<double> fld;
VERIFY(fld.empty() == true); VERIFY(fld.empty() == true);
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::forward_list<__gnu_test::NonCopyConstructible> fl; std::forward_list<__gnu_test::NonCopyConstructible> fl;
VERIFY( std::distance(fl.begin(), fl.end()) == 0 ); VERIFY( std::distance(fl.begin(), fl.end()) == 0 );
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
int main() int main()
{ {
std::forward_list<double> a = {0.0, 1.0, 2.0, 3.0, 4.0}; std::forward_list<double> a = {0.0, 1.0, 2.0, 3.0, 4.0};
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
// 23.2.3.n forward_list xxx [lib.forward_list.xxx] // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
// This test verifies the following: // This test verifies the following:
// Default construction // Default construction
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
// 23.2.3.n forward_list xxx [lib.forward_list.xxx] // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
// This test verifies the following: // This test verifies the following:
// Construction from iterator range // Construction from iterator range
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
// 23.2.3.n forward_list xxx [lib.forward_list.xxx] // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
// This test verifies the following: // This test verifies the following:
// Move construction with allocator // Move construction with allocator
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
// 23.2.3.n forward_list xxx [lib.forward_list.xxx] // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
// This test verifies the following: // This test verifies the following:
// Construction from given number of default item // Construction from given number of default item
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
// 23.2.3.n forward_list xxx [lib.forward_list.xxx] // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
// This test verifies the following: // This test verifies the following:
// Construction from given number of given item // Construction from given number of given item
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
// 23.2.3.n forward_list xxx [lib.forward_list.xxx] // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
// This test verifies the following: // This test verifies the following:
// Construction from iterator range // Construction from iterator range
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
// 23.2.3.n forward_list xxx [lib.forward_list.xxx] // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
// This test verifies the following: // This test verifies the following:
// Copy construction // Copy construction
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
// 23.2.3.n forward_list xxx [lib.forward_list.xxx] // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
// This test verifies the following: // This test verifies the following:
// Move construction // Move construction
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
// 23.2.3.n forward_list xxx [lib.forward_list.xxx] // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
#include <forward_list> #include <forward_list>
#include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
// This test verifies the following. // This test verifies the following.
// Construction from initializer list // Construction from initializer list
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
std::forward_list<__gnu_test::NonCopyConstructible> fl(1000); std::forward_list<__gnu_test::NonCopyConstructible> fl(1000);
VERIFY( std::distance(fl.begin(), fl.end()) == 1000 ); VERIFY( std::distance(fl.begin(), fl.end()) == 1000 );
for(auto it = fl.begin(); it != fl.end(); ++it) for(auto it = fl.begin(); it != fl.end(); ++it)
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include <utility> #include <utility>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
bool test __attribute__((unused)) = true;
int main() int main()
{ {
std::forward_list<int> a, b; std::forward_list<int> a, b;
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
std::forward_list<int> fl{1, 2, 3}; std::forward_list<int> fl{1, 2, 3};
auto before = fl.before_begin(); auto before = fl.before_begin();
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef __gnu_test::uneq_allocator<int> alloc_type; typedef __gnu_test::uneq_allocator<int> alloc_type;
typedef __gnu_debug::forward_list<int, alloc_type> test_type; typedef __gnu_debug::forward_list<int, alloc_type> test_type;
test_type v1(alloc_type(1)); test_type v1(alloc_type(1));
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
std::forward_list<int> fl1{1, 2, 3}; std::forward_list<int> fl1{1, 2, 3};
auto it = fl1.begin(); auto it = fl1.begin();
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef __gnu_test::propagating_allocator<int, false> alloc_type; typedef __gnu_test::propagating_allocator<int, false> alloc_type;
typedef __gnu_debug::forward_list<int, alloc_type> test_type; typedef __gnu_debug::forward_list<int, alloc_type> test_type;
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
std::forward_list<int> fl1{1, 3, 5}; std::forward_list<int> fl1{1, 3, 5};
auto flit = fl1.before_begin(); auto flit = fl1.before_begin();
......
...@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator; ...@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
void test01() void test01()
{ {
bool test __attribute__((unused)) = true;
typedef uneq_allocator<int> alloc_type; typedef uneq_allocator<int> alloc_type;
typedef __gnu_debug::forward_list<int, alloc_type> test_type; typedef __gnu_debug::forward_list<int, alloc_type> test_type;
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
void void
test01() test01()
{ {
bool test __attribute__((unused)) = true;
std::forward_list<int> fl1{1, 2, 3}; std::forward_list<int> fl1{1, 2, 3};
std::forward_list<int> fl2{4, 5, 6}; std::forward_list<int> fl2{4, 5, 6};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment