gcc/libstdc++-v3/testsuite/23_containers
Jonathan Wakely 9a9c7a625d Fix tests that fail without PCH
The recent change to stop transitively including <string> broke some
tests, but only when the library is configured without PCH, because
otherwise the <string> header still gets included via the precompiled
<bits/stdc++.h> header.

	* testsuite/20_util/bad_function_call/what.cc: Include <string> header
	for std::string.
	* testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Likewise.
	* testsuite/20_util/tuple/cons/allocator_with_any.cc: Include <memory>
	header for std::allocator.
	* testsuite/23_containers/array/tuple_interface/tuple_element.cc: Add
	using-declaration for std::size_t.
	* testsuite/23_containers/array/tuple_interface/tuple_size.cc:
	Likewise.
	* testsuite/23_containers/deque/cons/55977.cc: Include <istream> for
	std::istream.
	* testsuite/23_containers/vector/cons/55977.cc: Likewise.
	* testsuite/experimental/map/erasure.cc: Include <string> for
	std::string.
	* testsuite/experimental/unordered_map/erasure.cc: Likewise.

From-SVN: r272376
2019-06-17 09:18:17 +01:00
..
array Fix tests that fail without PCH 2019-06-17 09:18:17 +01:00
bitset Update copyright years. 2019-01-01 13:31:55 +01:00
deque Fix tests that fail without PCH 2019-06-17 09:18:17 +01:00
forward_list Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
headers Update copyright years. 2019-01-01 13:31:55 +01:00
list Fix more failing tests for C++98 mode 2019-06-06 16:34:51 +01:00
map Avoid unnecessary inclusion of <stdexcept> header 2019-06-06 16:34:56 +01:00
multimap Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
multiset Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
priority_queue LWG 2537 fix priority_queue constructors to establish invariant 2019-02-14 14:10:19 +00:00
queue PR libstdc++/89128 add deduction guides for container adaptors 2019-02-05 22:58:22 +00:00
set Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
stack PR libstdc++/89128 add deduction guides for container adaptors 2019-02-05 22:58:22 +00:00
unordered_map Avoid unnecessary inclusion of <stdexcept> header 2019-06-06 16:34:56 +01:00
unordered_multimap Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
unordered_multiset Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
unordered_set Fix more tests that fail in C++2a mode 2019-06-06 16:34:45 +01:00
vector Fix tests that fail without PCH 2019-06-17 09:18:17 +01:00