gcc/libstdc++-v3/testsuite/17_intro
Jonathan Wakely 271ad97b6b PR libstdc++/89023 fix test that fails when <omp.h> not available
Instead of a single test that only checks whether <regex> can be
included in Parallel Mode, add tests for each of C++11/C++14/C++17 that
check whether <bits/extc++.h> is compatible with _GLIBCXX_PARALLEL.
This increases the coverage to (almost) all headers.

If <omp.h> is not available then the tests will trivially pass, because
we don't care about compatibility with _GLIBCXX_PARALLEL in that case.

	PR libstdc++/89023
	* testsuite/17_intro/headers/c++2011/parallel_mode.cc: New test.
	* testsuite/17_intro/headers/c++2014/parallel_mode.cc: New test.
	* testsuite/17_intro/headers/c++2017/parallel_mode.cc: New test.
	* testsuite/28_regex/headers/regex/parallel_mode.cc: Remove.

From-SVN: r268769
2019-02-11 12:56:59 +00:00
..
headers PR libstdc++/89023 fix test that fails when <omp.h> not available 2019-02-11 12:56:59 +00:00
freestanding.cc Update copyright years. 2019-01-01 13:31:55 +01:00
names.cc Update copyright years. 2019-01-01 13:31:55 +01:00
shared_with_static_deps.cc Update copyright years. 2019-01-01 13:31:55 +01:00
static.cc Update copyright years. 2019-01-01 13:31:55 +01:00
tag_type_explicit_ctor.cc Update copyright years. 2019-01-01 13:31:55 +01:00
using_namespace_std_exp_neg.cc Update copyright years. 2019-01-01 13:31:55 +01:00
using_namespace_std_tr1_neg.cc Update copyright years. 2019-01-01 13:31:55 +01:00
using_namespace_std.cc Update copyright years. 2019-01-01 13:31:55 +01:00