gcc/libstdc++-v3/testsuite/30_threads/thread
Jonathan Wakely 623cd25e68
libstdc++: Do not include internal headers in tests
For 42319.cc the PR says that <ios> reproduced the problem, so let's
include that instead. We should also use the no_pch option because
otherwise the test is including everything anyway, and so fails to check
that the char_traits.h header can be included in isolation. There's also
no reason to use an explicit -std=gnu++11 option, we can test it for all
modes instead.

For the thread test there's no reason to use <bits/move.h> instead of
the correct header for std::move.

libstdc++-v3/ChangeLog:

	* testsuite/17_intro/headers/c++2011/42319.cc: Include <ios>
	instead of <bits/char_traits.h>. Add no_pch option. Remove
	explicit -std=gnu++11 option.
	* testsuite/30_threads/thread/swap/1.cc: Include <utility>
	instead of <bits/move.h>.
2025-10-29 17:22:39 +00:00
..
cons Update copyright years. 2025-01-02 11:59:57 +01:00
id libstdc++: Implement P3235R3 optimizations for std::print [PR121790] 2025-10-10 09:13:00 +02:00
members Update copyright years. 2025-01-02 11:59:57 +01:00
native_handle Update copyright years. 2025-01-02 11:59:57 +01:00
swap libstdc++: Do not include internal headers in tests 2025-10-29 17:22:39 +00:00
70503.cc Update copyright years. 2025-01-02 11:59:57 +01:00
84532.cc Update copyright years. 2025-01-02 11:59:57 +01:00
106695.cc
adl.cc Update copyright years. 2025-01-02 11:59:57 +01:00