[libcxx-commits] [libcxx] 2c6217f - [libc++] Make .version.pass.cpp tests be compile-only tests
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 11 07:40:08 PDT 2022
Author: Louis Dionne
Date: 2022-04-11T10:40:04-04:00
New Revision: 2c6217f252f74d2b98ad5130af20a7da94b83030
URL: https://github.com/llvm/llvm-project/commit/2c6217f252f74d2b98ad5130af20a7da94b83030
DIFF: https://github.com/llvm/llvm-project/commit/2c6217f252f74d2b98ad5130af20a7da94b83030.diff
LOG: [libc++] Make .version.pass.cpp tests be compile-only tests
We don't really need to run them.
Added:
libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/any.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/array.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/coroutine.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cstdlib.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/format.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/list.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/map.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/set.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/span.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/typeinfo.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
Modified:
libcxx/utils/generate_feature_test_macro_components.py
Removed:
libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/coroutine.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cstdlib.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/format.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/typeinfo.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
################################################################################
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp
index b96055d348b86..020f78d25c5b9 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp
@@ -297,4 +297,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/any.version.compile.pass.cpp
similarity index 97%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/any.version.compile.pass.cpp
index cd393b2b404b9..c4cd218d7b41f 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/any.version.compile.pass.cpp
@@ -63,4 +63,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/array.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/array.version.compile.pass.cpp
index b0dedfb4a7b0e..bd091cc7c4433 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/array.version.compile.pass.cpp
@@ -121,4 +121,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.compile.pass.cpp
index 39fd1c8263821..083382f4c9159 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.compile.pass.cpp
@@ -339,4 +339,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.compile.pass.cpp
index 80f7d9ca24b41..e0d81e8442610 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.compile.pass.cpp
@@ -74,4 +74,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.compile.pass.cpp
index d5dcc86e5c069..6ab27499afe05 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.compile.pass.cpp
@@ -177,4 +177,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.compile.pass.cpp
index 04818dbb5ca93..41d042ca53dbe 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.compile.pass.cpp
@@ -81,4 +81,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.compile.pass.cpp
index 58af9a474b37c..6bed4a3073008 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.compile.pass.cpp
@@ -96,4 +96,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.compile.pass.cpp
index a641277c22077..2a7025966af58 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.compile.pass.cpp
@@ -168,4 +168,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
index 14a19e0972849..cb50477363de0 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
@@ -72,4 +72,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.compile.pass.cpp
index c48a1894eada5..527805f7c36b7 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.compile.pass.cpp
@@ -105,4 +105,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.compile.pass.cpp
similarity index 97%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.compile.pass.cpp
index c6a61ac4f9522..09cff6546912e 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.compile.pass.cpp
@@ -60,4 +60,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/coroutine.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/coroutine.version.compile.pass.cpp
similarity index 97%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/coroutine.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/coroutine.version.compile.pass.cpp
index 1527fa3d3deef..40caf475fd705 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/coroutine.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/coroutine.version.compile.pass.cpp
@@ -60,4 +60,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.compile.pass.cpp
similarity index 97%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.compile.pass.cpp
index c2b970a0c753a..789de8904ebfe 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.compile.pass.cpp
@@ -63,4 +63,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/cstdlib.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/cstdlib.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/cstdlib.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/cstdlib.version.compile.pass.cpp
index 7b6d56d5b02ff..99aa931ac2b05 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/cstdlib.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/cstdlib.version.compile.pass.cpp
@@ -63,4 +63,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.compile.pass.cpp
index ddc9a2e1cba74..b61fad789b202 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.compile.pass.cpp
@@ -150,4 +150,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.compile.pass.cpp
index d14e9a7f7130c..0617d25a2dedf 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.compile.pass.cpp
@@ -63,4 +63,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.compile.pass.cpp
index 8b2a75568a9ec..0b1c7a0956d43 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.compile.pass.cpp
@@ -82,4 +82,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.compile.pass.cpp
index c361569cb1d6d..2e456ee5285ef 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.compile.pass.cpp
@@ -122,4 +122,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/format.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/format.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/format.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/format.version.compile.pass.cpp
index 82e3a66355d3f..7e183311bceca 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/format.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/format.version.compile.pass.cpp
@@ -74,4 +74,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.compile.pass.cpp
index ff9c1c5d4512e..4e9bb597d0f43 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.compile.pass.cpp
@@ -207,4 +207,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
index fb31a376ae72c..193bb6f158bec 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
@@ -418,4 +418,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.compile.pass.cpp
index 38d8f27ff1b05..b057f1cce0d7b 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.compile.pass.cpp
@@ -68,4 +68,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.compile.pass.cpp
index 9ea01ebe06dff..5bdc336bc3c70 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.compile.pass.cpp
@@ -74,4 +74,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.compile.pass.cpp
index 4234cc9a142d4..dc8a25a18ee9a 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.compile.pass.cpp
@@ -253,4 +253,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.compile.pass.cpp
index 56db3ba66b450..70f95b15d0457 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.compile.pass.cpp
@@ -74,4 +74,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.compile.pass.cpp
index fecb03d1867b8..32e7f78db48e8 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.compile.pass.cpp
@@ -72,4 +72,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/list.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/list.version.compile.pass.cpp
index 1d9502fc78018..6c6aaac008641 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/list.version.compile.pass.cpp
@@ -207,4 +207,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.compile.pass.cpp
index f9620763c7629..dd5cf37b1127a 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.compile.pass.cpp
@@ -74,4 +74,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/map.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/map.version.compile.pass.cpp
index 08cb14e2638c7..a127d514805aa 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/map.version.compile.pass.cpp
@@ -273,4 +273,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp
index 930b15548e2e7..fb88c385d2edc 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp
@@ -560,4 +560,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.compile.pass.cpp
index dae5a1be20a01..2091c128dd865 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.compile.pass.cpp
@@ -65,4 +65,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
index 5fbb8afe14ab1..ca8fead1b975d 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
@@ -150,4 +150,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.compile.pass.cpp
similarity index 97%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.compile.pass.cpp
index f353c465cb8e1..c9e2cfb0fe298 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.compile.pass.cpp
@@ -60,4 +60,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.compile.pass.cpp
index c95eac49e45c0..0a30e127d666d 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.compile.pass.cpp
@@ -195,4 +195,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.compile.pass.cpp
index 1c00b6f22c575..4688db7c70079 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.compile.pass.cpp
@@ -87,4 +87,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.compile.pass.cpp
index 586cd8ec6d571..0889b20b8a1a1 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.compile.pass.cpp
@@ -74,4 +74,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.compile.pass.cpp
index 772b94bb0cec7..a76d99871ef7a 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.compile.pass.cpp
@@ -87,4 +87,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp
index 3e889157ab6a0..a3042b9ac9182 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp
@@ -224,4 +224,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.compile.pass.cpp
index df1506a05e6eb..99be5df83ffb6 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.compile.pass.cpp
@@ -65,4 +65,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.compile.pass.cpp
index 2e8f78d930e15..55bf6f520a8ef 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.compile.pass.cpp
@@ -63,4 +63,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.compile.pass.cpp
index 79e31aa06a3f4..72162b6c3dc51 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.compile.pass.cpp
@@ -74,4 +74,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/set.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/set.version.compile.pass.cpp
index d6a22cbc99a1d..90684859698c1 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/set.version.compile.pass.cpp
@@ -243,4 +243,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.compile.pass.cpp
index d26a453f83c3d..c804503fc4ec0 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.compile.pass.cpp
@@ -140,4 +140,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/span.version.compile.pass.cpp
similarity index 97%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/span.version.compile.pass.cpp
index 0ff32da4ad357..a8ceea67c5892 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/span.version.compile.pass.cpp
@@ -60,4 +60,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.compile.pass.cpp
index d72e7428fad21..af17a9090fc69 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.compile.pass.cpp
@@ -87,4 +87,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp
index d8d3c6d023e93..b397888f10dbe 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp
@@ -355,4 +355,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.compile.pass.cpp
index 22d9297cca515..0a8e2375f06a1 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.compile.pass.cpp
@@ -181,4 +181,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.compile.pass.cpp
index c84c12490d899..dbf70e9cee55b 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.compile.pass.cpp
@@ -74,4 +74,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.compile.pass.cpp
index 3b312ee5bd4d4..d3ddc4b48dc61 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.compile.pass.cpp
@@ -216,4 +216,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.compile.pass.cpp
index 537423f1a0f52..89a1dcf67f7e8 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.compile.pass.cpp
@@ -705,4 +705,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/typeinfo.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/typeinfo.version.compile.pass.cpp
similarity index 98%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/typeinfo.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/typeinfo.version.compile.pass.cpp
index 122effde1b8ab..75abf3e8fc9c0 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/typeinfo.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/typeinfo.version.compile.pass.cpp
@@ -63,4 +63,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.compile.pass.cpp
index 88b29d0c21544..038420c4079d2 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.compile.pass.cpp
@@ -267,4 +267,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.compile.pass.cpp
index f7f9750135b2a..13092c1a0e469 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.compile.pass.cpp
@@ -237,4 +237,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.compile.pass.cpp
index 2cf50bf16a225..96eb793d1d2ef 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.compile.pass.cpp
@@ -294,4 +294,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.compile.pass.cpp
similarity index 97%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.compile.pass.cpp
index f34c68183c151..dcee42e0b51a2 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.compile.pass.cpp
@@ -63,4 +63,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.compile.pass.cpp
index c2df66b6c1fbe..c762e93b8112e 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.compile.pass.cpp
@@ -219,4 +219,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
similarity index 99%
rename from libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
rename to libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
index 0e0bb0bea9725..bd114794ee1cb 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
@@ -5006,4 +5006,3 @@
#endif // TEST_STD_VER > 20
-int main(int, char**) { return 0; }
diff --git a/libcxx/utils/generate_feature_test_macro_components.py b/libcxx/utils/generate_feature_test_macro_components.py
index 9857fe4dc12fd..447a6e29879d5 100755
--- a/libcxx/utils/generate_feature_test_macro_components.py
+++ b/libcxx/utils/generate_feature_test_macro_components.py
@@ -16,7 +16,7 @@ def get_libcxx_paths():
macro_test_path = os.path.join(src_root, 'test', 'std', 'language.support',
'support.limits', 'support.limits.general')
assert os.path.exists(macro_test_path)
- assert os.path.exists(os.path.join(macro_test_path, 'version.version.pass.cpp'))
+ assert os.path.exists(os.path.join(macro_test_path, 'version.version.compile.pass.cpp'))
return script_name, src_root, include_path, docs_path, macro_test_path
script_name, source_root, include_path, docs_path, macro_test_path = get_libcxx_paths()
@@ -1106,13 +1106,12 @@ def produce_tests():
{cxx_tests}
-int main(int, char**) {{ return 0; }}
""".format(script_name=script_name,
header=h,
markup=('\n{}\n'.format(markup) if markup else ''),
synopsis=generate_synopsis(test_list),
cxx_tests=generate_std_tests(test_list))
- test_name = "{header}.version.pass.cpp".format(header=h)
+ test_name = "{header}.version.compile.pass.cpp".format(header=h)
out_path = os.path.join(macro_test_path, test_name)
with open(out_path, 'w', newline='\n') as f:
f.write(test_body)
More information about the libcxx-commits
mailing list