gcc/libstdc++-v3/testsuite/20_util/optional
Jonathan Wakely 7759a387e2 PR libstdc++/79433 no #error for including headers with wrong -std
Backport from mainline
2017-09-12  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/79433
	* doc/xml/manual/status_cxx2017.xml: Update feature-test macros.
	* doc/html/*: Regenerate.
	* include/Makefile.am: Remove <bits/c++17_warning.h>.
	* include/Makefile.in: Regenerate.
	* include/bits/c++17_warning.h: Remove.
	* include/bits/string_view.tcc: Do not include <bits/c++17_warning.h>
	for pre-C++17 modes.
	* include/std/any: Likewise.
	(__cpp_lib_any): Define.
	* include/std/mutex (__cpp_lib_scoped_lock): Adjust value as per new
	SD-6 draft.
	* include/std/numeric (__cpp_lib_gcd_lcm): Define as per new SD-6
	draft.
	* include/std/optional: Do not include <bits/c++17_warning.h>.
	(__cpp_lib_optional): Define.
	* include/std/shared_mutex: Do not include <bits/c++14_warning.h>.
	* include/std/string_view: Do not include <bits/c++17_warning.h>.
	(__cpp_lib_string_view): Define.
	* include/std/variant: Do not include <bits/c++17_warning.h>.
	(__cpp_lib_variant): Define.
	* testsuite/20_util/optional/cons/value_neg.cc: Adjust dg-error line
	numbers.
	* testsuite/26_numerics/gcd/1.cc: Test for __cpp_lib_gcd_lcm.
	* testsuite/26_numerics/gcd/gcd_neg.cc: Adjust dg-error line
	numbers.
	* testsuite/26_numerics/lcm/1.cc: Test for __cpp_lib_gcd_lcm.
	* testsuite/26_numerics/lcm/lcm_neg.cc: Adjust dg-error line
	numbers.
	* testsuite/30_threads/scoped_lock/requirements/typedefs.cc: Adjust
	expected value of __cpp_lib_scoped_lock.

From-SVN: r253943
2017-10-20 16:14:29 +01:00
..
assignment Implement LWG 2857, {variant,optional,any}::emplace should return the constructed value. 2017-03-16 01:13:20 +02:00
cons PR libstdc++/79433 no #error for including headers with wrong -std 2017-10-20 16:14:29 +01:00
constexpr Implement LWG 2900, The copy and move constructors of optional are not constexpr. 2017-03-29 02:05:21 +03:00
observers Update copyright years. 2017-01-01 13:07:43 +01:00
relops Implement LWG 2934, optional<const T> doesn't compare with T. 2017-03-12 12:32:31 +02:00
swap Update copyright years. 2017-01-01 13:07:43 +01:00
77288.cc Update copyright years. 2017-01-01 13:07:43 +01:00
hash.cc PR libstdc++/82262 fix std::hash<std::optional<const T>> 2017-09-20 15:22:29 +01:00
in_place.cc Update copyright years. 2017-01-01 13:07:43 +01:00
make_optional.cc Update copyright years. 2017-01-01 13:07:43 +01:00
nullopt.cc Update copyright years. 2017-01-01 13:07:43 +01:00
requirements.cc Update copyright years. 2017-01-01 13:07:43 +01:00
typedefs.cc Implement LWG 2806, Base class of bad_optional_access. 2017-03-13 20:03:30 +02:00