gcc/libstdc++-v3/testsuite/23_containers/list
Jonathan Wakely 3ec1d76a35 libstdc++: Improve tests for emplace member of sequence containers
Our existing tests for std::deque::emplace, std::list::emplace and
std::vector::emplace are poor. We only have compile tests for PR 52799
and the equivalent for a const_iterator as the insertion point. This
fails to check that the value is actually inserted correctly and the
right iterator is returned.

Add new tests that cover the existing 52799.cc and const_iterator.cc
compile-only tests, as well as verifying the effects are correct.

libstdc++-v3/ChangeLog:

	* testsuite/23_containers/deque/modifiers/emplace/52799.cc:
	Removed.
	* testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc:
	Removed.
	* testsuite/23_containers/list/modifiers/emplace/52799.cc:
	Removed.
	* testsuite/23_containers/list/modifiers/emplace/const_iterator.cc:
	Removed.
	* testsuite/23_containers/vector/modifiers/emplace/52799.cc:
	Removed.
	* testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc:
	Removed.
	* testsuite/23_containers/deque/modifiers/emplace/1.cc: New
	test.
	* testsuite/23_containers/list/modifiers/emplace/1.cc: New
	test.
	* testsuite/23_containers/vector/modifiers/emplace/1.cc: New
	test.
2023-06-09 09:55:42 +01:00
..
allocator Update copyright years. 2023-01-16 11:52:17 +01:00
capacity Update copyright years. 2023-01-16 11:52:17 +01:00
cons Update copyright years. 2023-01-16 11:52:17 +01:00
debug Update copyright years. 2023-01-16 11:52:17 +01:00
modifiers libstdc++: Improve tests for emplace member of sequence containers 2023-06-09 09:55:42 +01:00
operations Update copyright years. 2023-01-16 11:52:17 +01:00
requirements Update copyright years. 2023-01-16 11:52:17 +01:00
types Update copyright years. 2023-01-16 11:52:17 +01:00
14340.cc Update copyright years. 2023-01-16 11:52:17 +01:00
18604.cc Update copyright years. 2023-01-16 11:52:17 +01:00
23781_neg.cc Update copyright years. 2023-01-16 11:52:17 +01:00
48101-2_neg.cc Update copyright years. 2023-01-16 11:52:17 +01:00
48101-3_neg.cc Update copyright years. 2023-01-16 11:52:17 +01:00
48101_neg.cc Update copyright years. 2023-01-16 11:52:17 +01:00
58764.cc Update copyright years. 2023-01-16 11:52:17 +01:00
61347.cc Update copyright years. 2023-01-16 11:52:17 +01:00
68222_neg.cc Update copyright years. 2023-01-16 11:52:17 +01:00
92124.cc Update copyright years. 2023-01-16 11:52:17 +01:00
check_construct_destroy.cc Update copyright years. 2023-01-16 11:52:17 +01:00
check_construct_destroy.h Update copyright years. 2023-01-16 11:52:17 +01:00
cmp_c++20.cc Update copyright years. 2023-01-16 11:52:17 +01:00
erasure.cc Update copyright years. 2023-01-16 11:52:17 +01:00
init-list.cc Update copyright years. 2023-01-16 11:52:17 +01:00
init-list.h Update copyright years. 2023-01-16 11:52:17 +01:00
pmr_typedefs.cc Update copyright years. 2023-01-16 11:52:17 +01:00
pmr_typedefs_debug.cc Update copyright years. 2023-01-16 11:52:17 +01:00
pthread1.cc Update copyright years. 2023-01-16 11:52:17 +01:00
pthread5.cc Update copyright years. 2023-01-16 11:52:17 +01:00
range_access.cc Update copyright years. 2023-01-16 11:52:17 +01:00