[libcxx-commits] [libcxx] 72cd50b - [libc++] Add missing 'return 0; ' to main() in test

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 8 14:11:13 PDT 2022


Author: Louis Dionne
Date: 2022-04-08T17:10:58-04:00
New Revision: 72cd50b6fdb743f7feaaab8f9db3903929163243

URL: https://github.com/llvm/llvm-project/commit/72cd50b6fdb743f7feaaab8f9db3903929163243
DIFF: https://github.com/llvm/llvm-project/commit/72cd50b6fdb743f7feaaab8f9db3903929163243.diff

LOG: [libc++] Add missing 'return 0;' to main() in test

Added: 
    

Modified: 
    libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp b/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp
index fed18086e1721..9b4e488f308fb 100644
--- a/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp
+++ b/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp
@@ -90,4 +90,6 @@ constexpr bool test() {
 int main(int, char**) {
   test();
   static_assert(test());
+
+  return 0;
 }


        


More information about the libcxx-commits mailing list