gcc/libstdc++-v3/testsuite
Jonathan Wakely 06db992005 Add constexpr to <iterator> and <array> for C++17
* include/bits/c++config (_GLIBCXX17_CONSTEXPR): Define.
	* include/bits/range_access.h (begin, end, rbegin, rend, crbegin)
	(crend): Add _GLIBCXX17_CONSTEXPR as per P0031R0.
	* include/bits/stl_iterator.h (reverse_iterator, move_iterator)
	(__make_reverse_iterator, make_reverse_iterator, make_move_iterator):
	Likewise.
	* include/bits/stl_iterator_base_funcs.h (__distance, __advance): Add
	_GLIBCXX14_CONSTEXPR.
	(distance, advance, next, prev): Add _GLIBCXX17_CONSTEXPR.
	* include/std/array (array::begin, array::end, array::rbegin)
	(array::rend, array::cbegin, array:cend, array::crbegin)
	(array::crend, array::operator[], array::at, array::front)
	(array::back, array::data): Likewise.
	* testsuite/24_iterators/headers/iterator/range_access.cc: Replace
	with separate tests for C++11, C++14, and C++17.
	* testsuite/24_iterators/headers/iterator/range_access_c++11.cc: New.
	* testsuite/24_iterators/headers/iterator/range_access_c++14.cc: New.
	* testsuite/24_iterators/headers/iterator/range_access_c++17.cc: New.

From-SVN: r239690
2016-08-23 11:13:12 +01:00
..
17_intro Remove "-x c" from dg-options in libstdc++ C++ test 2016-08-01 13:18:23 +01:00
18_support Skip C tests if test flags include C++ options 2016-08-02 14:32:26 +01:00
19_diagnostics Move dg-error directives to relevant lines 2016-08-02 20:34:25 +01:00
20_util Add noexcept to std::function swap 2016-08-22 17:47:34 +01:00
21_strings Simplify dg-options for tests using pthreads 2016-08-19 17:36:07 +01:00
22_locale Simplify dg-options for tests using pthreads 2016-08-19 17:36:07 +01:00
23_containers Simplify dg-options for tests using pthreads 2016-08-19 17:36:07 +01:00
24_iterators Add constexpr to <iterator> and <array> for C++17 2016-08-23 11:13:12 +01:00
25_algorithms Use effective target instead of -std in dg-options 2016-08-17 20:43:13 +01:00
26_numerics Add comment explaining why -std=c++14 is needed. 2016-08-17 17:09:15 +01:00
27_io Simplify dg-options for tests using pthreads 2016-08-19 17:36:07 +01:00
28_regex Remove unused headers and variables from libstdc++ tests 2016-08-01 13:18:08 +01:00
29_atomics Define std::atomic<T>::is_always_lock_free for C++17 2016-08-19 16:42:27 +01:00
30_threads Simplify dg-options for tests using pthreads 2016-08-19 17:36:07 +01:00
abi Skip C tests if test flags include C++ options 2016-08-02 14:32:26 +01:00
backward Fix __gnu_cxx::hash_set test to pass in C++98 mode 2016-08-01 13:45:47 +01:00
config Update copyright years. 2016-01-04 15:30:50 +01:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
experimental Define std::not_fn for C++17 2016-08-19 16:42:34 +01:00
ext Add constexpr to <iterator> and <array> for C++17 2016-08-23 11:13:12 +01:00
lib * testsuite/lib/libstdc++.exp: Fix typo in comment. 2016-08-06 11:44:17 +01:00
libstdc++-abi Update copyright years. 2016-01-04 15:30:50 +01:00
libstdc++-dg Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
libstdc++-prettyprinters Ensure stdout is newline terminated for status wrappers. 2016-02-09 20:18:10 +00:00
libstdc++-xmethods Update copyright years. 2016-01-04 15:30:50 +01:00
performance c++config (_GLIBCXX14_USE_CONSTEXPR): New. 2016-05-24 20:55:57 +00:00
special_functions Only run math special function tests for C++11 and later 2016-08-02 14:32:16 +01:00
tr1 Simplify dg-options for tests using pthreads 2016-08-19 17:36:07 +01:00
tr2 Update copyright years. 2016-01-04 15:30:50 +01:00
util libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
Makefile.am Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00