[libcxx-commits] [libcxx] b9cba8c - [libc++] Add missing return 0; 's to main() functions in tests
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 29 07:35:13 PDT 2022
Author: Louis Dionne
Date: 2022-09-29T10:35:00-04:00
New Revision: b9cba8ccd32a3707afd1a139dc604b69634f6f41
URL: https://github.com/llvm/llvm-project/commit/b9cba8ccd32a3707afd1a139dc604b69634f6f41
DIFF: https://github.com/llvm/llvm-project/commit/b9cba8ccd32a3707afd1a139dc604b69634f6f41.diff
LOG: [libc++] Add missing return 0;'s to main() functions in tests
Added:
Modified:
libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_convert.pass.cpp
libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_pair.pass.cpp
libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_convert.pass.cpp
libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_pair.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_convert.pass.cpp b/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_convert.pass.cpp
index 615378116bb49..45f92994b1b4a 100644
--- a/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_convert.pass.cpp
+++ b/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_convert.pass.cpp
@@ -84,4 +84,5 @@ int main(int, const char**) {
#if !defined(TEST_COMPILER_GCC)
static_assert(test());
#endif
+ return 0;
}
diff --git a/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_pair.pass.cpp b/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_pair.pass.cpp
index 58a14b46194d0..ac966fc8c21d8 100644
--- a/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_pair.pass.cpp
+++ b/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_copy_pair.pass.cpp
@@ -81,4 +81,5 @@ int main(int, const char**) {
#if !defined(TEST_COMPILER_GCC)
static_assert(test());
#endif
+ return 0;
}
diff --git a/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_convert.pass.cpp b/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_convert.pass.cpp
index a2158b09e97fb..e8fbd9e6714c8 100644
--- a/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_convert.pass.cpp
+++ b/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_convert.pass.cpp
@@ -84,4 +84,5 @@ int main(int, const char**) {
#if !defined(TEST_COMPILER_GCC)
static_assert(test());
#endif
+ return 0;
}
diff --git a/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_pair.pass.cpp b/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_pair.pass.cpp
index b4f49ef91e7d7..8f7c8635a811d 100644
--- a/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_pair.pass.cpp
+++ b/libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_move_pair.pass.cpp
@@ -81,4 +81,5 @@ int main(int, const char**) {
#if !defined(TEST_COMPILER_GCC)
static_assert(test());
#endif
+ return 0;
}
More information about the libcxx-commits
mailing list