gcc/libstdc++-v3/testsuite/17_intro
Jonathan Wakely 77963796ae libstdc++: Fix test for libstdc++ not including <unistd.h> [PR100117]
The <cxxx> headers for the C library are not under our control, so we
can't prevent them from including <unistd.h>. Change the PR 49745 test
to only include the C++ library headers, not the <cxxx> ones.

To ensure <bits/stdc++.h> isn't included automatically we need to use
no_pch to disable PCH.

libstdc++-v3/ChangeLog:

	PR libstdc++/100117
	* testsuite/17_intro/headers/c++1998/49745.cc: Explicitly list
	all C++ headers instead of including <bits/stdc++.h>
2021-11-10 12:03:29 +00:00
..
headers libstdc++: Fix test for libstdc++ not including <unistd.h> [PR100117] 2021-11-10 12:03:29 +00: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++: Fix 17_intro/names.cc on Solaris 2021-10-26 14:00:18 +02: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