gcc/libstdc++-v3/testsuite/17_intro
Jonathan Wakely df59bf20d8
libstdc++: Do not declare namespace ranges in <numeric> unconditionally
Move namespace ranges inside the feature test macro guard, because
'ranges' is not a reserved name before C++20.

libstdc++-v3/ChangeLog:

	* include/std/numeric (ranges): Only declare namespace for C++23
	and later.
	(ranges::iota_result): Fix indentation.
	* testsuite/17_intro/names.cc: Check ranges is not used as an
	identifier before C++20.
2025-04-15 17:34:34 +01:00
..
headers Update copyright years. 2025-01-02 11:59:57 +01:00
badnames.cc Update copyright years. 2025-01-02 11:59:57 +01:00
freestanding.cc Update copyright years. 2025-01-02 11:59:57 +01:00
names.cc libstdc++: Do not declare namespace ranges in <numeric> unconditionally 2025-04-15 17:34:34 +01:00
names_fortify.cc libstdc++: testsuite: adjust name_fortify test for pre-defined _FORTIFY_SOURCE 2024-10-13 23:22:11 +01:00
names_pstl.cc
no_library_allocation.cc libstdc++: Fix tests relying on operator new/delete overload 2023-08-23 06:35:24 +02:00
shared_with_static_deps.cc libstdc++-v3 testsuite: fix malformed dg-require-static-libstdcxx directives 2025-03-27 20:00:34 -04:00
static.cc libstdc++-v3 testsuite: fix malformed dg-require-static-libstdcxx directives 2025-03-27 20:00:34 -04:00
tag_type_explicit_ctor.cc Update copyright years. 2025-01-02 11:59:57 +01:00
using_namespace_std.cc Update copyright years. 2025-01-02 11:59:57 +01:00
using_namespace_std_exp_neg.cc Update copyright years. 2025-01-02 11:59:57 +01:00
using_namespace_std_tr1_neg.cc Update copyright years. 2025-01-02 11:59:57 +01:00
versionconflict.cc