• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 // Test that we can include each header in a TU while using modules.
10 // This is important notably because the LLDB data formatters use
11 // libc++ headers with modules enabled.
12 
13 // GCC doesn't support -fcxx-modules
14 // UNSUPPORTED: gcc
15 
16 // The Windows headers don't appear to be compatible with modules
17 // UNSUPPORTED: windows
18 // UNSUPPORTED: buildhost=windows
19 
20 // The Android headers don't appear to be compatible with modules yet
21 // XFAIL: LIBCXX-ANDROID-FIXME
22 
23 // Prevent <ext/hash_map> from generating deprecated warnings for this test.
24 #if defined(__DEPRECATED)
25 #    undef __DEPRECATED
26 #endif
27 
28 #include <__config>
29 
30 /*
31 BEGIN-SCRIPT
32 
33 for i, header in enumerate(public_headers):
34   print("// {}: echo '%{{cxx}} %s %{{flags}} %{{compile_flags}} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_{} &' >> %t.sh".format('RUN', i))
35   print("// {}: echo 'TEST_{}=$!' >> %t.sh".format('RUN', i))
36   if i >= 16:
37     print("// {}: echo \"wait $TEST_{}\" >> %t.sh".format('RUN', i - 16))
38   if header in header_restrictions:
39     print("#if defined(TEST_{}) && {}".format(i, header_restrictions[header]))
40   else:
41     print("#if defined(TEST_{})".format(i))
42   print("#include <{}>".format(header))
43   print("#endif")
44 
45 for i in range(len(public_headers))[-16:]:
46   print("// {}: echo \"wait $TEST_{}\" >> %t.sh".format('RUN', i))
47 
48 print("// {}: bash %t.sh".format('RUN'))
49 
50 END-SCRIPT
51 */
52 
53 // RUN: echo "" > %t.sh
54 // RUN: rm -rf %t
55 // RUN: mkdir %t
56 
57 // DO NOT MANUALLY EDIT ANYTHING BETWEEN THE MARKERS BELOW
58 // GENERATED-MARKER
59 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_0 &' >> %t.sh
60 // RUN: echo 'TEST_0=$!' >> %t.sh
61 #if defined(TEST_0)
62 #include <algorithm>
63 #endif
64 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_1 &' >> %t.sh
65 // RUN: echo 'TEST_1=$!' >> %t.sh
66 #if defined(TEST_1)
67 #include <any>
68 #endif
69 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_2 &' >> %t.sh
70 // RUN: echo 'TEST_2=$!' >> %t.sh
71 #if defined(TEST_2)
72 #include <array>
73 #endif
74 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_3 &' >> %t.sh
75 // RUN: echo 'TEST_3=$!' >> %t.sh
76 #if defined(TEST_3)
77 #include <atomic>
78 #endif
79 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_4 &' >> %t.sh
80 // RUN: echo 'TEST_4=$!' >> %t.sh
81 #if defined(TEST_4) && !defined(_LIBCPP_HAS_NO_THREADS)
82 #include <barrier>
83 #endif
84 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_5 &' >> %t.sh
85 // RUN: echo 'TEST_5=$!' >> %t.sh
86 #if defined(TEST_5)
87 #include <bit>
88 #endif
89 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_6 &' >> %t.sh
90 // RUN: echo 'TEST_6=$!' >> %t.sh
91 #if defined(TEST_6)
92 #include <bitset>
93 #endif
94 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_7 &' >> %t.sh
95 // RUN: echo 'TEST_7=$!' >> %t.sh
96 #if defined(TEST_7)
97 #include <cassert>
98 #endif
99 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_8 &' >> %t.sh
100 // RUN: echo 'TEST_8=$!' >> %t.sh
101 #if defined(TEST_8)
102 #include <ccomplex>
103 #endif
104 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_9 &' >> %t.sh
105 // RUN: echo 'TEST_9=$!' >> %t.sh
106 #if defined(TEST_9)
107 #include <cctype>
108 #endif
109 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_10 &' >> %t.sh
110 // RUN: echo 'TEST_10=$!' >> %t.sh
111 #if defined(TEST_10)
112 #include <cerrno>
113 #endif
114 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_11 &' >> %t.sh
115 // RUN: echo 'TEST_11=$!' >> %t.sh
116 #if defined(TEST_11)
117 #include <cfenv>
118 #endif
119 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_12 &' >> %t.sh
120 // RUN: echo 'TEST_12=$!' >> %t.sh
121 #if defined(TEST_12)
122 #include <cfloat>
123 #endif
124 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_13 &' >> %t.sh
125 // RUN: echo 'TEST_13=$!' >> %t.sh
126 #if defined(TEST_13)
127 #include <charconv>
128 #endif
129 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_14 &' >> %t.sh
130 // RUN: echo 'TEST_14=$!' >> %t.sh
131 #if defined(TEST_14)
132 #include <chrono>
133 #endif
134 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_15 &' >> %t.sh
135 // RUN: echo 'TEST_15=$!' >> %t.sh
136 #if defined(TEST_15)
137 #include <cinttypes>
138 #endif
139 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_16 &' >> %t.sh
140 // RUN: echo 'TEST_16=$!' >> %t.sh
141 // RUN: echo "wait $TEST_0" >> %t.sh
142 #if defined(TEST_16)
143 #include <ciso646>
144 #endif
145 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_17 &' >> %t.sh
146 // RUN: echo 'TEST_17=$!' >> %t.sh
147 // RUN: echo "wait $TEST_1" >> %t.sh
148 #if defined(TEST_17)
149 #include <climits>
150 #endif
151 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_18 &' >> %t.sh
152 // RUN: echo 'TEST_18=$!' >> %t.sh
153 // RUN: echo "wait $TEST_2" >> %t.sh
154 #if defined(TEST_18) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
155 #include <clocale>
156 #endif
157 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_19 &' >> %t.sh
158 // RUN: echo 'TEST_19=$!' >> %t.sh
159 // RUN: echo "wait $TEST_3" >> %t.sh
160 #if defined(TEST_19)
161 #include <cmath>
162 #endif
163 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_20 &' >> %t.sh
164 // RUN: echo 'TEST_20=$!' >> %t.sh
165 // RUN: echo "wait $TEST_4" >> %t.sh
166 #if defined(TEST_20) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
167 #include <codecvt>
168 #endif
169 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_21 &' >> %t.sh
170 // RUN: echo 'TEST_21=$!' >> %t.sh
171 // RUN: echo "wait $TEST_5" >> %t.sh
172 #if defined(TEST_21)
173 #include <compare>
174 #endif
175 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_22 &' >> %t.sh
176 // RUN: echo 'TEST_22=$!' >> %t.sh
177 // RUN: echo "wait $TEST_6" >> %t.sh
178 #if defined(TEST_22)
179 #include <complex>
180 #endif
181 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_23 &' >> %t.sh
182 // RUN: echo 'TEST_23=$!' >> %t.sh
183 // RUN: echo "wait $TEST_7" >> %t.sh
184 #if defined(TEST_23)
185 #include <complex.h>
186 #endif
187 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_24 &' >> %t.sh
188 // RUN: echo 'TEST_24=$!' >> %t.sh
189 // RUN: echo "wait $TEST_8" >> %t.sh
190 #if defined(TEST_24)
191 #include <concepts>
192 #endif
193 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_25 &' >> %t.sh
194 // RUN: echo 'TEST_25=$!' >> %t.sh
195 // RUN: echo "wait $TEST_9" >> %t.sh
196 #if defined(TEST_25)
197 #include <condition_variable>
198 #endif
199 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_26 &' >> %t.sh
200 // RUN: echo 'TEST_26=$!' >> %t.sh
201 // RUN: echo "wait $TEST_10" >> %t.sh
202 #if defined(TEST_26) && (defined(__cpp_impl_coroutine) && __cpp_impl_coroutine >= 201902L) || (defined(__cpp_coroutines) && __cpp_coroutines >= 201703L)
203 #include <coroutine>
204 #endif
205 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_27 &' >> %t.sh
206 // RUN: echo 'TEST_27=$!' >> %t.sh
207 // RUN: echo "wait $TEST_11" >> %t.sh
208 #if defined(TEST_27)
209 #include <csetjmp>
210 #endif
211 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_28 &' >> %t.sh
212 // RUN: echo 'TEST_28=$!' >> %t.sh
213 // RUN: echo "wait $TEST_12" >> %t.sh
214 #if defined(TEST_28)
215 #include <csignal>
216 #endif
217 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_29 &' >> %t.sh
218 // RUN: echo 'TEST_29=$!' >> %t.sh
219 // RUN: echo "wait $TEST_13" >> %t.sh
220 #if defined(TEST_29)
221 #include <cstdarg>
222 #endif
223 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_30 &' >> %t.sh
224 // RUN: echo 'TEST_30=$!' >> %t.sh
225 // RUN: echo "wait $TEST_14" >> %t.sh
226 #if defined(TEST_30)
227 #include <cstdbool>
228 #endif
229 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_31 &' >> %t.sh
230 // RUN: echo 'TEST_31=$!' >> %t.sh
231 // RUN: echo "wait $TEST_15" >> %t.sh
232 #if defined(TEST_31)
233 #include <cstddef>
234 #endif
235 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_32 &' >> %t.sh
236 // RUN: echo 'TEST_32=$!' >> %t.sh
237 // RUN: echo "wait $TEST_16" >> %t.sh
238 #if defined(TEST_32)
239 #include <cstdint>
240 #endif
241 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_33 &' >> %t.sh
242 // RUN: echo 'TEST_33=$!' >> %t.sh
243 // RUN: echo "wait $TEST_17" >> %t.sh
244 #if defined(TEST_33)
245 #include <cstdio>
246 #endif
247 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_34 &' >> %t.sh
248 // RUN: echo 'TEST_34=$!' >> %t.sh
249 // RUN: echo "wait $TEST_18" >> %t.sh
250 #if defined(TEST_34)
251 #include <cstdlib>
252 #endif
253 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_35 &' >> %t.sh
254 // RUN: echo 'TEST_35=$!' >> %t.sh
255 // RUN: echo "wait $TEST_19" >> %t.sh
256 #if defined(TEST_35)
257 #include <cstring>
258 #endif
259 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_36 &' >> %t.sh
260 // RUN: echo 'TEST_36=$!' >> %t.sh
261 // RUN: echo "wait $TEST_20" >> %t.sh
262 #if defined(TEST_36)
263 #include <ctgmath>
264 #endif
265 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_37 &' >> %t.sh
266 // RUN: echo 'TEST_37=$!' >> %t.sh
267 // RUN: echo "wait $TEST_21" >> %t.sh
268 #if defined(TEST_37)
269 #include <ctime>
270 #endif
271 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_38 &' >> %t.sh
272 // RUN: echo 'TEST_38=$!' >> %t.sh
273 // RUN: echo "wait $TEST_22" >> %t.sh
274 #if defined(TEST_38)
275 #include <ctype.h>
276 #endif
277 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_39 &' >> %t.sh
278 // RUN: echo 'TEST_39=$!' >> %t.sh
279 // RUN: echo "wait $TEST_23" >> %t.sh
280 #if defined(TEST_39)
281 #include <cuchar>
282 #endif
283 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_40 &' >> %t.sh
284 // RUN: echo 'TEST_40=$!' >> %t.sh
285 // RUN: echo "wait $TEST_24" >> %t.sh
286 #if defined(TEST_40) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS)
287 #include <cwchar>
288 #endif
289 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_41 &' >> %t.sh
290 // RUN: echo 'TEST_41=$!' >> %t.sh
291 // RUN: echo "wait $TEST_25" >> %t.sh
292 #if defined(TEST_41) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS)
293 #include <cwctype>
294 #endif
295 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_42 &' >> %t.sh
296 // RUN: echo 'TEST_42=$!' >> %t.sh
297 // RUN: echo "wait $TEST_26" >> %t.sh
298 #if defined(TEST_42)
299 #include <deque>
300 #endif
301 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_43 &' >> %t.sh
302 // RUN: echo 'TEST_43=$!' >> %t.sh
303 // RUN: echo "wait $TEST_27" >> %t.sh
304 #if defined(TEST_43)
305 #include <errno.h>
306 #endif
307 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_44 &' >> %t.sh
308 // RUN: echo 'TEST_44=$!' >> %t.sh
309 // RUN: echo "wait $TEST_28" >> %t.sh
310 #if defined(TEST_44)
311 #include <exception>
312 #endif
313 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_45 &' >> %t.sh
314 // RUN: echo 'TEST_45=$!' >> %t.sh
315 // RUN: echo "wait $TEST_29" >> %t.sh
316 #if defined(TEST_45)
317 #include <execution>
318 #endif
319 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_46 &' >> %t.sh
320 // RUN: echo 'TEST_46=$!' >> %t.sh
321 // RUN: echo "wait $TEST_30" >> %t.sh
322 #if defined(TEST_46)
323 #include <expected>
324 #endif
325 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_47 &' >> %t.sh
326 // RUN: echo 'TEST_47=$!' >> %t.sh
327 // RUN: echo "wait $TEST_31" >> %t.sh
328 #if defined(TEST_47)
329 #include <fenv.h>
330 #endif
331 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_48 &' >> %t.sh
332 // RUN: echo 'TEST_48=$!' >> %t.sh
333 // RUN: echo "wait $TEST_32" >> %t.sh
334 #if defined(TEST_48) && !defined(_LIBCPP_HAS_NO_FILESYSTEM_LIBRARY)
335 #include <filesystem>
336 #endif
337 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_49 &' >> %t.sh
338 // RUN: echo 'TEST_49=$!' >> %t.sh
339 // RUN: echo "wait $TEST_33" >> %t.sh
340 #if defined(TEST_49)
341 #include <float.h>
342 #endif
343 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_50 &' >> %t.sh
344 // RUN: echo 'TEST_50=$!' >> %t.sh
345 // RUN: echo "wait $TEST_34" >> %t.sh
346 #if defined(TEST_50)
347 #include <format>
348 #endif
349 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_51 &' >> %t.sh
350 // RUN: echo 'TEST_51=$!' >> %t.sh
351 // RUN: echo "wait $TEST_35" >> %t.sh
352 #if defined(TEST_51)
353 #include <forward_list>
354 #endif
355 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_52 &' >> %t.sh
356 // RUN: echo 'TEST_52=$!' >> %t.sh
357 // RUN: echo "wait $TEST_36" >> %t.sh
358 #if defined(TEST_52) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) && !defined(_LIBCPP_HAS_NO_FSTREAM)
359 #include <fstream>
360 #endif
361 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_53 &' >> %t.sh
362 // RUN: echo 'TEST_53=$!' >> %t.sh
363 // RUN: echo "wait $TEST_37" >> %t.sh
364 #if defined(TEST_53)
365 #include <functional>
366 #endif
367 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_54 &' >> %t.sh
368 // RUN: echo 'TEST_54=$!' >> %t.sh
369 // RUN: echo "wait $TEST_38" >> %t.sh
370 #if defined(TEST_54) && !defined(_LIBCPP_HAS_NO_THREADS)
371 #include <future>
372 #endif
373 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_55 &' >> %t.sh
374 // RUN: echo 'TEST_55=$!' >> %t.sh
375 // RUN: echo "wait $TEST_39" >> %t.sh
376 #if defined(TEST_55)
377 #include <initializer_list>
378 #endif
379 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_56 &' >> %t.sh
380 // RUN: echo 'TEST_56=$!' >> %t.sh
381 // RUN: echo "wait $TEST_40" >> %t.sh
382 #if defined(TEST_56)
383 #include <inttypes.h>
384 #endif
385 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_57 &' >> %t.sh
386 // RUN: echo 'TEST_57=$!' >> %t.sh
387 // RUN: echo "wait $TEST_41" >> %t.sh
388 #if defined(TEST_57) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
389 #include <iomanip>
390 #endif
391 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_58 &' >> %t.sh
392 // RUN: echo 'TEST_58=$!' >> %t.sh
393 // RUN: echo "wait $TEST_42" >> %t.sh
394 #if defined(TEST_58) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
395 #include <ios>
396 #endif
397 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_59 &' >> %t.sh
398 // RUN: echo 'TEST_59=$!' >> %t.sh
399 // RUN: echo "wait $TEST_43" >> %t.sh
400 #if defined(TEST_59)
401 #include <iosfwd>
402 #endif
403 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_60 &' >> %t.sh
404 // RUN: echo 'TEST_60=$!' >> %t.sh
405 // RUN: echo "wait $TEST_44" >> %t.sh
406 #if defined(TEST_60) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
407 #include <iostream>
408 #endif
409 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_61 &' >> %t.sh
410 // RUN: echo 'TEST_61=$!' >> %t.sh
411 // RUN: echo "wait $TEST_45" >> %t.sh
412 #if defined(TEST_61) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
413 #include <istream>
414 #endif
415 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_62 &' >> %t.sh
416 // RUN: echo 'TEST_62=$!' >> %t.sh
417 // RUN: echo "wait $TEST_46" >> %t.sh
418 #if defined(TEST_62)
419 #include <iterator>
420 #endif
421 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_63 &' >> %t.sh
422 // RUN: echo 'TEST_63=$!' >> %t.sh
423 // RUN: echo "wait $TEST_47" >> %t.sh
424 #if defined(TEST_63) && !defined(_LIBCPP_HAS_NO_THREADS)
425 #include <latch>
426 #endif
427 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_64 &' >> %t.sh
428 // RUN: echo 'TEST_64=$!' >> %t.sh
429 // RUN: echo "wait $TEST_48" >> %t.sh
430 #if defined(TEST_64)
431 #include <limits>
432 #endif
433 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_65 &' >> %t.sh
434 // RUN: echo 'TEST_65=$!' >> %t.sh
435 // RUN: echo "wait $TEST_49" >> %t.sh
436 #if defined(TEST_65)
437 #include <limits.h>
438 #endif
439 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_66 &' >> %t.sh
440 // RUN: echo 'TEST_66=$!' >> %t.sh
441 // RUN: echo "wait $TEST_50" >> %t.sh
442 #if defined(TEST_66)
443 #include <list>
444 #endif
445 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_67 &' >> %t.sh
446 // RUN: echo 'TEST_67=$!' >> %t.sh
447 // RUN: echo "wait $TEST_51" >> %t.sh
448 #if defined(TEST_67) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
449 #include <locale>
450 #endif
451 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_68 &' >> %t.sh
452 // RUN: echo 'TEST_68=$!' >> %t.sh
453 // RUN: echo "wait $TEST_52" >> %t.sh
454 #if defined(TEST_68) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
455 #include <locale.h>
456 #endif
457 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_69 &' >> %t.sh
458 // RUN: echo 'TEST_69=$!' >> %t.sh
459 // RUN: echo "wait $TEST_53" >> %t.sh
460 #if defined(TEST_69)
461 #include <map>
462 #endif
463 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_70 &' >> %t.sh
464 // RUN: echo 'TEST_70=$!' >> %t.sh
465 // RUN: echo "wait $TEST_54" >> %t.sh
466 #if defined(TEST_70)
467 #include <math.h>
468 #endif
469 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_71 &' >> %t.sh
470 // RUN: echo 'TEST_71=$!' >> %t.sh
471 // RUN: echo "wait $TEST_55" >> %t.sh
472 #if defined(TEST_71)
473 #include <memory>
474 #endif
475 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_72 &' >> %t.sh
476 // RUN: echo 'TEST_72=$!' >> %t.sh
477 // RUN: echo "wait $TEST_56" >> %t.sh
478 #if defined(TEST_72)
479 #include <memory_resource>
480 #endif
481 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_73 &' >> %t.sh
482 // RUN: echo 'TEST_73=$!' >> %t.sh
483 // RUN: echo "wait $TEST_57" >> %t.sh
484 #if defined(TEST_73) && !defined(_LIBCPP_HAS_NO_THREADS)
485 #include <mutex>
486 #endif
487 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_74 &' >> %t.sh
488 // RUN: echo 'TEST_74=$!' >> %t.sh
489 // RUN: echo "wait $TEST_58" >> %t.sh
490 #if defined(TEST_74)
491 #include <new>
492 #endif
493 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_75 &' >> %t.sh
494 // RUN: echo 'TEST_75=$!' >> %t.sh
495 // RUN: echo "wait $TEST_59" >> %t.sh
496 #if defined(TEST_75)
497 #include <numbers>
498 #endif
499 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_76 &' >> %t.sh
500 // RUN: echo 'TEST_76=$!' >> %t.sh
501 // RUN: echo "wait $TEST_60" >> %t.sh
502 #if defined(TEST_76)
503 #include <numeric>
504 #endif
505 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_77 &' >> %t.sh
506 // RUN: echo 'TEST_77=$!' >> %t.sh
507 // RUN: echo "wait $TEST_61" >> %t.sh
508 #if defined(TEST_77)
509 #include <optional>
510 #endif
511 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_78 &' >> %t.sh
512 // RUN: echo 'TEST_78=$!' >> %t.sh
513 // RUN: echo "wait $TEST_62" >> %t.sh
514 #if defined(TEST_78) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
515 #include <ostream>
516 #endif
517 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_79 &' >> %t.sh
518 // RUN: echo 'TEST_79=$!' >> %t.sh
519 // RUN: echo "wait $TEST_63" >> %t.sh
520 #if defined(TEST_79)
521 #include <queue>
522 #endif
523 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_80 &' >> %t.sh
524 // RUN: echo 'TEST_80=$!' >> %t.sh
525 // RUN: echo "wait $TEST_64" >> %t.sh
526 #if defined(TEST_80)
527 #include <random>
528 #endif
529 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_81 &' >> %t.sh
530 // RUN: echo 'TEST_81=$!' >> %t.sh
531 // RUN: echo "wait $TEST_65" >> %t.sh
532 #if defined(TEST_81)
533 #include <ranges>
534 #endif
535 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_82 &' >> %t.sh
536 // RUN: echo 'TEST_82=$!' >> %t.sh
537 // RUN: echo "wait $TEST_66" >> %t.sh
538 #if defined(TEST_82)
539 #include <ratio>
540 #endif
541 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_83 &' >> %t.sh
542 // RUN: echo 'TEST_83=$!' >> %t.sh
543 // RUN: echo "wait $TEST_67" >> %t.sh
544 #if defined(TEST_83) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
545 #include <regex>
546 #endif
547 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_84 &' >> %t.sh
548 // RUN: echo 'TEST_84=$!' >> %t.sh
549 // RUN: echo "wait $TEST_68" >> %t.sh
550 #if defined(TEST_84)
551 #include <scoped_allocator>
552 #endif
553 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_85 &' >> %t.sh
554 // RUN: echo 'TEST_85=$!' >> %t.sh
555 // RUN: echo "wait $TEST_69" >> %t.sh
556 #if defined(TEST_85) && !defined(_LIBCPP_HAS_NO_THREADS)
557 #include <semaphore>
558 #endif
559 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_86 &' >> %t.sh
560 // RUN: echo 'TEST_86=$!' >> %t.sh
561 // RUN: echo "wait $TEST_70" >> %t.sh
562 #if defined(TEST_86)
563 #include <set>
564 #endif
565 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_87 &' >> %t.sh
566 // RUN: echo 'TEST_87=$!' >> %t.sh
567 // RUN: echo "wait $TEST_71" >> %t.sh
568 #if defined(TEST_87)
569 #include <setjmp.h>
570 #endif
571 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_88 &' >> %t.sh
572 // RUN: echo 'TEST_88=$!' >> %t.sh
573 // RUN: echo "wait $TEST_72" >> %t.sh
574 #if defined(TEST_88) && !defined(_LIBCPP_HAS_NO_THREADS)
575 #include <shared_mutex>
576 #endif
577 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_89 &' >> %t.sh
578 // RUN: echo 'TEST_89=$!' >> %t.sh
579 // RUN: echo "wait $TEST_73" >> %t.sh
580 #if defined(TEST_89)
581 #include <source_location>
582 #endif
583 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_90 &' >> %t.sh
584 // RUN: echo 'TEST_90=$!' >> %t.sh
585 // RUN: echo "wait $TEST_74" >> %t.sh
586 #if defined(TEST_90)
587 #include <span>
588 #endif
589 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_91 &' >> %t.sh
590 // RUN: echo 'TEST_91=$!' >> %t.sh
591 // RUN: echo "wait $TEST_75" >> %t.sh
592 #if defined(TEST_91) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
593 #include <sstream>
594 #endif
595 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_92 &' >> %t.sh
596 // RUN: echo 'TEST_92=$!' >> %t.sh
597 // RUN: echo "wait $TEST_76" >> %t.sh
598 #if defined(TEST_92)
599 #include <stack>
600 #endif
601 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_93 &' >> %t.sh
602 // RUN: echo 'TEST_93=$!' >> %t.sh
603 // RUN: echo "wait $TEST_77" >> %t.sh
604 #if defined(TEST_93) && __cplusplus > 202002L && !defined(_LIBCPP_HAS_NO_THREADS)
605 #include <stdatomic.h>
606 #endif
607 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_94 &' >> %t.sh
608 // RUN: echo 'TEST_94=$!' >> %t.sh
609 // RUN: echo "wait $TEST_78" >> %t.sh
610 #if defined(TEST_94)
611 #include <stdbool.h>
612 #endif
613 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_95 &' >> %t.sh
614 // RUN: echo 'TEST_95=$!' >> %t.sh
615 // RUN: echo "wait $TEST_79" >> %t.sh
616 #if defined(TEST_95)
617 #include <stddef.h>
618 #endif
619 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_96 &' >> %t.sh
620 // RUN: echo 'TEST_96=$!' >> %t.sh
621 // RUN: echo "wait $TEST_80" >> %t.sh
622 #if defined(TEST_96)
623 #include <stdexcept>
624 #endif
625 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_97 &' >> %t.sh
626 // RUN: echo 'TEST_97=$!' >> %t.sh
627 // RUN: echo "wait $TEST_81" >> %t.sh
628 #if defined(TEST_97)
629 #include <stdint.h>
630 #endif
631 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_98 &' >> %t.sh
632 // RUN: echo 'TEST_98=$!' >> %t.sh
633 // RUN: echo "wait $TEST_82" >> %t.sh
634 #if defined(TEST_98)
635 #include <stdio.h>
636 #endif
637 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_99 &' >> %t.sh
638 // RUN: echo 'TEST_99=$!' >> %t.sh
639 // RUN: echo "wait $TEST_83" >> %t.sh
640 #if defined(TEST_99)
641 #include <stdlib.h>
642 #endif
643 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_100 &' >> %t.sh
644 // RUN: echo 'TEST_100=$!' >> %t.sh
645 // RUN: echo "wait $TEST_84" >> %t.sh
646 #if defined(TEST_100) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
647 #include <streambuf>
648 #endif
649 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_101 &' >> %t.sh
650 // RUN: echo 'TEST_101=$!' >> %t.sh
651 // RUN: echo "wait $TEST_85" >> %t.sh
652 #if defined(TEST_101)
653 #include <string>
654 #endif
655 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_102 &' >> %t.sh
656 // RUN: echo 'TEST_102=$!' >> %t.sh
657 // RUN: echo "wait $TEST_86" >> %t.sh
658 #if defined(TEST_102)
659 #include <string.h>
660 #endif
661 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_103 &' >> %t.sh
662 // RUN: echo 'TEST_103=$!' >> %t.sh
663 // RUN: echo "wait $TEST_87" >> %t.sh
664 #if defined(TEST_103)
665 #include <string_view>
666 #endif
667 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_104 &' >> %t.sh
668 // RUN: echo 'TEST_104=$!' >> %t.sh
669 // RUN: echo "wait $TEST_88" >> %t.sh
670 #if defined(TEST_104) && !defined(_LIBCPP_HAS_NO_LOCALIZATION)
671 #include <strstream>
672 #endif
673 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_105 &' >> %t.sh
674 // RUN: echo 'TEST_105=$!' >> %t.sh
675 // RUN: echo "wait $TEST_89" >> %t.sh
676 #if defined(TEST_105)
677 #include <system_error>
678 #endif
679 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_106 &' >> %t.sh
680 // RUN: echo 'TEST_106=$!' >> %t.sh
681 // RUN: echo "wait $TEST_90" >> %t.sh
682 #if defined(TEST_106)
683 #include <tgmath.h>
684 #endif
685 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_107 &' >> %t.sh
686 // RUN: echo 'TEST_107=$!' >> %t.sh
687 // RUN: echo "wait $TEST_91" >> %t.sh
688 #if defined(TEST_107) && !defined(_LIBCPP_HAS_NO_THREADS)
689 #include <thread>
690 #endif
691 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_108 &' >> %t.sh
692 // RUN: echo 'TEST_108=$!' >> %t.sh
693 // RUN: echo "wait $TEST_92" >> %t.sh
694 #if defined(TEST_108)
695 #include <tuple>
696 #endif
697 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_109 &' >> %t.sh
698 // RUN: echo 'TEST_109=$!' >> %t.sh
699 // RUN: echo "wait $TEST_93" >> %t.sh
700 #if defined(TEST_109)
701 #include <type_traits>
702 #endif
703 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_110 &' >> %t.sh
704 // RUN: echo 'TEST_110=$!' >> %t.sh
705 // RUN: echo "wait $TEST_94" >> %t.sh
706 #if defined(TEST_110)
707 #include <typeindex>
708 #endif
709 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_111 &' >> %t.sh
710 // RUN: echo 'TEST_111=$!' >> %t.sh
711 // RUN: echo "wait $TEST_95" >> %t.sh
712 #if defined(TEST_111)
713 #include <typeinfo>
714 #endif
715 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_112 &' >> %t.sh
716 // RUN: echo 'TEST_112=$!' >> %t.sh
717 // RUN: echo "wait $TEST_96" >> %t.sh
718 #if defined(TEST_112)
719 #include <uchar.h>
720 #endif
721 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_113 &' >> %t.sh
722 // RUN: echo 'TEST_113=$!' >> %t.sh
723 // RUN: echo "wait $TEST_97" >> %t.sh
724 #if defined(TEST_113)
725 #include <unordered_map>
726 #endif
727 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_114 &' >> %t.sh
728 // RUN: echo 'TEST_114=$!' >> %t.sh
729 // RUN: echo "wait $TEST_98" >> %t.sh
730 #if defined(TEST_114)
731 #include <unordered_set>
732 #endif
733 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_115 &' >> %t.sh
734 // RUN: echo 'TEST_115=$!' >> %t.sh
735 // RUN: echo "wait $TEST_99" >> %t.sh
736 #if defined(TEST_115)
737 #include <utility>
738 #endif
739 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_116 &' >> %t.sh
740 // RUN: echo 'TEST_116=$!' >> %t.sh
741 // RUN: echo "wait $TEST_100" >> %t.sh
742 #if defined(TEST_116)
743 #include <valarray>
744 #endif
745 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_117 &' >> %t.sh
746 // RUN: echo 'TEST_117=$!' >> %t.sh
747 // RUN: echo "wait $TEST_101" >> %t.sh
748 #if defined(TEST_117)
749 #include <variant>
750 #endif
751 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_118 &' >> %t.sh
752 // RUN: echo 'TEST_118=$!' >> %t.sh
753 // RUN: echo "wait $TEST_102" >> %t.sh
754 #if defined(TEST_118)
755 #include <vector>
756 #endif
757 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_119 &' >> %t.sh
758 // RUN: echo 'TEST_119=$!' >> %t.sh
759 // RUN: echo "wait $TEST_103" >> %t.sh
760 #if defined(TEST_119)
761 #include <version>
762 #endif
763 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_120 &' >> %t.sh
764 // RUN: echo 'TEST_120=$!' >> %t.sh
765 // RUN: echo "wait $TEST_104" >> %t.sh
766 #if defined(TEST_120) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS)
767 #include <wchar.h>
768 #endif
769 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_121 &' >> %t.sh
770 // RUN: echo 'TEST_121=$!' >> %t.sh
771 // RUN: echo "wait $TEST_105" >> %t.sh
772 #if defined(TEST_121) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS)
773 #include <wctype.h>
774 #endif
775 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_122 &' >> %t.sh
776 // RUN: echo 'TEST_122=$!' >> %t.sh
777 // RUN: echo "wait $TEST_106" >> %t.sh
778 #if defined(TEST_122) && __cplusplus >= 201103L
779 #include <experimental/deque>
780 #endif
781 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_123 &' >> %t.sh
782 // RUN: echo 'TEST_123=$!' >> %t.sh
783 // RUN: echo "wait $TEST_107" >> %t.sh
784 #if defined(TEST_123) && __cplusplus >= 201103L
785 #include <experimental/forward_list>
786 #endif
787 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_124 &' >> %t.sh
788 // RUN: echo 'TEST_124=$!' >> %t.sh
789 // RUN: echo "wait $TEST_108" >> %t.sh
790 #if defined(TEST_124) && __cplusplus >= 201103L
791 #include <experimental/iterator>
792 #endif
793 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_125 &' >> %t.sh
794 // RUN: echo 'TEST_125=$!' >> %t.sh
795 // RUN: echo "wait $TEST_109" >> %t.sh
796 #if defined(TEST_125) && __cplusplus >= 201103L
797 #include <experimental/list>
798 #endif
799 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_126 &' >> %t.sh
800 // RUN: echo 'TEST_126=$!' >> %t.sh
801 // RUN: echo "wait $TEST_110" >> %t.sh
802 #if defined(TEST_126) && __cplusplus >= 201103L
803 #include <experimental/map>
804 #endif
805 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_127 &' >> %t.sh
806 // RUN: echo 'TEST_127=$!' >> %t.sh
807 // RUN: echo "wait $TEST_111" >> %t.sh
808 #if defined(TEST_127) && __cplusplus >= 201103L
809 #include <experimental/memory_resource>
810 #endif
811 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_128 &' >> %t.sh
812 // RUN: echo 'TEST_128=$!' >> %t.sh
813 // RUN: echo "wait $TEST_112" >> %t.sh
814 #if defined(TEST_128) && __cplusplus >= 201103L
815 #include <experimental/propagate_const>
816 #endif
817 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_129 &' >> %t.sh
818 // RUN: echo 'TEST_129=$!' >> %t.sh
819 // RUN: echo "wait $TEST_113" >> %t.sh
820 #if defined(TEST_129) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) && __cplusplus >= 201103L
821 #include <experimental/regex>
822 #endif
823 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_130 &' >> %t.sh
824 // RUN: echo 'TEST_130=$!' >> %t.sh
825 // RUN: echo "wait $TEST_114" >> %t.sh
826 #if defined(TEST_130) && __cplusplus >= 201103L
827 #include <experimental/set>
828 #endif
829 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_131 &' >> %t.sh
830 // RUN: echo 'TEST_131=$!' >> %t.sh
831 // RUN: echo "wait $TEST_115" >> %t.sh
832 #if defined(TEST_131) && __cplusplus >= 201103L
833 #include <experimental/simd>
834 #endif
835 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_132 &' >> %t.sh
836 // RUN: echo 'TEST_132=$!' >> %t.sh
837 // RUN: echo "wait $TEST_116" >> %t.sh
838 #if defined(TEST_132) && __cplusplus >= 201103L
839 #include <experimental/string>
840 #endif
841 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_133 &' >> %t.sh
842 // RUN: echo 'TEST_133=$!' >> %t.sh
843 // RUN: echo "wait $TEST_117" >> %t.sh
844 #if defined(TEST_133) && __cplusplus >= 201103L
845 #include <experimental/type_traits>
846 #endif
847 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_134 &' >> %t.sh
848 // RUN: echo 'TEST_134=$!' >> %t.sh
849 // RUN: echo "wait $TEST_118" >> %t.sh
850 #if defined(TEST_134) && __cplusplus >= 201103L
851 #include <experimental/unordered_map>
852 #endif
853 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_135 &' >> %t.sh
854 // RUN: echo 'TEST_135=$!' >> %t.sh
855 // RUN: echo "wait $TEST_119" >> %t.sh
856 #if defined(TEST_135) && __cplusplus >= 201103L
857 #include <experimental/unordered_set>
858 #endif
859 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_136 &' >> %t.sh
860 // RUN: echo 'TEST_136=$!' >> %t.sh
861 // RUN: echo "wait $TEST_120" >> %t.sh
862 #if defined(TEST_136) && __cplusplus >= 201103L
863 #include <experimental/utility>
864 #endif
865 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_137 &' >> %t.sh
866 // RUN: echo 'TEST_137=$!' >> %t.sh
867 // RUN: echo "wait $TEST_121" >> %t.sh
868 #if defined(TEST_137) && __cplusplus >= 201103L
869 #include <experimental/vector>
870 #endif
871 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_138 &' >> %t.sh
872 // RUN: echo 'TEST_138=$!' >> %t.sh
873 // RUN: echo "wait $TEST_122" >> %t.sh
874 #if defined(TEST_138)
875 #include <ext/hash_map>
876 #endif
877 // RUN: echo '%{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_139 &' >> %t.sh
878 // RUN: echo 'TEST_139=$!' >> %t.sh
879 // RUN: echo "wait $TEST_123" >> %t.sh
880 #if defined(TEST_139)
881 #include <ext/hash_set>
882 #endif
883 // RUN: echo "wait $TEST_124" >> %t.sh
884 // RUN: echo "wait $TEST_125" >> %t.sh
885 // RUN: echo "wait $TEST_126" >> %t.sh
886 // RUN: echo "wait $TEST_127" >> %t.sh
887 // RUN: echo "wait $TEST_128" >> %t.sh
888 // RUN: echo "wait $TEST_129" >> %t.sh
889 // RUN: echo "wait $TEST_130" >> %t.sh
890 // RUN: echo "wait $TEST_131" >> %t.sh
891 // RUN: echo "wait $TEST_132" >> %t.sh
892 // RUN: echo "wait $TEST_133" >> %t.sh
893 // RUN: echo "wait $TEST_134" >> %t.sh
894 // RUN: echo "wait $TEST_135" >> %t.sh
895 // RUN: echo "wait $TEST_136" >> %t.sh
896 // RUN: echo "wait $TEST_137" >> %t.sh
897 // RUN: echo "wait $TEST_138" >> %t.sh
898 // RUN: echo "wait $TEST_139" >> %t.sh
899 // RUN: bash %t.sh
900 // GENERATED-MARKER
901