gcc/libstdc++-v3/testsuite/17_intro
Jonathan Wakely 29046e02b8 libstdc++: Fix test that fails in C++20 mode [PR 99995]
The 17_intro/headers/c++1998/49745.cc test fails for C++20 mode with PCH
enabled, because PCH makes it include <bits/stdc++.h>, which includes
<atomic>, and that includes <unistd.h> in C++20 mode. The <unistd.h>
dependency should go away when C++20 atomic waiting is stable, but will
probably remain while the feature is experimental. Change the test to
always include <bits/stdc++.h>, and XFAIL for C++20 and later.

libstdc++-v3/ChangeLog:

	PR libstdc++/99995
	* testsuite/17_intro/headers/c++1998/49745.cc: Include all
	standard headers and XFAIL for effective-target c++20.
2021-04-12 11:34:19 +01:00
..
headers libstdc++: Fix test that fails in C++20 mode [PR 99995] 2021-04-12 11:34:19 +01:00
badnames.cc Update copyright years. 2021-01-04 10:26:59 +01:00
freestanding.cc Update copyright years. 2021-01-04 10:26:59 +01:00
names.cc libstdc++, testsuite, Darwin : Adjust for names used in system headers. 2021-03-15 15:42:39 +00:00
shared_with_static_deps.cc Update copyright years. 2021-01-04 10:26:59 +01:00
static.cc Update copyright years. 2021-01-04 10:26:59 +01:00
tag_type_explicit_ctor.cc Update copyright years. 2021-01-04 10:26:59 +01:00
using_namespace_std_exp_neg.cc Update copyright years. 2021-01-04 10:26:59 +01:00
using_namespace_std_tr1_neg.cc Update copyright years. 2021-01-04 10:26:59 +01:00
using_namespace_std.cc Update copyright years. 2021-01-04 10:26:59 +01:00