Skip to content

Commit 2c6217f

Browse files
committed
[libc++] Make .version.pass.cpp tests be compile-only tests
We don't really need to run them.
1 parent 8fc0e89 commit 2c6217f

File tree

59 files changed

+2
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2
-61
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,4 +297,3 @@
297297

298298
#endif // TEST_STD_VER > 20
299299

300-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@
6363

6464
#endif // TEST_STD_VER > 20
6565

66-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,3 @@
121121

122122
#endif // TEST_STD_VER > 20
123123

124-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,4 +339,3 @@
339339

340340
#endif // TEST_STD_VER > 20
341341

342-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@
7474

7575
#endif // TEST_STD_VER > 20
7676

77-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,3 @@
177177

178178
#endif // TEST_STD_VER > 20
179179

180-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,3 @@
8181

8282
#endif // TEST_STD_VER > 20
8383

84-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,3 @@
9696

9797
#endif // TEST_STD_VER > 20
9898

99-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,3 @@
168168

169169
#endif // TEST_STD_VER > 20
170170

171-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,3 @@
7272

7373
#endif // TEST_STD_VER > 20
7474

75-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,3 @@
105105

106106
#endif // TEST_STD_VER > 20
107107

108-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@
6060

6161
#endif // TEST_STD_VER > 20
6262

63-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@
6060

6161
#endif // TEST_STD_VER > 20
6262

63-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@
6363

6464
#endif // TEST_STD_VER > 20
6565

66-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@
6363

6464
#endif // TEST_STD_VER > 20
6565

66-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,3 @@
150150

151151
#endif // TEST_STD_VER > 20
152152

153-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@
6363

6464
#endif // TEST_STD_VER > 20
6565

66-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,3 @@
8282

8383
#endif // TEST_STD_VER > 20
8484

85-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,3 @@
122122

123123
#endif // TEST_STD_VER > 20
124124

125-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@
7474

7575
#endif // TEST_STD_VER > 20
7676

77-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,3 @@
207207

208208
#endif // TEST_STD_VER > 20
209209

210-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,4 +418,3 @@
418418

419419
#endif // TEST_STD_VER > 20
420420

421-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,3 @@
6868

6969
#endif // TEST_STD_VER > 20
7070

71-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@
7474

7575
#endif // TEST_STD_VER > 20
7676

77-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,4 +253,3 @@
253253

254254
#endif // TEST_STD_VER > 20
255255

256-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@
7474

7575
#endif // TEST_STD_VER > 20
7676

77-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,3 @@
7272

7373
#endif // TEST_STD_VER > 20
7474

75-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,3 @@
207207

208208
#endif // TEST_STD_VER > 20
209209

210-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@
7474

7575
#endif // TEST_STD_VER > 20
7676

77-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,3 @@
273273

274274
#endif // TEST_STD_VER > 20
275275

276-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,4 +560,3 @@
560560

561561
#endif // TEST_STD_VER > 20
562562

563-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@
6565

6666
#endif // TEST_STD_VER > 20
6767

68-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,3 @@
150150

151151
#endif // TEST_STD_VER > 20
152152

153-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@
6060

6161
#endif // TEST_STD_VER > 20
6262

63-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,3 @@
195195

196196
#endif // TEST_STD_VER > 20
197197

198-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,3 @@
8787

8888
#endif // TEST_STD_VER > 20
8989

90-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@
7474

7575
#endif // TEST_STD_VER > 20
7676

77-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,3 @@
8787

8888
#endif // TEST_STD_VER > 20
8989

90-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,3 @@
224224

225225
#endif // TEST_STD_VER > 20
226226

227-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@
6565

6666
#endif // TEST_STD_VER > 20
6767

68-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@
6363

6464
#endif // TEST_STD_VER > 20
6565

66-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@
7474

7575
#endif // TEST_STD_VER > 20
7676

77-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,4 +243,3 @@
243243

244244
#endif // TEST_STD_VER > 20
245245

246-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,3 @@
140140

141141
#endif // TEST_STD_VER > 20
142142

143-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@
6060

6161
#endif // TEST_STD_VER > 20
6262

63-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,3 @@
8787

8888
#endif // TEST_STD_VER > 20
8989

90-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,4 +355,3 @@
355355

356356
#endif // TEST_STD_VER > 20
357357

358-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,3 @@
181181

182182
#endif // TEST_STD_VER > 20
183183

184-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@
7474

7575
#endif // TEST_STD_VER > 20
7676

77-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,3 @@
216216

217217
#endif // TEST_STD_VER > 20
218218

219-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,4 +705,3 @@
705705

706706
#endif // TEST_STD_VER > 20
707707

708-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@
6363

6464
#endif // TEST_STD_VER > 20
6565

66-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,3 @@
267267

268268
#endif // TEST_STD_VER > 20
269269

270-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,3 @@
237237

238238
#endif // TEST_STD_VER > 20
239239

240-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,4 +294,3 @@
294294

295295
#endif // TEST_STD_VER > 20
296296

297-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@
6363

6464
#endif // TEST_STD_VER > 20
6565

66-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,3 @@
219219

220220
#endif // TEST_STD_VER > 20
221221

222-
int main(int, char**) { return 0; }

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5006,4 +5006,3 @@
50065006

50075007
#endif // TEST_STD_VER > 20
50085008

5009-
int main(int, char**) { return 0; }

libcxx/utils/generate_feature_test_macro_components.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_libcxx_paths():
1616
macro_test_path = os.path.join(src_root, 'test', 'std', 'language.support',
1717
'support.limits', 'support.limits.general')
1818
assert os.path.exists(macro_test_path)
19-
assert os.path.exists(os.path.join(macro_test_path, 'version.version.pass.cpp'))
19+
assert os.path.exists(os.path.join(macro_test_path, 'version.version.compile.pass.cpp'))
2020
return script_name, src_root, include_path, docs_path, macro_test_path
2121

2222
script_name, source_root, include_path, docs_path, macro_test_path = get_libcxx_paths()
@@ -1106,13 +1106,12 @@ def produce_tests():
11061106

11071107
{cxx_tests}
11081108

1109-
int main(int, char**) {{ return 0; }}
11101109
""".format(script_name=script_name,
11111110
header=h,
11121111
markup=('\n{}\n'.format(markup) if markup else ''),
11131112
synopsis=generate_synopsis(test_list),
11141113
cxx_tests=generate_std_tests(test_list))
1115-
test_name = "{header}.version.pass.cpp".format(header=h)
1114+
test_name = "{header}.version.compile.pass.cpp".format(header=h)
11161115
out_path = os.path.join(macro_test_path, test_name)
11171116
with open(out_path, 'w', newline='\n') as f:
11181117
f.write(test_body)

0 commit comments

Comments
 (0)