Skip to content

Commit 9406fee

Browse files
committed
Run generator scripts
1 parent f964234 commit 9406fee

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
# error "__cpp_lib_ranges_concat should not be defined before c++26"
4949
# endif
5050

51+
# ifdef __cpp_lib_ranges_enumerate
52+
# error "__cpp_lib_ranges_enumerate should not be defined before c++23"
53+
# endif
54+
5155
# ifdef __cpp_lib_ranges_join_with
5256
# error "__cpp_lib_ranges_join_with should not be defined before c++23"
5357
# endif
@@ -98,6 +102,10 @@
98102
# error "__cpp_lib_ranges_concat should not be defined before c++26"
99103
# endif
100104

105+
# ifdef __cpp_lib_ranges_enumerate
106+
# error "__cpp_lib_ranges_enumerate should not be defined before c++23"
107+
# endif
108+
101109
# ifdef __cpp_lib_ranges_join_with
102110
# error "__cpp_lib_ranges_join_with should not be defined before c++23"
103111
# endif
@@ -148,6 +156,10 @@
148156
# error "__cpp_lib_ranges_concat should not be defined before c++26"
149157
# endif
150158

159+
# ifdef __cpp_lib_ranges_enumerate
160+
# error "__cpp_lib_ranges_enumerate should not be defined before c++23"
161+
# endif
162+
151163
# ifdef __cpp_lib_ranges_join_with
152164
# error "__cpp_lib_ranges_join_with should not be defined before c++23"
153165
# endif
@@ -201,6 +213,10 @@
201213
# error "__cpp_lib_ranges_concat should not be defined before c++26"
202214
# endif
203215

216+
# ifdef __cpp_lib_ranges_enumerate
217+
# error "__cpp_lib_ranges_enumerate should not be defined before c++23"
218+
# endif
219+
204220
# ifdef __cpp_lib_ranges_join_with
205221
# error "__cpp_lib_ranges_join_with should not be defined before c++23"
206222
# endif
@@ -278,6 +294,13 @@
278294
# error "__cpp_lib_ranges_concat should not be defined before c++26"
279295
# endif
280296

297+
# ifndef __cpp_lib_ranges_enumerate
298+
# error "__cpp_lib_ranges_enumerate should be defined in c++23"
299+
# endif
300+
# if __cpp_lib_ranges_enumerate != 202302L
301+
# error "__cpp_lib_ranges_enumerate should have the value 202302L in c++23"
302+
# endif
303+
281304
# if !defined(_LIBCPP_VERSION)
282305
# ifndef __cpp_lib_ranges_join_with
283306
# error "__cpp_lib_ranges_join_with should be defined in c++23"
@@ -406,6 +429,13 @@
406429
# endif
407430
# endif
408431

432+
# ifndef __cpp_lib_ranges_enumerate
433+
# error "__cpp_lib_ranges_enumerate should be defined in c++26"
434+
# endif
435+
# if __cpp_lib_ranges_enumerate != 202302L
436+
# error "__cpp_lib_ranges_enumerate should have the value 202302L in c++26"
437+
# endif
438+
409439
# if !defined(_LIBCPP_VERSION)
410440
# ifndef __cpp_lib_ranges_join_with
411441
# error "__cpp_lib_ranges_join_with should be defined in c++26"

libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,10 @@
640640
# error "__cpp_lib_ranges_contains should not be defined before c++23"
641641
# endif
642642

643+
# ifdef __cpp_lib_ranges_enumerate
644+
# error "__cpp_lib_ranges_enumerate should not be defined before c++23"
645+
# endif
646+
643647
# ifdef __cpp_lib_ranges_find_last
644648
# error "__cpp_lib_ranges_find_last should not be defined before c++23"
645649
# endif
@@ -1560,6 +1564,10 @@
15601564
# error "__cpp_lib_ranges_contains should not be defined before c++23"
15611565
# endif
15621566

1567+
# ifdef __cpp_lib_ranges_enumerate
1568+
# error "__cpp_lib_ranges_enumerate should not be defined before c++23"
1569+
# endif
1570+
15631571
# ifdef __cpp_lib_ranges_find_last
15641572
# error "__cpp_lib_ranges_find_last should not be defined before c++23"
15651573
# endif
@@ -2651,6 +2659,10 @@
26512659
# error "__cpp_lib_ranges_contains should not be defined before c++23"
26522660
# endif
26532661

2662+
# ifdef __cpp_lib_ranges_enumerate
2663+
# error "__cpp_lib_ranges_enumerate should not be defined before c++23"
2664+
# endif
2665+
26542666
# ifdef __cpp_lib_ranges_find_last
26552667
# error "__cpp_lib_ranges_find_last should not be defined before c++23"
26562668
# endif
@@ -4009,6 +4021,10 @@
40094021
# error "__cpp_lib_ranges_contains should not be defined before c++23"
40104022
# endif
40114023

4024+
# ifdef __cpp_lib_ranges_enumerate
4025+
# error "__cpp_lib_ranges_enumerate should not be defined before c++23"
4026+
# endif
4027+
40124028
# ifdef __cpp_lib_ranges_find_last
40134029
# error "__cpp_lib_ranges_find_last should not be defined before c++23"
40144030
# endif
@@ -5559,6 +5575,13 @@
55595575
# error "__cpp_lib_ranges_contains should have the value 202207L in c++23"
55605576
# endif
55615577

5578+
# ifndef __cpp_lib_ranges_enumerate
5579+
# error "__cpp_lib_ranges_enumerate should be defined in c++23"
5580+
# endif
5581+
# if __cpp_lib_ranges_enumerate != 202302L
5582+
# error "__cpp_lib_ranges_enumerate should have the value 202302L in c++23"
5583+
# endif
5584+
55625585
# ifndef __cpp_lib_ranges_find_last
55635586
# error "__cpp_lib_ranges_find_last should be defined in c++23"
55645587
# endif
@@ -7454,6 +7477,13 @@
74547477
# error "__cpp_lib_ranges_contains should have the value 202207L in c++26"
74557478
# endif
74567479

7480+
# ifndef __cpp_lib_ranges_enumerate
7481+
# error "__cpp_lib_ranges_enumerate should be defined in c++26"
7482+
# endif
7483+
# if __cpp_lib_ranges_enumerate != 202302L
7484+
# error "__cpp_lib_ranges_enumerate should have the value 202302L in c++26"
7485+
# endif
7486+
74577487
# ifndef __cpp_lib_ranges_find_last
74587488
# error "__cpp_lib_ranges_find_last should be defined in c++26"
74597489
# endif

0 commit comments

Comments
 (0)