[libcxx-commits] [libcxx] r353086 - Support tests in freestanding

JF Bastien via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 4 12:33:04 PST 2019


Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/param_types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/param_types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/param_types.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/param_types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::piecewise_linear_distribution<> D;
@@ -24,4 +24,6 @@ int main()
         typedef param_type::distribution_type distribution_type;
         static_assert((std::is_same<D, distribution_type>::value), "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/set_param.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/set_param.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/set_param.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/set_param.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::piecewise_linear_distribution<> D;
@@ -28,4 +28,6 @@ int main()
         d.param(pa);
         assert(d.param() == pa);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/types.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::piecewise_linear_distribution<> D;
@@ -28,4 +28,6 @@ int main()
         typedef D::result_type result_type;
         static_assert((std::is_same<result_type, float>::value), "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,9 @@ test1()
     assert(d1 == d2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,9 @@ test1()
     assert(d1 == d2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ctor_int_int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ctor_int_int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ctor_int_int.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ctor_int_int.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
@@ -37,4 +37,6 @@ int main()
         assert(d.a() == -6);
         assert(d.b() == 106);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ctor_param.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ctor_param.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ctor_param.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ctor_param.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
@@ -26,4 +26,6 @@ int main()
         assert(d.a() == 3);
         assert(d.b() == 8);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
@@ -33,4 +33,6 @@ int main()
         D d2(3, 9);
         assert(d1 != d2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ sqr(T x)
     return x * x;
 }
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
@@ -452,4 +452,6 @@ int main()
         assert(std::abs(skew - x_skew) < 0.01);
         assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval_param.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval_param.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval_param.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval_param.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ sqr(T x)
     return x * x;
 }
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
@@ -72,4 +72,6 @@ int main()
         assert(std::abs(skew - x_skew) < 0.01);
         assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/get_param.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/get_param.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/get_param.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/get_param.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
@@ -25,4 +25,6 @@ int main()
         D d(p);
         assert(d.param() == p);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/io.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/io.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/io.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/io.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@
 #include <sstream>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
@@ -37,4 +37,6 @@ int main()
         is >> d2;
         assert(d1 == d2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/max.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/max.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/max.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/max.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,11 +16,13 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
         D d(3, 8);
         assert(d.max() == 8);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/min.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/min.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/min.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/min.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,11 +16,13 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
         D d(3, 8);
         assert(d.min() == 3);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <limits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<long> D;
@@ -28,4 +28,6 @@ int main()
         assert(p.a() == 5);
         assert(p.b() == 10);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <limits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<long> D;
@@ -27,4 +27,6 @@ int main()
         assert(p.a() == 5);
         assert(p.b() == 10);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <limits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<long> D;
@@ -40,4 +40,6 @@ int main()
         assert(p.a() == 5);
         assert(p.b() == 10);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_eq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <limits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<long> D;
@@ -33,4 +33,6 @@ int main()
         param_type p2(6, 10);
         assert(p1 != p2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_types.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/param_types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<long> D;
@@ -24,4 +24,6 @@ int main()
         typedef param_type::distribution_type distribution_type;
         static_assert((std::is_same<D, distribution_type>::value), "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/set_param.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/set_param.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/set_param.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/set_param.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<> D;
@@ -26,4 +26,6 @@ int main()
         d.param(p);
         assert(d.param() == p);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/types.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,11 +16,13 @@
 #include <random>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_int_distribution<long> D;
         typedef D::result_type result_type;
         static_assert((std::is_same<result_type, long>::value), "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,9 @@ test1()
     assert(d1 == d2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,9 @@ test1()
     assert(d1 == d2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ctor_int_int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ctor_int_int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ctor_int_int.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ctor_int_int.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
@@ -37,4 +37,6 @@ int main()
         assert(d.a() == -6);
         assert(d.b() == 106);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ctor_param.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ctor_param.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ctor_param.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ctor_param.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
@@ -26,4 +26,6 @@ int main()
         assert(d.a() == 3.5);
         assert(d.b() == 8);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
@@ -33,4 +33,6 @@ int main()
         D d2(3, 8.1);
         assert(d1 != d2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eval.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eval.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eval.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eval.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ sqr(T x)
     return x * x;
 }
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
@@ -471,4 +471,6 @@ int main()
         assert(std::abs(skew - x_skew) < 0.01);
         assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eval_param.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eval_param.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eval_param.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/eval_param.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ sqr(T x)
     return x * x;
 }
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
@@ -71,4 +71,6 @@ int main()
         assert(std::abs(skew - x_skew) < 0.01);
         assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/get_param.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/get_param.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/get_param.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/get_param.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
@@ -25,4 +25,6 @@ int main()
         D d(p);
         assert(d.param() == p);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/io.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/io.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/io.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/io.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@
 #include <sstream>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
@@ -37,4 +37,6 @@ int main()
         is >> d2;
         assert(d1 == d2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/max.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/max.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/max.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/max.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,11 +16,13 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
         D d(3, 8);
         assert(d.max() == 8);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/min.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/min.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/min.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/min.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,11 +16,13 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
         D d(3, 8);
         assert(d.min() == 3);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <limits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<float> D;
@@ -28,4 +28,6 @@ int main()
         assert(p.a() == 5);
         assert(p.b() == 10);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <limits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<float> D;
@@ -27,4 +27,6 @@ int main()
         assert(p.a() == 5);
         assert(p.b() == 10);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <limits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<float> D;
@@ -40,4 +40,6 @@ int main()
         assert(p.a() == 5);
         assert(p.b() == 10);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_eq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <limits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<float> D;
@@ -33,4 +33,6 @@ int main()
         param_type p2(6, 10);
         assert(p1 != p2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_types.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/param_types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<float> D;
@@ -24,4 +24,6 @@ int main()
         typedef param_type::distribution_type distribution_type;
         static_assert((std::is_same<D, distribution_type>::value), "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/set_param.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/set_param.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/set_param.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/set_param.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<> D;
@@ -26,4 +26,6 @@ int main()
         d.param(p);
         assert(d.param() == p);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/types.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,11 +16,13 @@
 #include <random>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::uniform_real_distribution<float> D;
         typedef D::result_type result_type;
         static_assert((std::is_same<result_type, float>::value), "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,10 +48,12 @@ test()
     test1<T, M-1, M-1, M>();
 }
 
-int main()
+int main(int, char**)
 {
     test<unsigned short>();
     test<unsigned int>();
     test<unsigned long>();
     test<unsigned long long>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,10 +48,12 @@ test()
     test1<T, M-1, M-1, M>();
 }
 
-int main()
+int main(int, char**)
 {
     test<unsigned short>();
     test<unsigned int>();
     test<unsigned long>();
     test<unsigned long long>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/ctor_result_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/ctor_result_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/ctor_result_type.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/ctor_result_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -129,7 +129,7 @@ test4()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test1<unsigned short>();
     test1<unsigned int>();
@@ -150,4 +150,6 @@ int main()
     test4<unsigned int>();
     test4<unsigned long>();
     test4<unsigned long long>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/ctor_sseq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/ctor_sseq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/ctor_sseq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/ctor_sseq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         unsigned a[] = {3, 5, 7};
@@ -25,4 +25,6 @@ int main()
         std::linear_congruential_engine<unsigned, 5, 7, 11> e2(4);
         assert(e1 == e2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/default.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,10 +46,12 @@ test()
     test1<T, M-1, M-1, M>();
 }
 
-int main()
+int main(int, char**)
 {
     test<unsigned short>();
     test<unsigned int>();
     test<unsigned long>();
     test<unsigned long long>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/discard.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/discard.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/discard.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/discard.pass.cpp Mon Feb  4 12:31:13 2019
@@ -56,7 +56,7 @@ other()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     rand0<unsigned int>();
     rand0<unsigned long>();
@@ -69,4 +69,6 @@ int main()
     other<unsigned int>();
     other<unsigned long>();
     other<unsigned long long>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/eval.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/eval.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/eval.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/eval.pass.cpp Mon Feb  4 12:31:13 2019
@@ -70,7 +70,7 @@ Haldir()
     assert(e() == 217250280);
 }
 
-int main()
+int main(int, char**)
 {
     randu<unsigned int>();
     randu<unsigned long>();
@@ -83,4 +83,6 @@ int main()
     Haldir<unsigned int>();
     Haldir<unsigned long>();
     Haldir<unsigned long long>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/io.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/io.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/io.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/io.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@
 #include <sstream>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::linear_congruential_engine<unsigned, 48271, 0, 2147483647> E;
@@ -40,4 +40,6 @@ int main()
         is >> e2;
         assert(e1 == e2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/result_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/result_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/result_type.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/result_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,10 +27,12 @@ test()
         T>::value), "");
 }
 
-int main()
+int main(int, char**)
 {
     test<unsigned short>();
     test<unsigned int>();
     test<unsigned long>();
     test<unsigned long long>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/seed_result_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/seed_result_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/seed_result_type.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/seed_result_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,10 +30,12 @@ test1()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test1<unsigned short>();
     test1<unsigned int>();
     test1<unsigned long>();
     test1<unsigned long long>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/seed_sseq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/seed_sseq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/seed_sseq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/seed_sseq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         unsigned a[] = {3, 5, 7};
@@ -35,4 +35,6 @@ int main()
         E e2(sseq);
         assert(e1 == e2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/values.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/values.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/values.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/values.pass.cpp Mon Feb  4 12:31:13 2019
@@ -85,10 +85,12 @@ test()
     test1<T, M-1, M-1, M>();
 }
 
-int main()
+int main(int, char**)
 {
     test<unsigned short>();
     test<unsigned int>();
     test<unsigned long>();
     test<unsigned long long>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -50,8 +50,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,8 +48,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_result_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_result_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_result_type.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_result_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -237,8 +237,10 @@ test2()
     assert(os.str() == a);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_sseq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_sseq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_sseq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_sseq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -301,8 +301,10 @@ test2()
     assert(os.str() == a);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_sseq_all_zero.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_sseq_all_zero.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_sseq_all_zero.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_sseq_all_zero.pass.cpp Mon Feb  4 12:31:13 2019
@@ -71,10 +71,12 @@ void test(void) {
   assert(e() == X0);
 }
 
-int main() {
+int main(int, char**) {
   // Test for k == 1: word_size <= 32.
   test<unsigned short, 3u>();
 
   // Test for k == 2: (32 < word_size <= 64).
   test<unsigned long long, 33u>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/default.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -37,8 +37,10 @@ test2()
     assert(e1() == 14514284786278117030ull);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/discard.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/discard.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/discard.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/discard.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,8 +47,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/eval.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/eval.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/eval.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/eval.pass.cpp Mon Feb  4 12:31:13 2019
@@ -37,8 +37,10 @@ test2()
     assert(e() == 13109570281517897720ull);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/io.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/io.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/io.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/io.pass.cpp Mon Feb  4 12:31:13 2019
@@ -61,8 +61,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/result_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/result_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/result_type.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/result_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -36,8 +36,10 @@ test2()
         std::uint_fast64_t>::value), "");
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/seed_result_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/seed_result_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/seed_result_type.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/seed_result_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -44,8 +44,10 @@ test2()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/seed_sseq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/seed_sseq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/seed_sseq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/seed_sseq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,8 +42,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/values.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/values.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/values.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/values.pass.cpp Mon Feb  4 12:31:13 2019
@@ -126,8 +126,10 @@ test2()
     where(E::default_seed);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,8 +48,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,8 +46,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/ctor_result_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/ctor_result_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/ctor_result_type.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/ctor_result_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,8 +43,10 @@ test2()
     assert(os.str() == a);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/ctor_sseq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/ctor_sseq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/ctor_sseq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/ctor_sseq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,8 +47,10 @@ test2()
     assert(os.str() == a);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/default.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,8 +34,10 @@ test2()
     assert(e1() == 23459059301164ull);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/discard.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/discard.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/discard.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/discard.pass.cpp Mon Feb  4 12:31:13 2019
@@ -44,8 +44,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/eval.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/eval.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/eval.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/eval.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,8 +34,10 @@ test2()
     assert(e() == 276846226770426ull);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/io.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/io.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/io.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/io.pass.cpp Mon Feb  4 12:31:13 2019
@@ -55,8 +55,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/result_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/result_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/result_type.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/result_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,8 +34,10 @@ test2()
         std::uint_fast64_t>::value), "");
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_result_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_result_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_result_type.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_result_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,8 +42,10 @@ test2()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_sseq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_sseq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_sseq.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_sseq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -40,8 +40,10 @@ test2()
     assert(e1 == e2);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/values.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/values.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/values.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/values.pass.cpp Mon Feb  4 12:31:13 2019
@@ -74,8 +74,10 @@ test2()
     where(E::default_seed);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/default_random_engine.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/default_random_engine.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/default_random_engine.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/default_random_engine.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::default_random_engine e;
     e.discard(9999);
     LIBCPP_ASSERT(e() == 399268537u);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/knuth_b.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/knuth_b.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/knuth_b.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/knuth_b.pass.cpp Mon Feb  4 12:31:13 2019
@@ -13,9 +13,11 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::knuth_b e;
     e.discard(9999);
     assert(e() == 1112339016u);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/minstd_rand.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/minstd_rand.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/minstd_rand.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/minstd_rand.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::minstd_rand e;
     e.discard(9999);
     assert(e() == 399268537u);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/minstd_rand0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/minstd_rand0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/minstd_rand0.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/minstd_rand0.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::minstd_rand0 e;
     e.discard(9999);
     assert(e() == 1043618065u);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/mt19937.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/mt19937.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/mt19937.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/mt19937.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,9 +18,11 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::mt19937 e;
     e.discard(9999);
     assert(e() == 4123659995u);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/mt19937_64.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/mt19937_64.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/mt19937_64.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/mt19937_64.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,9 +18,11 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::mt19937_64 e;
     e.discard(9999);
     assert(e() == 9981545732273789042ull);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux24.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux24.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux24.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux24.pass.cpp Mon Feb  4 12:31:13 2019
@@ -13,9 +13,11 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::ranlux24 e;
     e.discard(9999);
     assert(e() == 9901578u);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp Mon Feb  4 12:31:13 2019
@@ -13,9 +13,11 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::ranlux24_base e;
     e.discard(9999);
     assert(e() == 7937952u);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux48.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux48.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux48.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux48.pass.cpp Mon Feb  4 12:31:13 2019
@@ -13,9 +13,11 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::ranlux48 e;
     e.discard(9999);
     assert(e() == 249142670248501ull);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux48_base.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux48_base.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux48_base.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.predef/ranlux48_base.pass.cpp Mon Feb  4 12:31:13 2019
@@ -13,9 +13,11 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::ranlux48_base e;
     e.discard(9999);
     assert(e() == 61839128582725ull);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.req/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.req/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.req/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.req/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.adapt/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.adapt/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.adapt/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.adapt/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.dst/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.dst/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.dst/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.dst/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.eng/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.eng/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.eng/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.eng/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.genl/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.genl/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.genl/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.genl/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.seedseq/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.seedseq/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.seedseq/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.seedseq/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.urng/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.urng/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.urng/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.req/rand.req.urng/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.util/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.util/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.util/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.util/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "truncate_fp.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::minstd_rand0 E;
@@ -98,4 +98,6 @@ int main()
             (282475249 - E::min()) * (E::max() - E::min() + F(1))) /
             ((E::max() - E::min() + F(1)) * (E::max() - E::min() + F(1)))));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 
 #include <random>
 
-int main()
+int main(int, char**)
 {
     std::seed_seq s0;
     std::seed_seq s;
     s = s0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,8 +14,10 @@
 
 #include <random>
 
-int main()
+int main(int, char**)
 {
     std::seed_seq s0;
     std::seed_seq s(s0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/default.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::seed_seq s;
     assert(s.size() == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/generate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/generate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/generate.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/generate.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         // These numbers generated from a slightly altered version of dSFMT
@@ -801,4 +801,6 @@ int main()
         for (int i = 0; i < n; ++i)
             assert(a[i] == b[i]);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::seed_seq s= {5, 4, 3, 2, 1};
     assert(s.size() == 5);
@@ -29,4 +29,6 @@ int main()
     assert(b[2] == 3);
     assert(b[3] == 2);
     assert(b[4] == 1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <random>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     unsigned a[5] = {5, 4, 3, 2, 1};
     std::seed_seq s(a, a+5);
@@ -28,4 +28,6 @@ int main()
     assert(b[2] == 3);
     assert(b[3] == 2);
     assert(b[4] == 1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/types.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/rand/rand.util/rand.util.seedseq/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,9 @@
 #include <random>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::seed_seq::result_type, std::uint_least32_t>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@
 
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -1391,4 +1391,5 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == s);
     }
+    return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.fail.cpp Mon Feb  4 12:31:13 2019
@@ -25,11 +25,13 @@
 #error
 #endif
 
-int main()
+int main(int, char**)
 {
     {
         std::smatch m;
         std::regex re{"*"};
         std::regex_match(std::string("abcde"), m, re);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@
 
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -1367,4 +1367,6 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == s);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/ecma.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/ecma.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/ecma.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/ecma.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@
 
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -1391,4 +1391,6 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == s);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/egrep.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/egrep.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/egrep.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/egrep.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "test_iterators.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -78,4 +78,6 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == "tourna");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/exponential.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/exponential.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/exponential.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/exponential.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main() {
+int main(int, char**) {
   for (std::regex_constants::syntax_option_type op :
        {std::regex::ECMAScript, std::regex::extended, std::regex::egrep,
         std::regex::awk}) {

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/extended.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/extended.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/extended.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/extended.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@
 
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -1363,4 +1363,6 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == s);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/grep.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/grep.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/grep.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/grep.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "test_iterators.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -46,4 +46,6 @@ int main()
                 std::regex_constants::grep)));
         assert(m.size() == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/inverted_character_classes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/inverted_character_classes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/inverted_character_classes.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/inverted_character_classes.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <regex>
 
 
-int main() {
+int main(int, char**) {
     assert(std::regex_match("X", std::regex("[X]")));
     assert(std::regex_match("X", std::regex("[XY]")));
     assert(!std::regex_match("X", std::regex("[^X]")));
@@ -40,4 +40,6 @@ int main() {
     assert(!std::regex_match("_", std::regex("[\\W]")));
     assert(std::regex_match("X", std::regex("[^\\W]")));
     assert(std::regex_match("_", std::regex("[^\\W]")));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/lookahead_capture.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/lookahead_capture.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/lookahead_capture.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/lookahead_capture.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@
 #include "test_macros.h"
 #include "test_iterators.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex re("^(?=(.))a$");
@@ -95,4 +95,6 @@ int main()
         assert(m[3] == "a");
         assert(m[4] == "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/parse_curly_brackets.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/parse_curly_brackets.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/parse_curly_brackets.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/parse_curly_brackets.pass.cpp Mon Feb  4 12:31:13 2019
@@ -62,10 +62,12 @@ test4()
     assert((std::regex_match(target, smatch, regex)));
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
     test3();
     test4();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     try {
         std::regex re("a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaa");
@@ -35,4 +35,5 @@ int main()
     } catch (const std::regex_error &e) {
       assert(e.code() == std::regex_constants::error_complexity);
     }
+    return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.replace/test1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.replace/test1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.replace/test1.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.replace/test1.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@
 #include "test_macros.h"
 #include "test_iterators.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -104,4 +104,6 @@ int main()
         assert(r.base() == buf+12);
         assert(buf == std::string("123-555-1234"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.replace/test2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.replace/test2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.replace/test2.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.replace/test2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@
 #include "test_macros.h"
 #include "test_iterators.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -104,4 +104,6 @@ int main()
         assert(r.base() == buf+12);
         assert(buf == std::string("123-555-1234"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.replace/test3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.replace/test3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.replace/test3.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.replace/test3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -70,4 +70,6 @@ int main()
                                            std::regex_constants::format_no_copy);
         assert(r == "123-555-1234");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.replace/test4.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.replace/test4.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.replace/test4.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.replace/test4.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -69,4 +69,6 @@ int main()
                                            std::regex_constants::format_no_copy);
         assert(r == "123-555-1234");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.replace/test5.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.replace/test5.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.replace/test5.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.replace/test5.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -70,4 +70,6 @@ int main()
                                            std::regex_constants::format_no_copy);
         assert(r == "123-555-1234");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.replace/test6.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.replace/test6.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.replace/test6.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.replace/test6.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -70,4 +70,6 @@ int main()
                                            std::regex_constants::format_no_copy);
         assert(r == "123-555-1234");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/awk.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/awk.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/awk.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/awk.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@
 
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -1574,4 +1574,6 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == s);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/backup.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/backup.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/backup.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/backup.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     // This regex_iterator uses regex_search(__wrap_iter<_Iter> __first, ...)
     // Test for https://bugs.llvm.org/show_bug.cgi?id=16240 fixed in r185273.
@@ -60,4 +60,6 @@ int main()
         ++it;
         assert(it == end);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.fail.cpp Mon Feb  4 12:31:13 2019
@@ -25,11 +25,13 @@
 #error
 #endif
 
-int main()
+int main(int, char**)
 {
     {
         std::smatch m;
         std::regex re{"*"};
         std::regex_search(std::string("abcde"), m, re);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@
 
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -1547,4 +1547,6 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == s);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/ecma.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/ecma.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/ecma.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/ecma.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@
 
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -1589,4 +1589,6 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == s);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/egrep.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/egrep.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/egrep.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/egrep.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "test_iterators.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -87,4 +87,6 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == "tourna");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/exponential.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/exponential.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/exponential.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/exponential.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main() {
+int main(int, char**) {
   for (std::regex_constants::syntax_option_type op :
        {std::regex::ECMAScript, std::regex::extended, std::regex::egrep,
         std::regex::awk}) {

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/extended.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/extended.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/extended.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/extended.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@
 
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -1543,4 +1543,6 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == s);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/grep.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/grep.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/grep.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/grep.pass.cpp Mon Feb  4 12:31:13 2019
@@ -50,7 +50,7 @@ void fuzz_tests()  // patterns that the
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::cmatch m;
@@ -85,4 +85,6 @@ int main()
         assert(m.str(0) == "");
     }
     fuzz_tests();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/invert_neg_word_search.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/invert_neg_word_search.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/invert_neg_word_search.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/invert_neg_word_search.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 
 // PR34310
-int main()
+int main(int, char**)
 {
   assert(std::regex_search("HelloWorld", std::regex("[^\\W]")));
   assert(std::regex_search("_", std::regex("[^\\W]")));

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/lookahead.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/lookahead.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/lookahead.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/lookahead.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,8 +21,10 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(!std::regex_search("ab", std::regex("(?=^)b")));
     assert(!std::regex_search("ab", std::regex("a(?=^)b")));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     // Iterating over /^a/ should yield one instance at the beginning
     // of the text.
@@ -35,4 +35,6 @@ int main()
 
     ++it;
     assert(it == end);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.alg/re.except/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.except/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.except/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.except/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.badexp/regex_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.badexp/regex_error.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.badexp/regex_error.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.badexp/regex_error.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_error e(std::regex_constants::error_collate);
@@ -93,4 +93,6 @@ int main()
         assert(e.what() == std::string("There was insufficient memory to determine whether the regular "
                "expression could match the specified character sequence."));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.const/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.const/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.const/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.const/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.const/re.err/error_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.const/re.err/error_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.const/re.err/error_type.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.const/re.err/error_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::regex_constants::error_collate != 0);
     assert(std::regex_constants::error_ctype != 0);
@@ -140,4 +140,6 @@ int main()
     assert(std::regex_constants::error_badrepeat != std::regex_constants::error_stack);
 
     assert(std::regex_constants::error_complexity != std::regex_constants::error_stack);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.const/re.matchflag/match_flag_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.const/re.matchflag/match_flag_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.const/re.matchflag/match_flag_type.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.const/re.matchflag/match_flag_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::regex_constants::match_default == 0);
     assert(std::regex_constants::match_not_bol != 0);
@@ -125,4 +125,6 @@ int main()
     e1 &= e2;
     e1 |= e2;
     e1 ^= e2;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_bol.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_bol.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_bol.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_bol.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     std::string target = "foo";
@@ -47,4 +47,6 @@ int main()
     assert( std::regex_search(target, re));
     assert( std::regex_search(target, re, std::regex_constants::match_not_bol));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_eol.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_eol.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_eol.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_eol.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     std::string target = "foo";
@@ -47,4 +47,6 @@ int main()
     assert( std::regex_search(target, re));
     assert( std::regex_search(target, re, std::regex_constants::match_not_eol));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_null.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_null.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_null.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.const/re.matchflag/match_not_null.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <cassert>
 #include <regex>
 
-int main()
+int main(int, char**)
 {
   // When match_not_null is on, the regex engine should reject empty matches and
   // move on to try other solutions.

Modified: libcxx/trunk/test/std/re/re.const/re.synopt/syntax_option_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.const/re.synopt/syntax_option_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.const/re.synopt/syntax_option_type.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.const/re.synopt/syntax_option_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -32,7 +32,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::regex_constants::icase != 0);
     assert(std::regex_constants::nosubs != 0);
@@ -111,4 +111,6 @@ int main()
     e1 &= e2;
     e1 |= e2;
     e1 ^= e2;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.def/defns.regex.collating.element/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.def/defns.regex.collating.element/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.def/defns.regex.collating.element/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.def/defns.regex.collating.element/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.def/defns.regex.finite.state.machine/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.def/defns.regex.finite.state.machine/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.def/defns.regex.finite.state.machine/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.def/defns.regex.finite.state.machine/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.def/defns.regex.format.specifier/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.def/defns.regex.format.specifier/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.def/defns.regex.format.specifier/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.def/defns.regex.format.specifier/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.def/defns.regex.matched/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.def/defns.regex.matched/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.def/defns.regex.matched/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.def/defns.regex.matched/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.def/defns.regex.primary.equivalence.class/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.def/defns.regex.primary.equivalence.class/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.def/defns.regex.primary.equivalence.class/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.def/defns.regex.primary.equivalence.class/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.def/defns.regex.regular.expression/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.def/defns.regex.regular.expression/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.def/defns.regex.regular.expression/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.def/defns.regex.regular.expression/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.def/defns.regex.subexpression/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.def/defns.regex.subexpression/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.def/defns.regex.subexpression/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.def/defns.regex.subexpression/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.def/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.def/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.def/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.def/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.general/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.grammar/excessive_brace_count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.grammar/excessive_brace_count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.grammar/excessive_brace_count.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.grammar/excessive_brace_count.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main() {
+int main(int, char**) {
   for (std::regex_constants::syntax_option_type op :
        {std::regex::basic, std::regex::grep}) {
     try {

Modified: libcxx/trunk/test/std/re/re.grammar/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.grammar/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.grammar/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.grammar/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@
 #error
 #endif
 
-int main()
+int main(int, char**)
 {
     {
         const char phone_book[] = "555-1234, 555-2345, 555-3456";
@@ -32,4 +32,6 @@ int main()
             std::begin(phone_book), std::end(phone_book),
             std::regex("\\d{3}-\\d{4}"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -41,4 +41,6 @@ int main()
         ++i;
         assert(i == std::cregex_iterator());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/default.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,8 +25,10 @@ test()
     assert(i1 == I());
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
     test<wchar_t>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.comp/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.comp/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.comp/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.comp/tested_elsewhere.pass.cpp Mon Feb  4 12:31:13 2019
@@ -13,6 +13,8 @@
 // bool operator==(const regex_iterator& right) const;
 // bool operator!=(const regex_iterator& right) const;
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.deref/deref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.deref/deref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.deref/deref.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.deref/deref.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -39,4 +39,6 @@ int main()
         ++i;
         assert(i == std::cregex_iterator());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -112,4 +112,6 @@ int main()
         ++i;
         assert(i == e);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.regiter/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.regiter/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.regiter/types.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.regiter/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -38,8 +38,10 @@ test()
     static_assert((std::is_same<typename I::iterator_category, std::forward_iterator_tag>::value), "");
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
     test<wchar_t>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@
 #error
 #endif
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-(\\d{4})");
@@ -35,4 +35,6 @@ int main()
         std::cregex_token_iterator i(std::begin(phone_book), std::end(phone_book)-1,
                                      std::regex("\\d{3}-\\d{4}"), indices);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-(\\d{4})");
@@ -61,4 +61,6 @@ int main()
         ++i;
         assert(i == std::cregex_token_iterator());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/default.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,8 +25,10 @@ test()
     assert(i1 == I());
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
     test<wchar_t>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@
 #error
 #endif
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-(\\d{4})");
@@ -32,4 +32,6 @@ int main()
         std::cregex_token_iterator i(std::begin(phone_book), std::end(phone_book)-1,
                                       std::regex("\\d{3}-\\d{4}"), {-1, 0, 1});
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-(\\d{4})");
@@ -61,4 +61,6 @@ int main()
         ++i;
         assert(i == std::cregex_token_iterator());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@
 #error
 #endif
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -31,4 +31,6 @@ int main()
         std::cregex_token_iterator i(std::begin(phone_book), std::end(phone_book)-1,
                                      std::regex("\\d{3}-\\d{4}"), -1);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -72,4 +72,6 @@ int main()
         ++i;
         assert(i == std::cregex_token_iterator());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@
 #error
 #endif
 
-int main()
+int main(int, char**)
 {
     {
          std::regex phone_numbers("\\d{3}-(\\d{4})");
@@ -36,4 +36,6 @@ int main()
         std::cregex_token_iterator i(std::begin(phone_book), std::end(phone_book)-1,
                                      std::regex("\\d{3}-\\d{4}"), v);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-(\\d{4})");
@@ -125,4 +125,6 @@ int main()
         ++i;
         assert(i == std::cregex_token_iterator());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.comp/equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.comp/equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.comp/equal.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.comp/equal.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -33,4 +33,6 @@ int main()
         assert(!(i2 == i));
         assert(i2 != i);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.deref/deref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.deref/deref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.deref/deref.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.deref/deref.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -69,4 +69,6 @@ int main()
         ++i;
         assert(i == std::cregex_token_iterator());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.incr/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.incr/post.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.incr/post.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.incr/post.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex phone_numbers("\\d{3}-\\d{4}");
@@ -132,4 +132,6 @@ int main()
         i++;
         assert(i == std::cregex_token_iterator());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/types.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -38,8 +38,10 @@ test()
     static_assert((std::is_same<typename I::iterator_category, std::forward_iterator_tag>::value), "");
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
     test<wchar_t>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign.il.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign.il.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign.il.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign.il.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r2;
     r2.assign({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'});
@@ -30,4 +30,6 @@ int main()
     r2.assign({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}, std::regex::extended);
     assert(r2.flags() == std::regex::extended);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r1("(a([bc]))");
     std::regex r2;
@@ -34,4 +34,6 @@ int main()
     assert(r2.mark_count() == 2);
     assert(std::regex_search("ab", r2));
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_iter_iter_flag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_iter_iter_flag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_iter_iter_flag.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_iter_iter_flag.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "test_iterators.h"
 
-int main()
+int main(int, char**)
 {
     typedef input_iterator<std::string::const_iterator> I;
     typedef forward_iterator<std::string::const_iterator> F;
@@ -43,4 +43,6 @@ int main()
     r2.assign(F(s4.begin()), F(s4.end()), std::regex::extended);
     assert(r2.flags() == std::regex::extended);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_ptr_flag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_ptr_flag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_ptr_flag.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_ptr_flag.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r2;
     r2.assign("(a([bc]))");
@@ -26,4 +26,6 @@ int main()
     r2.assign("(a([bc]))", std::regex::extended);
     assert(r2.flags() == std::regex::extended);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_ptr_size_flag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_ptr_size_flag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_ptr_size_flag.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_ptr_size_flag.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,10 +16,12 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r2;
     r2.assign("(a([bc]))", 9, std::regex::extended);
     assert(r2.flags() == std::regex::extended);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_string_flag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_string_flag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_string_flag.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/assign_string_flag.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r2;
     r2.assign(std::string("(a([bc]))"));
@@ -28,4 +28,6 @@ int main()
     r2.assign(std::string("(a([bc]))"), std::regex::extended);
     assert(r2.flags() == std::regex::extended);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,11 +16,13 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r1("(a([bc]))");
     std::regex r2;
     r2 = r1;
     assert(r2.flags() == std::regex::ECMAScript);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/il.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/il.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/il.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/il.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,10 +18,12 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r2;
     r2 = {'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'};
     assert(r2.flags() == std::regex::ECMAScript);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/ptr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,10 +16,12 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r2;
     r2 = "(a([bc]))";
     assert(r2.flags() == std::regex::ECMAScript);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.assign/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.assign/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.assign/string.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.assign/string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,10 +17,12 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r2;
     r2 = std::string("(a([bc]))");
     assert(r2.flags() == std::regex::ECMAScript);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.const/constants.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.const/constants.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.const/constants.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.const/constants.pass.cpp Mon Feb  4 12:31:13 2019
@@ -58,8 +58,10 @@ test()
     where(BR::egrep);
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
     test<wchar_t>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     using std::regex_constants::awk;
 
@@ -25,4 +25,6 @@ int main()
     assert(std::regex_match("\41", std::regex("\\41", awk)));
     assert(std::regex_match("\141", std::regex("\\141", awk)));
     assert(std::regex_match("\141" "1", std::regex("\\1411", awk)));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_backref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_backref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_backref.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_backref.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ static bool error_badbackref_thrown(cons
     return result;
 }
 
-int main()
+int main(int, char**)
 {
     assert(error_badbackref_thrown("\\1abc"));      // no references
     assert(error_badbackref_thrown("ab(c)\\2def")); // only one reference
@@ -41,4 +41,6 @@ int main()
     const char *pat1 = "a(b)c\\1234";
     std::regex re(pat1, pat1 + 7); // extra chars after the end.
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_ctype.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_ctype.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_ctype.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_ctype.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,8 +29,10 @@ static bool error_ctype_thrown(const cha
     return result;
 }
 
-int main()
+int main(int, char**)
 {
     assert(error_ctype_thrown("[[::]]"));
     assert(error_ctype_thrown("[[:error:]]"));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ static bool error_escape_thrown(const ch
     return result;
 }
 
-int main()
+int main(int, char**)
 {
     assert(error_escape_thrown("[\\a]"));
     assert(error_escape_thrown("\\a"));
@@ -44,4 +44,6 @@ int main()
     assert(!error_escape_thrown("[\\cA]"));
     assert(!error_escape_thrown("\\cA"));
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ static bool error_badrepeat_thrown(const
     return result;
 }
 
-int main()
+int main(int, char**)
 {
     assert(error_badrepeat_thrown("?a"));
     assert(error_badrepeat_thrown("*a"));
@@ -40,4 +40,6 @@ int main()
     assert(error_badrepeat_thrown("*(a+)"));
     assert(error_badrepeat_thrown("+(a+)"));
     assert(error_badrepeat_thrown("{(a+)"));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,10 +16,12 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r1("(a([bc]))");
     std::regex r2 = r1;
     assert(r2.flags() == std::regex::ECMAScript);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@
 #include <cstddef>
 
 
-int main()
+int main(int, char**)
 {
 //  Test the explicit deduction guides
     {
@@ -41,4 +41,6 @@ int main()
 
 //  Test the implicit deduction guides
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ using namespace std::literals;
 
 struct A {};
 
-int main()
+int main(int, char**)
 {
 
 //  Test the explicit deduction guides
@@ -133,4 +133,6 @@ int main()
     assert(re.flags() == std::regex_constants::grep);
     assert(re.mark_count() == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/default.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,8 +25,10 @@ test()
     assert(r.mark_count() == 0);
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
     test<wchar_t>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/il_flg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/il_flg.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/il_flg.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/il_flg.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ test(std::initializer_list<char> il, std
 }
 
 
-int main()
+int main(int, char**)
 {
     std::string s1("\\(a\\)");
     std::string s2("\\(a[bc]\\)");
@@ -65,4 +65,6 @@ int main()
     test({'\\', '(', 'a', '[', 'b', 'c', ']', '\\', ')'}, std::regex_constants::egrep, 0);
     test({'\\', '(', 'a', '\\', '(', '[', 'b', 'c', ']', '\\', ')', '\\', ')'}, std::regex_constants::egrep, 0);
     test({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}, std::regex_constants::egrep, 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ test(Iter first, Iter last, unsigned mc)
     assert(r.mark_count() == mc);
 }
 
-int main()
+int main(int, char**)
 {
     typedef forward_iterator<std::string::const_iterator> F;
     std::string s1("\\(a\\)");
@@ -40,4 +40,6 @@ int main()
     test(F(s2.begin()), F(s2.end()), 0);
     test(F(s3.begin()), F(s3.end()), 0);
     test(F(s4.begin()), F(s4.end()), 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/iter_iter_flg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/iter_iter_flg.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/iter_iter_flg.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/iter_iter_flg.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ test(Iter first, Iter last, std::regex_c
     assert(r.mark_count() == mc);
 }
 
-int main()
+int main(int, char**)
 {
     typedef forward_iterator<std::string::const_iterator> F;
     std::string s1("\\(a\\)");
@@ -66,4 +66,6 @@ int main()
     test(F(s2.begin()), F(s2.end()), std::regex_constants::egrep, 0);
     test(F(s3.begin()), F(s3.end()), std::regex_constants::egrep, 0);
     test(F(s4.begin()), F(s4.end()), std::regex_constants::egrep, 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,10 +25,12 @@ test(const CharT* p, unsigned mc)
     assert(r.mark_count() == mc);
 }
 
-int main()
+int main(int, char**)
 {
     test("\\(a\\)", 0);
     test("\\(a[bc]\\)", 0);
     test("\\(a\\([bc]\\)\\)", 0);
     test("(a([bc]))", 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const CharT* p, std::regex_constant
     assert(r.mark_count() == mc);
 }
 
-int main()
+int main(int, char**)
 {
     test("\\(a\\)", std::regex_constants::basic, 1);
     test("\\(a[bc]\\)", std::regex_constants::basic, 1);
@@ -56,4 +56,6 @@ int main()
     test("\\(a[bc]\\)", std::regex_constants::egrep, 0);
     test("\\(a\\([bc]\\)\\)", std::regex_constants::egrep, 0);
     test("(a([bc]))", std::regex_constants::egrep, 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_size.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ test(const CharT* p, std::size_t len, un
     assert(r.mark_count() == mc);
 }
 
-int main()
+int main(int, char**)
 {
     test("\\(a\\)", 5, 0);
     test("\\(a[bc]\\)", 9, 0);
@@ -35,4 +35,6 @@ int main()
     test("(\0)(b)(c)(d)", 9, 3);
     test("(\0)(b)(c)(d)", 3, 1);
     test("(\0)(b)(c)(d)", 0, 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_size_flg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_size_flg.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_size_flg.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/ptr_size_flg.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(const CharT* p, std::size_t len, st
     assert(r.mark_count() == mc);
 }
 
-int main()
+int main(int, char**)
 {
     test("\\(a\\)", 5, std::regex_constants::basic, 1);
     test("\\(a[bc]\\)", 9, std::regex_constants::basic, 1);
@@ -57,4 +57,6 @@ int main()
     test("\\(a[bc]\\)", 9, std::regex_constants::egrep, 0);
     test("\\(a\\([bc]\\)\\)", 13, std::regex_constants::egrep, 0);
     test("(a([bc]))", 9, std::regex_constants::egrep, 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/string.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,10 +26,12 @@ test(const String& p, unsigned mc)
     assert(r.mark_count() == mc);
 }
 
-int main()
+int main(int, char**)
 {
     test(std::string("\\(a\\)"), 0);
     test(std::string("\\(a[bc]\\)"), 0);
     test(std::string("\\(a\\([bc]\\)\\)"), 0);
     test(std::string("(a([bc]))"), 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.construct/string_flg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.construct/string_flg.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.construct/string_flg.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.construct/string_flg.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(const String& p, std::regex_constan
     assert(r.mark_count() == mc);
 }
 
-int main()
+int main(int, char**)
 {
     test(std::string("\\(a\\)"), std::regex_constants::basic, 1);
     test(std::string("\\(a[bc]\\)"), std::regex_constants::basic, 1);
@@ -58,4 +58,6 @@ int main()
     test(std::string("\\(a[bc]\\)"), std::regex_constants::egrep, 0);
     test(std::string("\\(a\\([bc]\\)\\)"), std::regex_constants::egrep, 0);
     test(std::string("(a([bc]))"), std::regex_constants::egrep, 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.locale/imbue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.locale/imbue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.locale/imbue.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.locale/imbue.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     std::regex r;
     std::locale loc = r.imbue(std::locale(LOCALE_en_US_UTF_8));
@@ -30,4 +30,6 @@ int main()
     loc = r.imbue(std::locale("C"));
     assert(loc.name() == LOCALE_en_US_UTF_8);
     assert(r.getloc().name() == "C");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.nonmemb/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.nonmemb/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.nonmemb/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.nonmemb/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.nonmemb/re.regex.nmswap/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.nonmemb/re.regex.nmswap/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.nonmemb/re.regex.nmswap/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.nonmemb/re.regex.nmswap/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r1("(a([bc]))");
     std::regex r2;
@@ -26,4 +26,6 @@ int main()
     assert(r1.mark_count() == 0);
     assert(r2.flags() == std::regex::ECMAScript);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.operations/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.operations/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.operations/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.operations/tested_elsewhere.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.swap/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.swap/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.swap/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.swap/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::regex r1("(a([bc]))");
     std::regex r2;
@@ -25,4 +25,6 @@ int main()
     assert(r1.mark_count() == 0);
     assert(r2.flags() == std::regex::ECMAScript);
     assert(r2.mark_count() == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.regex/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/types.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::basic_regex<char>::value_type, char>::value), "");
     static_assert((std::is_same<std::basic_regex<char>::traits_type, std::regex_traits<char> >::value), "");
@@ -38,4 +38,6 @@ int main()
     static_assert((std::is_same<std::basic_regex<wchar_t>::flag_type,
                                 std::regex_constants::syntax_option_type>::value), "");
     static_assert((std::is_same<std::basic_regex<wchar_t>::locale_type, std::locale>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.req/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.req/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.req/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.req/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.acc/begin_end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.acc/begin_end.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.acc/begin_end.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.acc/begin_end.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,9 @@ test()
         assert(*i == m[j]);
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.acc/cbegin_cend.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.acc/cbegin_cend.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.acc/cbegin_cend.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.acc/cbegin_cend.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,9 @@ test()
         assert(*i == m[j]);
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.acc/index.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.acc/index.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.acc/index.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.acc/index.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,8 +46,10 @@ test(std::regex_constants::syntax_option
     assert(m[4].matched == false);
 }
 
-int main()
+int main(int, char**)
 {
     test(std::regex_constants::ECMAScript);
     test(std::regex_constants::extended);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.acc/length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.acc/length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.acc/length.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.acc/length.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,9 @@ test()
     assert(m.length(4) == m[4].length());
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.acc/position.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.acc/position.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.acc/position.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.acc/position.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,9 @@ test()
     assert(m.position(4) == std::distance(s, m[4].first));
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.acc/prefix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.acc/prefix.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.acc/prefix.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.acc/prefix.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,9 @@ test()
     assert(m.prefix().matched == true);
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.acc/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.acc/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.acc/str.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.acc/str.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,9 @@ test()
     assert(m.str(4) == std::string(m[4]));
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.acc/suffix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.acc/suffix.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.acc/suffix.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.acc/suffix.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,9 @@ test()
     assert(m.suffix().matched == true);
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.all/get_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.all/get_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.all/get_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.all/get_allocator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,8 +28,10 @@ test(const Allocator& a)
     assert(m.get_allocator() == a);
 }
 
-int main()
+int main(int, char**)
 {
     test<char>(test_allocator<std::sub_match<const char*> >(3));
     test<wchar_t>(test_allocator<std::sub_match<const wchar_t*> >(3));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.const/allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.const/allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.const/allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.const/allocator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,8 +28,10 @@ test(const Allocator& a)
     assert(m.get_allocator() == a);
 }
 
-int main()
+int main(int, char**)
 {
     test<char>(test_allocator<std::sub_match<const char*> >(3));
     test<wchar_t>(test_allocator<std::sub_match<const wchar_t*> >(3));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.const/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.const/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.const/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.const/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,11 +30,13 @@ test(const Allocator& a)
     assert(m1.get_allocator() == m0.get_allocator());
 }
 
-int main()
+int main(int, char**)
 {
     test<char>   (std::allocator<std::sub_match<const char *> >());
     test<wchar_t>(std::allocator<std::sub_match<const wchar_t *> >());
 
     test<char>   (test_allocator<std::sub_match<const char*> >(3));
     test<wchar_t>(test_allocator<std::sub_match<const wchar_t*> >(3));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.const/copy_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.const/copy_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.const/copy_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.const/copy_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ test(const Allocator& a)
         assert(m1.get_allocator() == Allocator());
 }
 
-int main()
+int main(int, char**)
 {
     test<char>   (std::allocator<std::sub_match<const char *> >());
     test<wchar_t>(std::allocator<std::sub_match<const wchar_t *> >());
@@ -46,4 +46,6 @@ int main()
 //  other_allocator has POCCA -> true
     test<char>   (other_allocator<std::sub_match<const char*> >(3));
     test<wchar_t>(other_allocator<std::sub_match<const wchar_t*> >(3));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.const/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.const/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.const/default.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.const/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,8 +26,10 @@ test()
     assert(m.get_allocator() == std::allocator<std::sub_match<const CharT*> >());
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
     test<wchar_t>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.const/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.const/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.const/move.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.const/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ test(const Allocator& a)
     assert(m1.get_allocator() == a);
 }
 
-int main()
+int main(int, char**)
 {
     test<char>   (std::allocator<std::sub_match<const char *> >());
     test<wchar_t>(std::allocator<std::sub_match<const wchar_t *> >());
@@ -44,4 +44,6 @@ int main()
     assert(test_alloc_base::moved == 1);
     test<wchar_t>(test_allocator<std::sub_match<const wchar_t*> >(3));
     assert(test_alloc_base::moved == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.const/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.const/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.const/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.const/move_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ test(const Allocator& a)
         assert(m1.get_allocator() == Allocator());
 }
 
-int main()
+int main(int, char**)
 {
     test<char>   (std::allocator<std::sub_match<const char *> >());
     test<wchar_t>(std::allocator<std::sub_match<const wchar_t *> >());
@@ -47,4 +47,6 @@ int main()
 //  other_allocator has POCMA -> true
     test<char>   (other_allocator<std::sub_match<const char*> >(3));
     test<wchar_t>(other_allocator<std::sub_match<const wchar_t*> >(3));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.form/form1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.form/form1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.form/form1.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.form/form1.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "test_iterators.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::match_results<const char*> m;
@@ -152,4 +152,6 @@ int main()
         assert(r == out + 34);
         assert(std::wstring(out) == L"match: cdefghi, m[1]: efg, m[2]: e");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.form/form2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.form/form2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.form/form2.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.form/form2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@
 #include "test_iterators.h"
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::basic_string<char, std::char_traits<char>, test_allocator<char> > nstr;
     typedef std::basic_string<wchar_t, std::char_traits<wchar_t>, test_allocator<wchar_t> > wstr;
@@ -99,4 +99,6 @@ int main()
         assert(r == out + 34);
         assert(std::wstring(out) == L"match: cdefghi, m[1]: efg, m[2]: e");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.form/form3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.form/form3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.form/form3.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.form/form3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@
 #include "test_macros.h"
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::basic_string<char, std::char_traits<char>, test_allocator<char> > nstr;
     typedef std::basic_string<wchar_t, std::char_traits<wchar_t>, test_allocator<wchar_t> > wstr;
@@ -82,4 +82,6 @@ int main()
         wstr out = m.format(fmt, std::regex_constants::format_sed);
         assert(out == L"match: cdefghi, m[1]: efg, m[2]: e");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.form/form4.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.form/form4.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.form/form4.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.form/form4.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::match_results<const char*> m;
@@ -77,4 +77,6 @@ int main()
         std::wstring out = m.format(fmt, std::regex_constants::format_sed);
         assert(out == L"match: cdefghi, m[1]: efg, m[2]: e");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.nonmember/equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.nonmember/equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.nonmember/equal.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.nonmember/equal.pass.cpp Mon Feb  4 12:31:13 2019
@@ -40,7 +40,9 @@ test()
     assert(m1 == m2);
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.size/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.size/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.size/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.size/empty.fail.cpp Mon Feb  4 12:31:13 2019
@@ -19,8 +19,10 @@
 
 #include "test_macros.h"
 
-int main ()
+int main(int, char**)
 {
     std::match_results<const char*> c;
     c.empty();  // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.size/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.size/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.size/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.size/empty.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,9 @@ test()
     assert(m.size() == 3);
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.size/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.size/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.size/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.size/max_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,8 +24,10 @@ test()
     assert(m.max_size() > 0);
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
     test<wchar_t>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.state/ready.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.state/ready.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.state/ready.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.state/ready.pass.cpp Mon Feb  4 12:31:13 2019
@@ -36,8 +36,10 @@ test2()
     assert(m.ready() == true);
 }
 
-int main()
+int main(int, char**)
 {
     test1();
     test2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.swap/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.swap/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.swap/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.swap/member_swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,9 @@ test()
     assert(m2 == m1_save);
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/re.results.swap/non_member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/re.results.swap/non_member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/re.results.swap/non_member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/re.results.swap/non_member_swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,9 @@ test()
     assert(m2 == m1_save);
 }
 
-int main()
+int main(int, char**)
 {
     test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.results/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.results/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.results/types.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.results/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -44,8 +44,10 @@ test()
     static_assert((std::is_same<typename MR::string_type, std::basic_string<CharT> >::value), "");
 }
 
-int main()
+int main(int, char**)
 {
     test<char>();
     test<wchar_t>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_string_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_string_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_string_type.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_string_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef char CharT;
@@ -44,4 +44,6 @@ int main()
         assert(sm.compare(string()) > 0);
         assert(sm.compare(string(L"123")) == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_sub_match.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_sub_match.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_sub_match.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_sub_match.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef char CharT;
@@ -50,4 +50,6 @@ int main()
         sm2.matched = true;
         assert(sm.compare(sm2) == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_value_type_ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_value_type_ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_value_type_ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/re.submatch.members/compare_value_type_ptr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef char CharT;
@@ -42,4 +42,6 @@ int main()
         assert(sm.compare(L"") > 0);
         assert(sm.compare(L"123") == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/re.submatch.members/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/re.submatch.members/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/re.submatch.members/default.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/re.submatch.members/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef char CharT;
@@ -30,4 +30,6 @@ int main()
         SM sm;
         assert(sm.matched == false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/re.submatch.members/length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/re.submatch.members/length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/re.submatch.members/length.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/re.submatch.members/length.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef char CharT;
@@ -40,4 +40,6 @@ int main()
         sm.matched = true;
         assert(sm.length() == 3);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/re.submatch.members/operator_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/re.submatch.members/operator_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/re.submatch.members/operator_string.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/re.submatch.members/operator_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef char CharT;
@@ -44,4 +44,6 @@ int main()
         str = sm;
         assert(str == std::wstring(L"123"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/re.submatch.members/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/re.submatch.members/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/re.submatch.members/str.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/re.submatch.members/str.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef char CharT;
@@ -44,4 +44,6 @@ int main()
         str = sm.str();
         assert(str == std::wstring(L"123"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/re.submatch.op/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/re.submatch.op/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/re.submatch.op/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/re.submatch.op/compare.pass.cpp Mon Feb  4 12:31:13 2019
@@ -276,7 +276,7 @@ test(const std::basic_string<CharT>& x,
     assert((sm1 >= y[0]) == (x >= string(1, y[0])));
 }
 
-int main()
+int main(int, char**)
 {
     test(std::string("123"), std::string("123"));
     test(std::string("1234"), std::string("123"));
@@ -284,4 +284,6 @@ int main()
     test(std::wstring(L"1234"), std::wstring(L"123"));
     test(std::string("123\000" "56", 6), std::string("123\000" "56", 6), false);
     test(std::wstring(L"123\000" L"56", 6), std::wstring(L"123\000" L"56", 6), false);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/re.submatch.op/stream.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/re.submatch.op/stream.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/re.submatch.op/stream.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/re.submatch.op/stream.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,8 +35,10 @@ test(const std::basic_string<CharT>& s)
     assert(os.str() == s);
 }
 
-int main()
+int main(int, char**)
 {
     test(std::string("123"));
     test(std::wstring(L"123"));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.submatch/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.submatch/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.submatch/types.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.submatch/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::sub_match<char*> SM;
@@ -61,4 +61,6 @@ int main()
         static_assert((std::is_same<std::ssub_match, std::sub_match<std::string::const_iterator> >::value), "");
         static_assert((std::is_same<std::wssub_match, std::sub_match<std::wstring::const_iterator> >::value), "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/cmatch.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/cmatch.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/cmatch.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/cmatch.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::match_results<const char*>, std::cmatch>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/cregex_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/cregex_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/cregex_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/cregex_iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::regex_iterator<const char*>, std::cregex_iterator>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/cregex_token_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/cregex_token_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/cregex_token_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/cregex_token_iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::regex_token_iterator<const char*>, std::cregex_token_iterator>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/csub_match.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/csub_match.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/csub_match.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/csub_match.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::sub_match<const char*>, std::csub_match>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/regex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/regex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/regex.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/regex.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::basic_regex<char>, std::regex>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/smatch.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/smatch.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/smatch.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/smatch.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::match_results<std::string::const_iterator>, std::smatch>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/sregex_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/sregex_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/sregex_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/sregex_iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::regex_iterator<std::string::const_iterator>, std::sregex_iterator>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/sregex_token_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/sregex_token_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/sregex_token_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/sregex_token_iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::regex_token_iterator<std::string::const_iterator>, std::sregex_token_iterator>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/ssub_match.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/ssub_match.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/ssub_match.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/ssub_match.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::sub_match<std::string::const_iterator>, std::ssub_match>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/wcmatch.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/wcmatch.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/wcmatch.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/wcmatch.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::match_results<const wchar_t*>, std::wcmatch>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/wcregex_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/wcregex_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/wcregex_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/wcregex_iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::regex_iterator<const wchar_t*>, std::wcregex_iterator>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/wcregex_token_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/wcregex_token_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/wcregex_token_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/wcregex_token_iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::regex_token_iterator<const wchar_t*>, std::wcregex_token_iterator>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/wcsub_match.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/wcsub_match.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/wcsub_match.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/wcsub_match.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::sub_match<const wchar_t*>, std::wcsub_match>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/wregex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/wregex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/wregex.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/wregex.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::basic_regex<wchar_t>, std::wregex>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/wsmatch.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/wsmatch.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/wsmatch.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/wsmatch.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::match_results<std::wstring::const_iterator>, std::wsmatch>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/wsregex_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/wsregex_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/wsregex_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/wsregex_iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::regex_iterator<std::wstring::const_iterator>, std::wsregex_iterator>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/wsregex_token_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/wsregex_token_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/wsregex_token_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/wsregex_token_iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::regex_token_iterator<std::wstring::const_iterator>, std::wsregex_token_iterator>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.syn/wssub_match.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.syn/wssub_match.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.syn/wssub_match.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.syn/wssub_match.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::sub_match<std::wstring::const_iterator>, std::wssub_match>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/default.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_traits<char> t1;
@@ -36,4 +36,6 @@ int main()
         std::regex_traits<wchar_t> t2;
         assert(t2.getloc().name() == LOCALE_en_US_UTF_8);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/getloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/getloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/getloc.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/getloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include "test_macros.h"
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_traits<char> t1;
@@ -35,4 +35,6 @@ int main()
         std::regex_traits<wchar_t> t2;
         assert(t2.getloc().name() == LOCALE_en_US_UTF_8);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/imbue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/imbue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/imbue.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/imbue.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_traits<char> t;
@@ -29,4 +29,6 @@ int main()
         assert(loc.name() == "C");
         assert(t.getloc().name() == LOCALE_en_US_UTF_8);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/isctype.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/isctype.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/isctype.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/isctype.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_traits<char> t;
@@ -280,4 +280,6 @@ int main()
         assert(!t.isctype(L'-', t.lookup_classname(s.begin(), s.end())));
         assert(!t.isctype(L'@', t.lookup_classname(s.begin(), s.end())));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/length.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/length.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::regex_traits<char>::length("") == 0);
     assert(std::regex_traits<char>::length("1") == 1);
@@ -28,4 +28,6 @@ int main()
     assert(std::regex_traits<wchar_t>::length(L"1") == 1);
     assert(std::regex_traits<wchar_t>::length(L"12") == 2);
     assert(std::regex_traits<wchar_t>::length(L"123") == 3);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/lookup_classname.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/lookup_classname.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/lookup_classname.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/lookup_classname.pass.cpp Mon Feb  4 12:31:13 2019
@@ -53,7 +53,7 @@ test_w(const char_type* A,
       assert(!matches_underscore && "should not match underscore");
 }
 
-int main()
+int main(int, char**)
 {
 //  if __regex_word is not distinct from all the classes, bad things happen
 //  See https://bugs.llvm.org/show_bug.cgi?id=26476 for an example.
@@ -243,4 +243,6 @@ int main()
     test(L"dig", std::ctype_base::mask());
     test(L"", std::ctype_base::mask());
     test(L"digits", std::ctype_base::mask());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/lookup_collatename.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/lookup_collatename.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/lookup_collatename.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/lookup_collatename.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,7 @@ test(const char_type* A, const std::basi
     assert(t.lookup_collatename(F(A), F(A + t.length(A))) == expected);
 }
 
-int main()
+int main(int, char**)
 {
     test("NUL", std::string("\x00", 1));
     test("alert", std::string("\x07"));
@@ -192,4 +192,6 @@ int main()
     std::locale::global(std::locale(LOCALE_cs_CZ_ISO8859_2));
     test(L"ch", std::wstring(L"ch"));
     std::locale::global(std::locale("C"));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/transform.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/transform.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/transform.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/transform.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@
 #include "test_iterators.h"
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_traits<char> t;
@@ -45,4 +45,6 @@ int main()
         t.imbue(std::locale(LOCALE_cs_CZ_ISO8859_2));
         assert(t.transform(F(a), F(a+1)) < t.transform(F(B), F(B+1)));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/transform_primary.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/transform_primary.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/transform_primary.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/transform_primary.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@
 #include "test_iterators.h"
 #include "platform_support.h" // locale name macros
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_traits<char> t;
@@ -51,4 +51,6 @@ int main()
         assert(t.transform_primary(F(A), F(A+1)) ==
                t.transform_primary(F(Aacute), F(Aacute+1)));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/translate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/translate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/translate.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/translate.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_traits<char> t;
@@ -31,4 +31,6 @@ int main()
         assert(t.translate(L'B') == L'B');
         assert(t.translate(L'c') == L'c');
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/translate_nocase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/translate_nocase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/translate_nocase.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/translate_nocase.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "platform_support.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_traits<char> t;
@@ -61,4 +61,6 @@ int main()
         assert(t.translate_nocase(L'\xDA') == L'\xFA');
         assert(t.translate_nocase(L'\xFA') == L'\xFA');
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/types.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include <type_traits>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::regex_traits<char>::char_type, char>::value), "");
     static_assert((std::is_same<std::regex_traits<char>::string_type, std::string>::value), "");
@@ -29,4 +29,6 @@ int main()
     static_assert((std::is_same<std::regex_traits<wchar_t>::char_type, wchar_t>::value), "");
     static_assert((std::is_same<std::regex_traits<wchar_t>::string_type, std::wstring>::value), "");
     static_assert((std::is_same<std::regex_traits<wchar_t>::locale_type, std::locale>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/re/re.traits/value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/value.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/value.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <cassert>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::regex_traits<char> t;
@@ -122,4 +122,6 @@ int main()
             assert(t.value(c, 16) == -1);
         }
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string.hash/enabled_hashes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string.hash/enabled_hashes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string.hash/enabled_hashes.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string.hash/enabled_hashes.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "poisoned_hash_helper.hpp"
 
-int main() {
+int main(int, char**) {
   test_library_hash_specializations_available();
   {
     test_hash_enabled_for_type<std::string>();
@@ -30,4 +30,6 @@ int main() {
     test_hash_enabled_for_type<std::u32string>();
 #endif
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string.hash/strings.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string.hash/strings.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string.hash/strings.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string.hash/strings.pass.cpp Mon Feb  4 12:31:13 2019
@@ -40,7 +40,7 @@ test()
     assert(h(s1) != h(s2));
 }
 
-int main()
+int main(int, char**)
 {
     test<std::string>();
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
@@ -51,4 +51,6 @@ int main()
     test<std::u32string>();
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
     test<std::wstring>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string.literals/literal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string.literals/literal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string.literals/literal.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string.literals/literal.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #endif
 
 
-int main()
+int main(int, char**)
 {
     using namespace std::literals::string_literals;
 
@@ -54,4 +54,6 @@ int main()
     Lfoo  =  L"ABC"s;     assert( Lfoo ==  L"ABC");   assert( Lfoo == std::wstring  ( L"ABC"));
     ufoo  =  u"ABC"s;     assert( ufoo ==  u"ABC");   assert( ufoo == std::u16string( u"ABC"));
     Ufoo  =  U"ABC"s;     assert( Ufoo ==  U"ABC");   assert( Ufoo == std::u32string( U"ABC"));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string.literals/literal1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string.literals/literal1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string.literals/literal1.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string.literals/literal1.fail.cpp Mon Feb  4 12:31:13 2019
@@ -12,9 +12,11 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     using std::string;
 
     string foo  =   ""s;  // should fail w/conversion operator not found
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string.literals/literal1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string.literals/literal1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string.literals/literal1.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string.literals/literal1.pass.cpp Mon Feb  4 12:31:13 2019
@@ -12,9 +12,11 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     using namespace std::literals;
 
     std::string foo  =   ""s;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string.literals/literal2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string.literals/literal2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string.literals/literal2.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string.literals/literal2.fail.cpp Mon Feb  4 12:31:13 2019
@@ -12,7 +12,9 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::string foo  =   ""s;  // should fail w/conversion operator not found
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string.literals/literal2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string.literals/literal2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string.literals/literal2.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string.literals/literal2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -12,9 +12,11 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     using namespace std::literals::string_literals;
 
     std::string foo  =   ""s;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string.literals/literal3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string.literals/literal3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string.literals/literal3.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string.literals/literal3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -12,9 +12,11 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     using namespace std;
 
     string foo  =   ""s;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/allocator_mismatch.fail.cpp Mon Feb  4 12:31:13 2019
@@ -11,7 +11,9 @@
 
 #include <string>
 
-int main()
+int main(int, char**)
 {
     std::basic_string<char, std::char_traits<char>, std::allocator<int> > s;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/char.bad.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/char.bad.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/char.bad.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/char.bad.fail.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ private:
     int two;
 };
 
-int main()
+int main(int, char**)
 {
     {
 //  array
@@ -49,4 +49,6 @@ int main()
     std::basic_string<NotStandardLayout, test_traits<NotStandardLayout> > s;
 //  expected-error-re at string:* {{static_assert failed{{.*}} "Character type of basic_string must be standard-layout"}}
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/at.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/at.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/at.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/at.pass.cpp Mon Feb  4 12:31:13 2019
@@ -54,7 +54,7 @@ test(S s, typename S::size_type pos)
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -74,4 +74,6 @@ int main()
     test(S("123"), 3);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/back.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/back.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ test(S s)
     assert(s.back() == typename S::value_type('z'));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -52,4 +52,6 @@ int main()
         assert(false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/db_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/db_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/db_back.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/db_back.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -46,8 +46,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/db_cback.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/db_cback.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/db_cback.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/db_cback.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -42,8 +42,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/db_cfront.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/db_cfront.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/db_cfront.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/db_cfront.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -42,8 +42,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/db_cindex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/db_cindex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/db_cindex.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/db_cindex.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -44,8 +44,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/db_front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/db_front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/db_front.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/db_front.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -46,8 +46,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/db_index.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/db_index.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/db_index.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/db_index.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -44,8 +44,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/front.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/front.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ test(S s)
     assert(s.front() == typename S::value_type('z'));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -52,4 +52,6 @@ int main()
         assert(false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.access/index.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.access/index.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.access/index.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.access/index.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -59,4 +59,6 @@ int main()
         assert(false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/capacity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/capacity.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/capacity.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/capacity.pass.cpp Mon Feb  4 12:31:13 2019
@@ -40,7 +40,7 @@ test(S s)
     S::allocator_type::throw_after = INT_MAX;
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::basic_string<char, std::char_traits<char>, test_allocator<char> > S;
@@ -60,4 +60,6 @@ int main()
     assert(s.capacity() > 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/clear.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(S s)
     assert(s.size() == 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -53,4 +53,6 @@ int main()
     test(s);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/empty.fail.cpp Mon Feb  4 12:31:13 2019
@@ -20,8 +20,10 @@
 
 #include "test_macros.h"
 
-int main ()
+int main(int, char**)
 {
     std::string c;
     c.empty();  // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/empty.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ test(const S& s)
     assert(s.empty() == (s.size() == 0));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -40,4 +40,6 @@ int main()
     test(S("12345678901234567890123456789012345678901234567890"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/length.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/length.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(const S& s)
     assert(s.length() == s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -38,4 +38,6 @@ int main()
     test(S("12345678901234567890123456789012345678901234567890"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/max_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -54,7 +54,7 @@ test(const S& s)
     test2(s);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -70,4 +70,6 @@ int main()
     test(S("12345678901234567890123456789012345678901234567890"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ test(const S& s)
     assert ( false );
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -51,4 +51,6 @@ int main()
     test(S("12345678901234567890123456789012345678901234567890"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/reserve.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/reserve.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/reserve.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/reserve.pass.cpp Mon Feb  4 12:31:13 2019
@@ -65,7 +65,7 @@ test(S s, typename S::size_type res_arg)
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -131,4 +131,6 @@ int main()
     }
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/resize_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/resize_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/resize_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/resize_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,7 +43,7 @@ test(S s, typename S::size_type n, S exp
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -85,4 +85,6 @@ int main()
     test(S(), S::npos, S("not going to happen"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/resize_size_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/resize_size_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/resize_size_char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/resize_size_char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,7 +43,7 @@ test(S s, typename S::size_type n, typen
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -85,4 +85,6 @@ int main()
     test(S(), S::npos, 'a', S("not going to happen"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ test(S s)
     assert(s.capacity() >= s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -59,4 +59,6 @@ int main()
     test(s);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.capacity/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.capacity/size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.capacity/size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(const S& s, typename S::size_type c
     assert(s.size() == c);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -38,4 +38,6 @@ int main()
     test(S("12345678901234567890123456789012345678901234567890"), 50);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -91,7 +91,7 @@ test(SV sv, std::size_t pos, std::size_t
 #endif
 }
 
-int main()
+int main(int, char**)
 {
 
     {
@@ -183,4 +183,6 @@ int main()
     S s7(s.data(), 2);     // calls ctor(const char *, len)
     assert(s7 == "AB");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -85,11 +85,13 @@ test2()
 
 #endif
 
-int main()
+int main(int, char**)
 {
     test<std::basic_string<char, std::char_traits<char>, test_allocator<char> > >();
 #if TEST_STD_VER >= 11
     test2<std::basic_string<char, std::char_traits<char>, min_allocator<char> > >();
     test2<std::basic_string<char, std::char_traits<char>, explicit_allocator<char> > >();
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/brace_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/brace_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/brace_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/brace_assignment.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
   // Test that assignment from {} and {ptr, len} are allowed and are not
   // ambiguous.
@@ -32,4 +32,6 @@ int main()
     s = {"abc", 2};
     assert(s == "ab");
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/char_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/char_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/char_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/char_assignment.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ test(S s1, typename S::value_type s2)
     assert(s1.capacity() >= s1.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -46,4 +46,6 @@ int main()
     test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), 'a');
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ test(S s1)
     assert(s2.get_allocator() == s1.get_allocator());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -46,4 +46,6 @@ int main()
     test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -87,7 +87,7 @@ test(S s1, const typename S::allocator_t
     assert(s2.get_allocator() == a);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -127,4 +127,6 @@ int main()
     }
 #endif
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/copy_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/copy_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/copy_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/copy_assignment.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(S s1, const S& s2)
     assert(s1.capacity() >= s1.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -76,4 +76,6 @@ int main()
     assert(s == "a");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::string C;
@@ -35,4 +35,6 @@ int main()
         typedef std::basic_string<char, std::char_traits<char>, limited_allocator<char, 10>> C;
         static_assert(!std::is_nothrow_default_constructible<C>::value, "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/dtor_noexcept.pass.cpp Mon Feb  4 12:31:13 2019
@@ -32,7 +32,7 @@ struct throwing_alloc
 std::string s;
 std::wstring ws;
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::string C;
@@ -48,4 +48,6 @@ int main()
         static_assert(!std::is_nothrow_destructible<C>::value, "");
     }
 #endif // _LIBCPP_VERSION
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/implicit_deduction_guides.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/implicit_deduction_guides.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/implicit_deduction_guides.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/implicit_deduction_guides.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ using BStr = std::basic_string<T, std::c
 // (13) basic_string(initializer_list<CharT>, A const& = A())
 // (14) basic_string(BSV, A const& = A())
 // (15) basic_string(const T&, size_type, size_type, A const& = A())
-int main()
+int main(int, char**)
 {
   using TestSizeT = test_allocator<char>::size_type;
   { // Testing (1)
@@ -313,4 +313,6 @@ int main()
     ASSERT_SAME_TYPE(decltype(w), ExpectW);
     assert(w == L"cd");
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/initializer_list.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include "test_allocator.h"
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::string s = {'a', 'b', 'c'};
@@ -40,4 +40,6 @@ int main()
         s = {L'a', L'b', L'c'};
         assert(s == L"abc");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/initializer_list_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/initializer_list_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/initializer_list_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/initializer_list_assignment.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::string s;
@@ -30,4 +30,6 @@ int main()
         s = {'a', 'b', 'c'};
         assert(s == "abc");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -56,7 +56,7 @@ test(It first, It last, const A& a)
     assert(s2.capacity() >= s2.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -116,4 +116,6 @@ int main()
     test(input_iterator<const char*>(s), input_iterator<const char*>(s+50), A());
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ class NotAnItertor {};
 template <typename T>
 struct NotAnAllocator { typedef T value_type; };
 
-int main()
+int main(int, char**)
 {
     { // Not an iterator at all
     std::basic_string s1{NotAnItertor{}, NotAnItertor{}, std::allocator<char>{}}; // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'basic_string'}}
@@ -52,4 +52,6 @@ int main()
     std::basic_string s1{s, s+10, NotAnAllocator<wchar_t>{}}; // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'basic_string'}}
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.pass.cpp Mon Feb  4 12:31:13 2019
@@ -36,7 +36,7 @@
 #include "../input_iterator.h"
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     const char* s = "12345678901234";
@@ -89,4 +89,6 @@ int main()
     assert(s1.size() == 10);
     assert(s1.compare(0, s1.size(), s, s1.size()) == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -32,7 +32,7 @@ test(S s0)
     assert(s2.get_allocator() == s1.get_allocator());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -48,4 +48,6 @@ int main()
     test(S("1", A()));
     test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/move_alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ test(S s0, const typename S::allocator_t
 }
 
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -74,4 +74,6 @@ int main()
     test(S("1"), A());
     test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), A());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/move_assign_noexcept.pass.cpp Mon Feb  4 12:31:13 2019
@@ -62,7 +62,7 @@ struct some_alloc3
     typedef std::false_type is_always_equal;
 };
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::string C;
@@ -93,4 +93,6 @@ int main()
         static_assert(!std::is_nothrow_move_assignable<C>::value, "");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/move_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/move_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/move_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/move_assignment.pass.cpp Mon Feb  4 12:31:13 2019
@@ -32,7 +32,7 @@ test(S s1, S s2)
     assert(s1.capacity() >= s1.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -70,4 +70,6 @@ int main()
            "1234567890123456789012345678901234567890123456789012345678901234567890"),
          S("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/move_noexcept.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::string C;
@@ -39,4 +39,6 @@ int main()
         static_assert( std::is_nothrow_move_constructible<C>::value, "");
 #endif
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -51,7 +51,7 @@ test(const charT* s, const A& a)
     assert(s2.capacity() >= s2.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -85,4 +85,6 @@ int main()
     test("123456798012345679801234567980123456798012345679801234567980", A());
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_assignment.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ test(S s1, const typename S::value_type*
     assert(s1.capacity() >= s1.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -69,4 +69,6 @@ int main()
          "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_size_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_size_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_size_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/pointer_size_alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,7 +48,7 @@ test(const charT* s, unsigned n, const A
     assert(s2.capacity() >= s2.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -90,4 +90,6 @@ int main()
     assert(s == "a");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/size_char_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/size_char_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/size_char_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/size_char_alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -80,7 +80,7 @@ test(Tp n, Tp c, const A& a)
     assert(s2.capacity() >= s2.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -120,4 +120,6 @@ int main()
     test(static_cast<char>(100), static_cast<char>(65), A());
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/string_view.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/string_view.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/string_view.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/string_view.fail.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 
 void foo ( const string &s ) {}
 
-int main()
+int main(int, char**)
 {
     std::string_view sv = "ABCDE";
     foo(sv);    // requires implicit conversion from string_view to string
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -71,7 +71,7 @@ test(std::basic_string_view<charT> sv, c
   }
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -107,4 +107,6 @@ int main()
     test(SV("123456798012345679801234567980123456798012345679801234567980"), A());
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_assignment.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ test(S s1, SV sv)
     assert(s1.capacity() >= s1.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -70,4 +70,6 @@ int main()
          SV("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_deduction.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_deduction.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_deduction.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_deduction.fail.cpp Mon Feb  4 12:31:13 2019
@@ -31,10 +31,12 @@
 #include <cassert>
 #include <cstddef>
 
-int main()
+int main(int, char**)
 {
     {
     std::string_view sv = "12345678901234";
     std::basic_string s1{sv, 23}; // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'basic_string'}}
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_deduction.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_deduction.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_deduction.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_deduction.pass.cpp Mon Feb  4 12:31:13 2019
@@ -38,7 +38,7 @@
 #include "../input_iterator.h"
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     std::string_view sv = "12345678901234";
@@ -103,4 +103,6 @@ int main()
     assert(s1.size() == sv.size());
     assert(s1.compare(0, s1.size(), sv.data(), s1.size()) == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.fail.cpp Mon Feb  4 12:31:13 2019
@@ -37,10 +37,12 @@
 #include <cassert>
 #include <cstddef>
 
-int main()
+int main(int, char**)
 {
     {
     std::string_view sv = "12345678901234";
     std::basic_string s1{sv, 0, 4, 23}; // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'basic_string'}}
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,7 +42,7 @@
 #include "../input_iterator.h"
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     std::string_view sv = "12345678901234";
@@ -107,4 +107,6 @@ int main()
     assert(s1.size() == 4);
     assert(s1.compare(0, s1.size(), sv.data(), s1.size()) == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/substr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/substr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/substr.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/substr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test2583()
 #endif
 #endif
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -224,4 +224,6 @@ int main()
     test2583();
 #endif
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -30,4 +30,6 @@ int main()
     assert ( s2.ends_with('e'));
     assert (!s2.ends_with('x'));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.ptr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -59,4 +59,6 @@ int main()
     assert (!sNot.ends_with("abcde"));
     assert ( sNot.ends_with("def"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ends_with/ends_with.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -68,4 +68,6 @@ int main()
     assert (!sNot.ends_with(sv5));
     assert ( sNot.ends_with(svNot));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/begin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/begin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/begin.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/begin.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@ test(S s)
     assert(b == cb);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -44,4 +44,6 @@ int main()
     test(S("123"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/cbegin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/cbegin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/cbegin.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/cbegin.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(const S& s)
     assert(cb == s.begin());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -41,4 +41,6 @@ int main()
     test(S("123"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/cend.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/cend.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/cend.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/cend.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const S& s)
     assert(ce == s.end());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -37,4 +37,6 @@ int main()
     test(S("123"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/crbegin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/crbegin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/crbegin.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/crbegin.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(const S& s)
     assert(cb == s.rbegin());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -41,4 +41,6 @@ int main()
     test(S("123"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/crend.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/crend.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/crend.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/crend.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const S& s)
     assert(ce == s.rend());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -37,4 +37,6 @@ int main()
     test(S("123"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_2.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -44,8 +44,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_3.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -44,8 +44,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_4.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_4.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_4.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_4.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string C;
@@ -46,8 +46,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_5.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_5.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_5.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_5.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string C;
@@ -50,8 +50,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_6.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_6.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_6.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_6.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string C;
@@ -48,8 +48,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_7.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_7.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_7.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_7.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string C;
@@ -48,8 +48,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_8.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_8.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_8.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/db_iterators_8.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string C;
@@ -44,8 +44,10 @@ int main()
 
 #else
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }
 
 #endif

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/end.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/end.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/end.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,7 @@ test(S s)
     assert(static_cast<std::size_t>(ce - cs.begin()) == cs.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -47,4 +47,6 @@ int main()
     test(S("123"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/iterators.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     { // N3644 testing
         typedef std::string C;
@@ -83,4 +83,6 @@ int main()
         assert ( !(ii1 != ii2 ));
         assert ( !(ii1 != cii ));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/rbegin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/rbegin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/rbegin.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/rbegin.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@ test(S s)
     assert(b == cb);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -44,4 +44,6 @@ int main()
     test(S("123"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.iterators/rend.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.iterators/rend.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.iterators/rend.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.iterators/rend.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,7 @@ test(S s)
     assert(static_cast<std::size_t>(ce - cs.rbegin()) == cs.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -47,4 +47,6 @@ int main()
     test(S("123"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -71,7 +71,7 @@ test_npos(S s, SV sv, typename S::size_t
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -196,4 +196,6 @@ int main()
     s.append(sv, 0, std::string::npos);
     assert(s == "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include "test_macros.h"
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::string s("123");
@@ -31,4 +31,6 @@ int main()
         s.append({'a', 'b', 'c'});
         assert(s == "123abc");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,7 +42,7 @@ test_exceptions(S s, It first, It last)
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -219,4 +219,6 @@ int main()
     s.append(MoveIt(It(std::begin(p))), MoveIt(It(std::end(p) - 1)));
     assert(s == "ABCD");
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(S s, const typename S::value_type*
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -76,4 +76,6 @@ int main()
     s_long.append(s_long.c_str());
     assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(S s, const typename S::value_type*
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -85,4 +85,6 @@ int main()
     s_long.append(s_long.data(), s_long.size());
     assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/push_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/push_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/push_back.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/push_back.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ test(S s, typename S::value_type c, S ex
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -56,4 +56,6 @@ int main()
     s.push_back(vl);
     s.push_back(vl);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/size_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/size_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/size_char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/size_char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(S s, typename S::size_type n, typen
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -60,4 +60,6 @@ int main()
     test(S("12345678901234567890"), 10, 'a', S("12345678901234567890aaaaaaaaaa"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(S s, S str, S expected)
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -85,4 +85,6 @@ int main()
     assert(s == "a");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -71,7 +71,7 @@ test_npos(S s, S str, typename S::size_t
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -133,4 +133,6 @@ int main()
     test_npos(S(), S("12345"), 5, S(""));
     test_npos(S(), S("12345"), 6, S("not happening"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(S s, SV sv, S expected)
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -79,4 +79,6 @@ int main()
          S("1234567890123456789012345678901234567890"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/T_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/T_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/T_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/T_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -70,7 +70,7 @@ test_npos(S s, SV sv, typename S::size_t
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -191,4 +191,6 @@ int main()
     s.assign(sv, 0, std::string::npos);
     assert(s == "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/initializer_list.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include "test_macros.h"
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::string s("123");
@@ -31,4 +31,6 @@ int main()
         s.assign({'a', 'b', 'c'});
         assert(s == "abc");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,7 +43,7 @@ test_exceptions(S s, It first, It last)
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -204,4 +204,6 @@ int main()
     s.assign(p, p + 4);
     assert(s == "ABCD");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(S s, const typename S::value_type*
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -74,4 +74,6 @@ int main()
     s_long.assign(s_long.c_str() + 30);
     assert(s_long == "nsectetur/");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(S s, const typename S::value_type*
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -85,4 +85,6 @@ int main()
     s_long.assign(s_long.data() + 2, 8 );
     assert(s_long == "rem ipsu");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/rv_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/rv_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/rv_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/rv_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(S s, S str, S expected)
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -77,4 +77,6 @@ int main()
          S("12345678901234567890"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/size_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/size_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/size_char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/size_char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(S s, typename S::size_type n, typen
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -60,4 +60,6 @@ int main()
     test(S("12345678901234567890"), 10, 'a', S(10, 'a'));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -37,7 +37,7 @@ testAlloc(S s, S str, const typename S::
     assert(s.get_allocator() == a);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -113,4 +113,6 @@ int main()
     static_assert(noexcept(S().assign(S())), "");  // LWG#2063
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -71,7 +71,7 @@ test_npos(S s, S str, typename S::size_t
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -133,4 +133,6 @@ int main()
     test_npos(S(), S("12345"), 5, S(""));
     test_npos(S(), S("12345"), 6, S("not happening"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_assign/string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -38,7 +38,7 @@ testAlloc(S s, SV sv, const typename S::
     assert(s.get_allocator() == a);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -101,4 +101,6 @@ int main()
     testAlloc(S(), SV("12345678901234567890"), min_allocator<char>());
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_copy/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_copy/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_copy/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_copy/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -49,7 +49,7 @@ test(S str, typename S::value_type* s, t
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -177,4 +177,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), s, 21, 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/iter.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/iter.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ test(S s, typename S::difference_type po
     assert(i - s.begin() == pos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -62,4 +62,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), 19, S("abcdefghijklmnopqrs"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/iter_iter.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ test(S s, typename S::difference_type po
     assert(i - s.begin() == pos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -147,4 +147,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), 20, 0, S("abcdefghijklmnopqrst"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/pop_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/pop_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/pop_back.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/pop_back.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(S s, S expected)
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -42,4 +42,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrs"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -88,7 +88,7 @@ test(S s, S expected)
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -298,4 +298,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S(""));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -32,7 +32,7 @@ test(S& s, typename S::const_iterator p,
         assert(i == p);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -72,4 +72,6 @@ int main()
     test(s, s.begin()+6, 'C', S("a567ABC1432dcb"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_initializer_list.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::string s("123456");
@@ -33,4 +33,6 @@ int main()
         assert(i - s.begin() == 3);
         assert(s == "123abc456");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp Mon Feb  4 12:31:13 2019
@@ -49,7 +49,7 @@ test_exceptions(S s, typename S::differe
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -218,4 +218,6 @@ int main()
     s.insert(s.begin(), MoveIt(It(std::begin(p))), MoveIt(It(std::end(p) - 1)));
     assert(s == "ABCD");
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_size_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_size_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_size_char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/iter_size_char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ test(S s, typename S::difference_type po
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -166,4 +166,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), 20, 20, '1', S("abcdefghijklmnopqrst11111111111111111111"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_T_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_T_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_T_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_T_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -1729,7 +1729,7 @@ void test30()
     test_npos(S("abcdefghijklmnopqrst"), 10, SV("12345"), 6, S("can't happen"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -1838,4 +1838,6 @@ int main()
     assert(s == "");
     s.clear();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ test(S s, typename S::size_type pos, con
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -233,4 +233,6 @@ int main()
     s_long.insert(0, s_long.c_str());
     assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,7 +48,7 @@ test(S s, typename S::size_type pos, con
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -714,4 +714,6 @@ int main()
     s_long.insert(0, s_long.data(), s_long.size());
     assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,7 +48,7 @@ test(S s, typename S::size_type pos, typ
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -218,4 +218,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), 21, 20, '1', S("can't happen"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ test(S s, typename S::size_type pos, S s
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -226,4 +226,6 @@ int main()
     assert(s == "a");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -1727,7 +1727,7 @@ void test30()
     test_npos(S("abcdefghijklmnopqrst"), 10, S("12345"), 6, S("can't happen"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -1799,4 +1799,6 @@ int main()
     test30<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ test(S s, typename S::size_type pos, SV
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -235,4 +235,6 @@ int main()
     s_long.insert(0, s_long.c_str());
     assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(S s, typename S::value_type str, S
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -43,4 +43,6 @@ int main()
     test(S("12345678901234567890"), 'a', S("12345678901234567890a"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/initializer_list.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::string s("123");
@@ -30,4 +30,6 @@ int main()
         s += {'a', 'b', 'c'};
         assert(s == "123abc");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(S s, const typename S::value_type*
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -75,4 +75,6 @@ int main()
          S("1234567890123456789012345678901234567890"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(S s, S str, S expected)
     assert(s == expected);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -85,4 +85,6 @@ int main()
     assert(s == "a");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_initializer_list.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::string s("123def456");
@@ -30,4 +30,6 @@ int main()
         s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'});
         assert(s == "123abc456");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp Mon Feb  4 12:31:13 2019
@@ -963,7 +963,7 @@ void test8()
     test(S("abcdefghijklmnopqrst"), 20, 0, str, str+20, S("abcdefghijklmnopqrst12345678901234567890"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -1036,4 +1036,6 @@ int main()
     s.replace(s.begin(), s.end(), p, p + 4);
     assert(s == "EFGH");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -265,7 +265,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 20, 0, "12345678901234567890", S("abcdefghijklmnopqrst12345678901234567890"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -297,4 +297,6 @@ int main()
     s_long.replace(s_long.begin(), s_long.begin(), s_long.c_str());
     assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -943,7 +943,7 @@ void test8()
     test(S("abcdefghijklmnopqrst"), 20, 0, "12345678901234567890", 20, S("abcdefghijklmnopqrst12345678901234567890"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -987,4 +987,6 @@ int main()
     s_long.replace(s_long.begin(), s_long.begin(), s_long.data(), s_long.size());
     assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_size_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_size_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_size_char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_size_char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -265,7 +265,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 20, 0, 20, '3', S("abcdefghijklmnopqrst33333333333333333333"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -281,4 +281,6 @@ int main()
     test2<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -264,7 +264,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 20, 0, S("12345678901234567890"), S("abcdefghijklmnopqrst12345678901234567890"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -289,4 +289,6 @@ int main()
     assert(s == "a");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -264,7 +264,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 20, 0, SV("12345678901234567890"), S("abcdefghijklmnopqrst12345678901234567890"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -282,4 +282,6 @@ int main()
     test2<S, SV>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -5869,7 +5869,7 @@ void test55()
     test_npos(S("abcdefghij"), 9, 2, SV("12345"), 6, S("can't happen"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -6025,4 +6025,6 @@ int main()
     s.replace(0, 4, arr, 0, std::string::npos);    // calls replace(pos1, n1, string("IJKL"), pos, npos)
     assert(s == "IJKL");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -363,7 +363,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 21, 0, "12345678901234567890", S("can't happen"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -379,4 +379,6 @@ int main()
     test2<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -1297,7 +1297,7 @@ void test11()
     test(S("abcdefghijklmnopqrst"), 21, 0, "12345678901234567890", 20, S("can't happen"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -1331,4 +1331,6 @@ int main()
     test11<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -364,7 +364,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 21, 0, 20, '2', S("can't happen"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -380,4 +380,6 @@ int main()
     test2<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -362,7 +362,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 21, 0, S("12345678901234567890"), S("can't happen"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -387,4 +387,6 @@ int main()
     assert(s == "a");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -5859,7 +5859,7 @@ void test55()
     test_npos(S("abcdefghij"), 9, 2, S("12345"), 6, S("can't happen"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -5981,4 +5981,6 @@ int main()
     test55<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -362,7 +362,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 21, 0, SV("12345678901234567890"), S("can't happen"));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -380,4 +380,6 @@ int main()
     test2<S, SV>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_swap/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_swap/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_swap/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_swap/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ test(S s1, S s2)
     assert(s2 == s1_);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -73,4 +73,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("12345678901234567890"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::istringstream in(" abc\n  def\n   ghij");
@@ -77,4 +77,6 @@ int main()
         assert(s == L"   ghij");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::istringstream in(" abc*  def**   ghij");
@@ -89,4 +89,6 @@ int main()
         assert(s == L"   ghij");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::string s("initial text");
@@ -45,4 +45,6 @@ int main()
         getline(std::wistringstream(L" abc*  def*   ghij"), s, L'*');
         assert(s == L" abc");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::string s("initial text");
@@ -45,4 +45,6 @@ int main()
         getline(std::wistringstream(L" abc\n  def\n   ghij"), s);
         assert(s == L" abc");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/stream_extract.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/stream_extract.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/stream_extract.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/stream_extract.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::istringstream in("a bc defghij");
@@ -113,4 +113,6 @@ int main()
         assert(in.fail());
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/stream_insert.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/stream_insert.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/stream_insert.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.io/stream_insert.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::ostringstream out;
@@ -87,4 +87,6 @@ int main()
         assert(L"   " + s == out.str());
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.special/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.special/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.special/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.special/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,7 @@ test(S s1, S s2)
     assert(s2 == s1_);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -75,4 +75,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("12345678901234567890"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp Mon Feb  4 12:31:13 2019
@@ -53,7 +53,7 @@ struct some_alloc2
     typedef std::true_type is_always_equal;
 };
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::string C;
@@ -81,4 +81,6 @@ int main()
         static_assert( noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/pointer_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%21%3D/pointer_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/pointer_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/pointer_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const typename S::value_type* lhs,
     assert((lhs != rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%21%3D/string_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const S& lhs, const typename S::val
     assert((lhs != rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%21%3D/string_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ test(const S& lhs, const S& rhs, bool x)
     assert((lhs != rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%21%3D/string_string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(const S& lhs, SV rhs, bool x)
     assert((lhs != rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), SV("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_view_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%21%3D/string_view_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_view_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op!=/string_view_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(SV lhs, const S& rhs, bool x)
     assert((lhs != rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(SV("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/char_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%2B/char_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/char_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/char_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ void test1(typename S::value_type lhs, S
 }
 #endif
 
-int main() {
+int main(int, char**) {
   {
     typedef std::string S;
     test0('a', S(""), S("a"));
@@ -66,4 +66,6 @@ int main() {
     test1('a', S("12345678901234567890"), S("a12345678901234567890"));
   }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/pointer_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%2B/pointer_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/pointer_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/pointer_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ void test1(const typename S::value_type*
 }
 #endif
 
-int main() {
+int main(int, char**) {
   {
     typedef std::string S;
     test0("", S(""), S(""));
@@ -127,4 +127,6 @@ int main() {
           S("abcdefghijklmnopqrst12345678901234567890"));
   }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/string_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%2B/string_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/string_char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/string_char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ void test1(S&& lhs, typename S::value_ty
 }
 #endif
 
-int main() {
+int main(int, char**) {
   {
     typedef std::string S;
     test0(S(""), '1', S("1"));
@@ -66,4 +66,6 @@ int main() {
     test1(S("abcdefghijklmnopqrst"), '1', S("abcdefghijklmnopqrst1"));
   }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/string_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%2B/string_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/string_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/string_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ void test1(S&& lhs, const typename S::va
 }
 #endif
 
-int main() {
+int main(int, char**) {
   {
     typedef std::string S;
     test0(S(""), "", S(""));
@@ -126,4 +126,6 @@ int main() {
           S("abcdefghijklmnopqrst12345678901234567890"));
   }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/string_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op%2B/string_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/string_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_op+/string_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -58,7 +58,7 @@ void test3(S&& lhs, S&& rhs, const S& x)
 
 #endif
 
-int main() {
+int main(int, char**) {
   {
     typedef std::string S;
     test0(S(""), S(""), S(""));
@@ -245,4 +245,6 @@ int main() {
           S("abcdefghijklmnopqrst12345678901234567890"));
   }
 #endif // TEST_STD_VER >= 11
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/pointer_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator%3D%3D/pointer_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/pointer_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/pointer_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const typename S::value_type* lhs,
     assert((lhs == rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator%3D%3D/string_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const S& lhs, const typename S::val
     assert((lhs == rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator%3D%3D/string_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ test(const S& lhs, const S& rhs, bool x)
     assert((lhs == rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator%3D%3D/string_string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(const S& lhs, SV rhs, bool x)
     assert((lhs == rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), SV("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_view_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator%3D%3D/string_view_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_view_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_operator==/string_view_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(SV lhs, const S& rhs, bool x)
     assert((lhs == rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(SV("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/pointer_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/pointer_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/pointer_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/pointer_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const typename S::value_type* lhs,
     assert((lhs > rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const S& lhs, const typename S::val
     assert((lhs > rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ test(const S& lhs, const S& rhs, bool x)
     assert((lhs > rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(const S& lhs, SV rhs, bool x)
     assert((lhs > rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), SV("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_view_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_view_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_view_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt/string_view_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(SV lhs, const S& rhs, bool x)
     assert((lhs > rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(SV("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/pointer_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt%3D/pointer_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/pointer_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/pointer_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const typename S::value_type* lhs,
     assert((lhs >= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt%3D/string_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const S& lhs, const typename S::val
     assert((lhs >= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt%3D/string_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ test(const S& lhs, const S& rhs, bool x)
     assert((lhs >= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt%3D/string_string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(const S& lhs, SV rhs, bool x)
     assert((lhs >= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), SV("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_view_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt%3D/string_view_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_view_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_opgt=/string_view_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(SV lhs, const S& rhs, bool x)
     assert((lhs >= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(SV("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/pointer_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/pointer_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/pointer_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/pointer_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const typename S::value_type* lhs,
     assert((lhs < rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const S& lhs, const typename S::val
     assert((lhs < rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ test(const S& lhs, const S& rhs, bool x)
     assert((lhs < rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(const S& lhs, SV rhs, bool x)
     assert((lhs < rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), SV("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_view_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_view_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_view_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt/string_view_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(SV lhs, const S& rhs, bool x)
     assert((lhs < rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(SV("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/pointer_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt%3D/pointer_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/pointer_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/pointer_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const typename S::value_type* lhs,
     assert((lhs <= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt%3D/string_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const S& lhs, const typename S::val
     assert((lhs <= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -65,4 +65,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt%3D/string_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ test(const S& lhs, const S& rhs, bool x)
     assert((lhs <= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt%3D/string_string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(const S& lhs, SV rhs, bool x)
     assert((lhs <= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), SV("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_view_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt%3D/string_view_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_view_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.nonmembers/string_oplt=/string_view_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ test(SV lhs, const S& rhs, bool x)
     assert((lhs <= rhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -66,4 +66,6 @@ int main()
     test(SV("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/c_str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/c_str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/c_str.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/c_str.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@ test(const S& s)
         assert(T::eq(str[0], typename S::value_type()));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -48,4 +48,6 @@ int main()
     test(S("abcdefghijklmnopqrst"));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/data.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/data.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/data.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ test_nonconst(S& s)
         assert(T::eq(str[0], typename S::value_type()));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -74,4 +74,6 @@ int main()
     S s4("abcdefghijklmnopqrst"); test_nonconst(s4);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/get_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/get_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/get_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string.accessors/get_allocator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ test(const S& s, const typename S::alloc
     assert(s.get_allocator() == a);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef test_allocator<char> A;
@@ -43,4 +43,6 @@ int main()
     test(S("abcdefghijklmnopqrst", A()), A());
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ test(const S& s, const typename S::value
     assert(sign(s.compare(str)) == sign(x));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -73,4 +73,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_T_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_T_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_T_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_T_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -5840,7 +5840,7 @@ void test55()
     test_npos(S("abcde"), 0, 0, SV("abcdefghij"), 5, -5);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -5989,4 +5989,6 @@ int main()
 //  calls compare(size, size, string(arr), 0, npos)
     assert(s.compare(0, 4, arr, 0, std::string::npos) == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -361,7 +361,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 21, 0, "abcdefghijklmnopqrst", 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -377,4 +377,6 @@ int main()
     test2<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -1294,7 +1294,7 @@ void test11()
     test(S("abcdefghijklmnopqrst"), 21, 0, "abcdefghijklmnopqrst", 20, 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -1328,4 +1328,6 @@ int main()
     test11<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -360,7 +360,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 21, 0, S("abcdefghijklmnopqrst"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -383,4 +383,6 @@ int main()
     assert(s.compare(0, 1, {"abc", 1}) < 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -5836,7 +5836,7 @@ void test55()
     test_npos(S("abcde"), 0, 0, S("abcdefghij"), 5, -5);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -5958,4 +5958,6 @@ int main()
     test55<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/size_size_string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -361,7 +361,7 @@ void test2()
     test(S("abcdefghijklmnopqrst"), 21, 0, SV("abcdefghijklmnopqrst"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -379,4 +379,6 @@ int main()
     test2<S, SV>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -32,7 +32,7 @@ test(const S& s, const S& str, int x)
     assert(sign(s.compare(str)) == sign(x));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -81,4 +81,6 @@ int main()
     assert(s.compare({"abc", 1}) < 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_compare/string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ test(const S& s, SV sv, int x)
     assert(sign(s.compare(sv)) == sign(x));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -75,4 +75,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), SV("abcdefghijklmnopqrst"), 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ test(const S& s, typename S::value_type
         assert(x < s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -98,4 +98,6 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'q', 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), "htaobedqikfplcgjsmrn", S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -154,4 +154,6 @@ int main()
     test1<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -365,7 +365,7 @@ void test3()
     test(S("hnbrcplsjfgiktoedmaq"), "qprlsfojamgndekthibc", 21, 20, S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -383,4 +383,6 @@ int main()
     test3<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/string_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/string_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/string_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/string_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), S("htaobedqikfplcgjsmrn"), S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -161,4 +161,6 @@ int main()
     assert(s.find_first_not_of({"abc", 1}) == 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.not.of/string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -139,7 +139,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), SV("htaobedqikfplcgjsmrn"), S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -155,4 +155,6 @@ int main()
     test1<S, SV>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ test(const S& s, typename S::value_type
         assert(x < s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -94,4 +94,6 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'e', 2);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), "htaobedqikfplcgjsmrn", 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -154,4 +154,6 @@ int main()
     test1<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -365,7 +365,7 @@ void test3()
     test(S("hnbrcplsjfgiktoedmaq"), "qprlsfojamgndekthibc", 21, 20, S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -383,4 +383,6 @@ int main()
     test3<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/string_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/string_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/string_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/string_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), S("htaobedqikfplcgjsmrn"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -161,4 +161,6 @@ int main()
     assert(s.find_first_of({"abc", 1}) == std::string::npos);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.first.of/string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -139,7 +139,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), SV("htaobedqikfplcgjsmrn"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -155,4 +155,6 @@ int main()
     test1<S, SV>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ test(const S& s, typename S::value_type
         assert(x < s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -94,4 +94,6 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'i', 19);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), "htaobedqikfplcgjsmrn", S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -154,4 +154,6 @@ int main()
     test1<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -365,7 +365,7 @@ void test3()
     test(S("hnbrcplsjfgiktoedmaq"), "qprlsfojamgndekthibc", 21, 20, S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -383,4 +383,6 @@ int main()
     test3<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/string_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/string_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/string_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/string_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), S("htaobedqikfplcgjsmrn"), S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -161,4 +161,6 @@ int main()
     assert(s.find_last_not_of({"abc", 1}) == s.size() - 1);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -139,7 +139,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), SV("htaobedqikfplcgjsmrn"), S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -155,4 +155,6 @@ int main()
 //     test1<S, SV>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ test(const S& s, typename S::value_type
         assert(x < s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -94,4 +94,6 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'm', 15);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), "htaobedqikfplcgjsmrn", 19);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -154,4 +154,6 @@ int main()
     test1<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -365,7 +365,7 @@ void test3()
     test(S("hnbrcplsjfgiktoedmaq"), "qprlsfojamgndekthibc", 21, 20, 19);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -383,4 +383,6 @@ int main()
     test3<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/string_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/string_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/string_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/string_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), S("htaobedqikfplcgjsmrn"), 19);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -161,4 +161,6 @@ int main()
     assert(s.find_last_of({"abc", 1}) == std::string::npos);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.of/string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -139,7 +139,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), SV("htaobedqikfplcgjsmrn"), 19);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -155,4 +155,6 @@ int main()
     test1<S, SV>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ test(const S& s, typename S::value_type
         assert(0 <= x && x + 1 <= s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -94,4 +94,6 @@ int main()
     test(S("abcdeabcdeabcdeabcde"), 'c', 2);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -146,7 +146,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), "abcdeabcdeabcdeabcde", 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -160,4 +160,6 @@ int main()
     test1<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -365,7 +365,7 @@ void test3()
     test(S("abcdeabcdeabcdeabcde"), "abcdeabcdeabcdeabcde", 21, 20, S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -383,4 +383,6 @@ int main()
     test3<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/string_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/string_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/string_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/string_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), S("abcdeabcdeabcdeabcde"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -161,4 +161,6 @@ int main()
     assert(s.find({"abc", 1}) == std::string::npos);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_find/string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -139,7 +139,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), SV("abcdeabcdeabcdeabcde"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -155,4 +155,6 @@ int main()
     test1<S, SV>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ test(const S& s, typename S::value_type
         assert(x + 1 <= s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -94,4 +94,6 @@ int main()
     test(S("abcdeabcdeabcdeabcde"), 'b', 16);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -147,7 +147,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), "abcdeabcdeabcdeabcde", 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -161,4 +161,6 @@ int main()
     test1<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -365,7 +365,7 @@ void test3()
     test(S("abcdeabcdeabcdeabcde"), "abcdeabcdeabcdeabcde", 21, 20, 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -383,4 +383,6 @@ int main()
     test3<S>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/string_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/string_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/string_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/string_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), S("abcdeabcdeabcdeabcde"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -161,4 +161,6 @@ int main()
     assert(s.rfind({"abc", 1}) == std::string::npos);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_rfind/string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -139,7 +139,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), SV("abcdeabcdeabcdeabcde"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -155,4 +155,6 @@ int main()
     test1<S, SV>();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ test(const S& s, typename S::size_type p
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -173,4 +173,6 @@ int main()
     test(S("dplqartnfgejichmoskb"), 21, 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.require/contiguous.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.require/contiguous.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.require/contiguous.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.require/contiguous.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ void test_contiguous ( const C &c )
         assert ( *(c.begin() + static_cast<typename C::difference_type>(i)) == *(std::addressof(*c.begin()) + i));
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -49,4 +49,6 @@ int main()
     test_contiguous(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -30,4 +30,6 @@ int main()
     assert ( s2.starts_with('a'));
     assert (!s2.starts_with('x'));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.ptr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -58,4 +58,6 @@ int main()
     assert (!sNot.starts_with("abcde"));
     assert ( sNot.starts_with("def"));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.starts_with/starts_with.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string S;
@@ -68,4 +68,6 @@ int main()
     assert (!sNot.starts_with(sv5));
     assert ( sNot.starts_with(svNot));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/traits_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/traits_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/traits_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/traits_mismatch.fail.cpp Mon Feb  4 12:31:13 2019
@@ -11,7 +11,9 @@
 
 #include <string>
 
-int main()
+int main(int, char**)
 {
     std::basic_string<char, std::char_traits<wchar_t>> s;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/basic.string/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/types.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -70,7 +70,7 @@ test()
     static_assert(S::npos == -1, "");
 }
 
-int main()
+int main(int, char**)
 {
     test<test_traits<char>, test_allocator<char> >();
     test<std::char_traits<wchar_t>, std::allocator<wchar_t> >();
@@ -81,4 +81,6 @@ int main()
 #if TEST_STD_VER >= 11
     test<std::char_traits<char>, min_allocator<char> >();
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/c.strings/cctype.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/c.strings/cctype.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/c.strings/cctype.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/c.strings/cctype.pass.cpp Mon Feb  4 12:31:13 2019
@@ -70,7 +70,7 @@
 #error toupper defined
 #endif
 
-int main()
+int main(int, char**)
 {
 
     ASSERT_SAME_TYPE(int, decltype(std::isalnum(0)));
@@ -102,4 +102,6 @@ int main()
     assert( std::isxdigit('a'));
     assert( std::tolower('A') == 'a');
     assert( std::toupper('a') == 'A');
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/c.strings/cstring.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/c.strings/cstring.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/c.strings/cstring.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/c.strings/cstring.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #error NULL not defined
 #endif
 
-int main()
+int main(int, char**)
 {
     std::size_t s = 0;
     void* vp = 0;
@@ -60,4 +60,6 @@ int main()
     ASSERT_SAME_TYPE(const char*, decltype(std::strrchr(cpc, 0)));
     ASSERT_SAME_TYPE(const char*, decltype(std::strstr(cpc, cpc)));
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/c.strings/cuchar.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/c.strings/cuchar.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/c.strings/cuchar.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/c.strings/cuchar.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,6 +14,8 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/c.strings/cwchar.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/c.strings/cwchar.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/c.strings/cwchar.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/c.strings/cwchar.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@
 #error WEOF not defined
 #endif
 
-int main()
+int main(int, char**)
 {
     std::mbstate_t mb = {};
     std::size_t s = 0;
@@ -128,4 +128,6 @@ int main()
     ASSERT_SAME_TYPE(int,                decltype(std::vwprintf(L"", va)));
     ASSERT_SAME_TYPE(int,                decltype(std::wprintf(L"")));
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/c.strings/cwctype.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/c.strings/cwctype.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/c.strings/cwctype.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/c.strings/cwctype.pass.cpp Mon Feb  4 12:31:13 2019
@@ -90,7 +90,7 @@
 #error wctrans defined
 #endif
 
-int main()
+int main(int, char**)
 {
     std::wint_t w = 0;
     ASSERT_SAME_TYPE(int, decltype(std::iswalnum(w)));
@@ -113,4 +113,6 @@ int main()
     ASSERT_SAME_TYPE(std::wint_t,    decltype(std::towupper(w)));
     ASSERT_SAME_TYPE(std::wint_t,    decltype(std::towctrans(w, std::wctrans_t())));
     ASSERT_SAME_TYPE(std::wctrans_t, decltype(std::wctrans("")));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.require/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.require/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.require/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.require/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/assign2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/assign2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/assign2.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/assign2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     char c = '\0';
     std::char_traits<char>::assign(c, 'a');
@@ -36,4 +36,6 @@ int main()
 #if TEST_STD_VER > 14
     static_assert(test_constexpr(), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/assign3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/assign3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/assign3.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/assign3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     char s2[3] = {0};
     assert(std::char_traits<char>::assign(s2, 3, char(5)) == s2);
@@ -23,4 +23,6 @@ int main()
     assert(s2[1] == char(5));
     assert(s2[2] == char(5));
     assert(std::char_traits<char>::assign(NULL, 0, char(5)) == NULL);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/compare.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<char>::compare("", "", 0) == 0);
     assert(std::char_traits<char>::compare(NULL, NULL, 0) == 0);
@@ -53,4 +53,6 @@ int main()
 #if TEST_STD_VER > 14
     static_assert(test_constexpr(), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     char s1[] = {1, 2, 3};
     char s2[3] = {0};
@@ -25,4 +25,6 @@ int main()
     assert(s2[2] == char(3));
     assert(std::char_traits<char>::copy(NULL, s1, 0) == NULL);
     assert(std::char_traits<char>::copy(s1, NULL, 0) == s1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,9 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<char>::eof() == EOF);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<char>::eq('a', 'a'));
     assert(!std::char_traits<char>::eq('a', 'A'));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eq_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eq_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eq_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/eq_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,11 +15,13 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert( std::char_traits<char>::eq_int_type('a', 'a'));
     assert(!std::char_traits<char>::eq_int_type('a', 'A'));
     assert(!std::char_traits<char>::eq_int_type(std::char_traits<char>::eof(), 'A'));
     assert( std::char_traits<char>::eq_int_type(std::char_traits<char>::eof(),
                                                 std::char_traits<char>::eof()));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/find.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/find.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     char s1[] = {1, 2, 3};
     assert(std::char_traits<char>::find(s1, 3, char(1)) == s1);
@@ -42,4 +42,6 @@ int main()
 #if TEST_STD_VER > 14
     static_assert(test_constexpr(), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/length.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/length.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ constexpr bool test_constexpr()
 #endif
 
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<char>::length("") == 0);
     assert(std::char_traits<char>::length("a") == 1);
@@ -38,4 +38,6 @@ int main()
 #if TEST_STD_VER > 14
     static_assert(test_constexpr(), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/lt.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert( std::char_traits<char>::lt('\0', 'A'));
     assert(!std::char_traits<char>::lt('A', '\0'));
@@ -29,4 +29,6 @@ int main()
 
     assert( std::char_traits<char>::lt(' ', 'A'));
     assert( std::char_traits<char>::lt('A', '~'));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/move.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     char s1[] = {1, 2, 3};
     assert(std::char_traits<char>::move(s1, s1+1, 2) == s1);
@@ -29,4 +29,6 @@ int main()
     assert(s1[2] == char(3));
     assert(std::char_traits<char>::move(NULL, s1, 0) == NULL);
     assert(std::char_traits<char>::move(s1, NULL, 0) == s1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/not_eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/not_eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/not_eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/not_eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,11 +15,13 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<char>::not_eof('a') == 'a');
     assert(std::char_traits<char>::not_eof('A') == 'A');
     assert(std::char_traits<char>::not_eof(0) == 0);
     assert(std::char_traits<char>::not_eof(std::char_traits<char>::eof()) !=
            std::char_traits<char>::eof());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/to_char_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/to_char_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/to_char_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/to_char_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<char>::to_char_type('a') == 'a');
     assert(std::char_traits<char>::to_char_type('A') == 'A');
     assert(std::char_traits<char>::to_char_type(0) == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/to_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/to_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/to_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/to_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<char>::to_int_type('a') == 'a');
     assert(std::char_traits<char>::to_int_type('A') == 'A');
     assert(std::char_traits<char>::to_int_type(0) == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/types.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,11 +19,13 @@
 #include <string>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::char_traits<char>::char_type, char>::value), "");
     static_assert((std::is_same<std::char_traits<char>::int_type, int>::value), "");
     static_assert((std::is_same<std::char_traits<char>::off_type, std::streamoff>::value), "");
     static_assert((std::is_same<std::char_traits<char>::pos_type, std::streampos>::value), "");
     static_assert((std::is_same<std::char_traits<char>::state_type, std::mbstate_t>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -40,4 +40,6 @@ int main()
     static_assert(test_constexpr(), "" );
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     char16_t s2[3] = {0};
@@ -25,4 +25,6 @@ int main()
     assert(s2[2] == char16_t(5));
     assert(std::char_traits<char16_t>::assign(NULL, 0, char16_t(5)) == NULL);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ constexpr bool test_constexpr()
 #endif
 
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -58,4 +58,6 @@ int main()
     static_assert(test_constexpr(), "" );
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     char16_t s1[] = {1, 2, 3};
@@ -27,4 +27,6 @@ int main()
     assert(std::char_traits<char16_t>::copy(NULL, s1, 0) == NULL);
     assert(std::char_traits<char16_t>::copy(s1, NULL, 0) == s1);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,10 +15,12 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     std::char_traits<char16_t>::int_type i = std::char_traits<char16_t>::eof();
     ((void)i); // Prevent unused warning
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -25,4 +25,6 @@ int main()
     assert(!std::char_traits<char16_t>::eq(u'a', u'A'));
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -28,4 +28,6 @@ int main()
     assert( std::char_traits<char16_t>::eq_int_type(std::char_traits<char16_t>::eof(),
                                                     std::char_traits<char16_t>::eof()));
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     char16_t s1[] = {1, 2, 3};
@@ -44,4 +44,6 @@ int main()
     static_assert(test_constexpr(), "" );
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -41,4 +41,6 @@ int main()
     static_assert(test_constexpr(), "" );
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -25,4 +25,6 @@ int main()
     assert( std::char_traits<char16_t>::lt(u'A', u'a'));
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     char16_t s1[] = {1, 2, 3};
@@ -31,4 +31,6 @@ int main()
     assert(std::char_traits<char16_t>::move(NULL, s1, 0) == NULL);
     assert(std::char_traits<char16_t>::move(s1, NULL, 0) == s1);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -28,4 +28,6 @@ int main()
     assert(std::char_traits<char16_t>::not_eof(std::char_traits<char16_t>::eof()) !=
            std::char_traits<char16_t>::eof());
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -26,4 +26,6 @@ int main()
 #endif
     assert(std::char_traits<char16_t>::to_char_type(0) == 0);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -26,4 +26,6 @@ int main()
 #endif
     assert(std::char_traits<char16_t>::to_int_type(0) == 0);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <type_traits>
 #include <cstdint>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     static_assert((std::is_same<std::char_traits<char16_t>::char_type, char16_t>::value), "");
@@ -29,4 +29,6 @@ int main()
     static_assert((std::is_same<std::char_traits<char16_t>::pos_type, std::u16streampos>::value), "");
     static_assert((std::is_same<std::char_traits<char16_t>::state_type, std::mbstate_t>::value), "");
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -40,4 +40,6 @@ int main()
     static_assert(test_constexpr(), "" );
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     char32_t s2[3] = {0};
@@ -25,4 +25,6 @@ int main()
     assert(s2[2] == char32_t(5));
     assert(std::char_traits<char32_t>::assign(NULL, 0, char32_t(5)) == NULL);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -57,4 +57,6 @@ int main()
     static_assert(test_constexpr(), "" );
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     char32_t s1[] = {1, 2, 3};
@@ -27,4 +27,6 @@ int main()
     assert(std::char_traits<char32_t>::copy(NULL, s1, 0) == NULL);
     assert(std::char_traits<char32_t>::copy(s1, NULL, 0) == s1);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,10 +15,12 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     std::char_traits<char32_t>::int_type i = std::char_traits<char32_t>::eof();
     ((void)i); // Prevent unused warning
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -25,4 +25,6 @@ int main()
     assert(!std::char_traits<char32_t>::eq(U'a', U'A'));
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -28,4 +28,6 @@ int main()
     assert( std::char_traits<char32_t>::eq_int_type(std::char_traits<char32_t>::eof(),
                                                     std::char_traits<char32_t>::eof()));
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     char32_t s1[] = {1, 2, 3};
@@ -44,4 +44,6 @@ int main()
     static_assert(test_constexpr(), "" );
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -41,4 +41,6 @@ int main()
     static_assert(test_constexpr(), "" );
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -25,4 +25,6 @@ int main()
     assert( std::char_traits<char32_t>::lt(U'A', U'a'));
 #endif
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     char32_t s1[] = {1, 2, 3};
@@ -31,4 +31,6 @@ int main()
     assert(std::char_traits<char32_t>::move(NULL, s1, 0) == NULL);
     assert(std::char_traits<char32_t>::move(s1, NULL, 0) == s1);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -28,4 +28,6 @@ int main()
     assert(std::char_traits<char32_t>::not_eof(std::char_traits<char32_t>::eof()) !=
            std::char_traits<char32_t>::eof());
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -26,4 +26,6 @@ int main()
 #endif
     assert(std::char_traits<char32_t>::to_char_type(0) == 0);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
 #if TEST_STD_VER >= 11
@@ -26,4 +26,6 @@ int main()
 #endif
     assert(std::char_traits<char32_t>::to_int_type(0) == 0);
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <type_traits>
 #include <cstdint>
 
-int main()
+int main(int, char**)
 {
 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
     static_assert((std::is_same<std::char_traits<char32_t>::char_type, char32_t>::value), "");
@@ -29,4 +29,6 @@ int main()
     static_assert((std::is_same<std::char_traits<char32_t>::pos_type, std::u32streampos>::value), "");
     static_assert((std::is_same<std::char_traits<char32_t>::state_type, std::mbstate_t>::value), "");
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/assign2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/assign2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/assign2.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/assign2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ constexpr bool test_constexpr()
     return c == u'a';
 }
 
-int main()
+int main(int, char**)
 {
     char8_t c = u8'\0';
     std::char_traits<char8_t>::assign(c, u8'a');
@@ -34,5 +34,7 @@ int main()
     static_assert(test_constexpr(), "");
 }
 #else
-int main () {}
+int main(int, char**) {
+  return 0;
+}
 #endif

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/assign3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/assign3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/assign3.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/assign3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     char8_t s2[3] = {0};
@@ -26,4 +26,6 @@ int main()
     assert(s2[2] == char8_t(5));
     assert(std::char_traits<char8_t>::assign(NULL, 0, char8_t(5)) == NULL);
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/compare.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ constexpr bool test_constexpr()
 }
 
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<char8_t>::compare(u8"", u8"", 0) == 0);
     assert(std::char_traits<char8_t>::compare(NULL, NULL, 0) == 0);
@@ -53,5 +53,7 @@ int main()
     static_assert(test_constexpr(), "" );
 }
 #else
-int main () {}
+int main(int, char**) {
+  return 0;
+}
 #endif

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     char8_t s1[] = {1, 2, 3};
@@ -28,4 +28,6 @@ int main()
     assert(std::char_traits<char8_t>::copy(NULL, s1, 0) == NULL);
     assert(std::char_traits<char8_t>::copy(s1, NULL, 0) == s1);
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,10 +16,12 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     std::char_traits<char8_t>::int_type i = std::char_traits<char8_t>::eof();
     ((void)i); // Prevent unused warning
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,10 +18,12 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     assert( std::char_traits<char8_t>::eq(u8'a', u8'a'));
     assert(!std::char_traits<char8_t>::eq(u8'a', u8'A'));
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eq_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eq_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eq_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/eq_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     assert( std::char_traits<char8_t>::eq_int_type(u8'a', u8'a'));
@@ -27,4 +27,6 @@ int main()
     assert( std::char_traits<char8_t>::eq_int_type(std::char_traits<char8_t>::eof(),
                                                     std::char_traits<char8_t>::eof()));
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/find.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/find.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ constexpr bool test_constexpr()
         && std::char_traits<char8_t>::find(p, 3, u8'4') == nullptr;
 }
 
-int main()
+int main(int, char**)
 {
     char8_t s1[] = {1, 2, 3};
     assert(std::char_traits<char8_t>::find(s1, 3, char8_t(1)) == s1);
@@ -41,5 +41,7 @@ int main()
     static_assert(test_constexpr(), "" );
 }
 #else
-int main () {}
+int main(int, char**) {
+  return 0;
+}
 #endif

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/length.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/length.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ constexpr bool test_constexpr()
         && std::char_traits<char8_t>::length(u8"abcd") == 4;
 }
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<char8_t>::length(u8"") == 0);
     assert(std::char_traits<char8_t>::length(u8"a") == 1);
@@ -36,5 +36,7 @@ int main()
     static_assert(test_constexpr(), "");
 }
 #else
-int main() { }
+int main(int, char**) { 
+  return 0;
+}
 #endif

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/lt.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,10 +18,12 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     assert(!std::char_traits<char8_t>::lt(u8'a', u8'a'));
     assert( std::char_traits<char8_t>::lt(u8'A', u8'a'));
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/move.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     char8_t s1[] = {1, 2, 3};
@@ -32,4 +32,6 @@ int main()
     assert(std::char_traits<char8_t>::move(NULL, s1, 0) == NULL);
     assert(std::char_traits<char8_t>::move(s1, NULL, 0) == s1);
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/not_eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/not_eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/not_eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/not_eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     assert(std::char_traits<char8_t>::not_eof(u8'a') == u8'a');
@@ -27,4 +27,6 @@ int main()
     assert(std::char_traits<char8_t>::not_eof(std::char_traits<char8_t>::eof()) !=
            std::char_traits<char8_t>::eof());
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/to_char_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/to_char_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/to_char_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/to_char_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,11 +18,13 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     assert(std::char_traits<char8_t>::to_char_type(u8'a') == u8'a');
     assert(std::char_traits<char8_t>::to_char_type(u8'A') == u8'A');
     assert(std::char_traits<char8_t>::to_char_type(0) == 0);
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/to_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/to_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/to_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/to_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,11 +18,13 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     assert(std::char_traits<char8_t>::to_int_type(u8'a') == u8'a');
     assert(std::char_traits<char8_t>::to_int_type(u8'A') == u8'A');
     assert(std::char_traits<char8_t>::to_int_type(0) == 0);
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/types.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include <type_traits>
 #include <cstdint>
 
-int main()
+int main(int, char**)
 {
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     static_assert((std::is_same<std::char_traits<char8_t>::char_type,  char8_t>::value), "");
@@ -30,4 +30,6 @@ int main()
     static_assert((std::is_same<std::char_traits<char8_t>::pos_type,   std::u16streampos>::value), "");
     static_assert((std::is_same<std::char_traits<char8_t>::state_type, std::mbstate_t>::value), "");
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/assign2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/assign2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/assign2.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/assign2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     wchar_t c = L'\0';
     std::char_traits<wchar_t>::assign(c, L'a');
@@ -36,4 +36,6 @@ int main()
 #if TEST_STD_VER > 14
     static_assert(test_constexpr(), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/assign3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/assign3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/assign3.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/assign3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     wchar_t s2[3] = {0};
     assert(std::char_traits<wchar_t>::assign(s2, 3, wchar_t(5)) == s2);
@@ -23,4 +23,6 @@ int main()
     assert(s2[1] == wchar_t(5));
     assert(s2[2] == wchar_t(5));
     assert(std::char_traits<wchar_t>::assign(NULL, 0, wchar_t(5)) == NULL);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/compare.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<wchar_t>::compare(L"", L"", 0) == 0);
     assert(std::char_traits<wchar_t>::compare(NULL, NULL, 0) == 0);
@@ -53,4 +53,6 @@ int main()
 #if TEST_STD_VER > 14
     static_assert(test_constexpr(), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     wchar_t s1[] = {1, 2, 3};
     wchar_t s2[3] = {0};
@@ -25,4 +25,6 @@ int main()
     assert(s2[2] == wchar_t(3));
     assert(std::char_traits<wchar_t>::copy(NULL, s1, 0) == NULL);
     assert(std::char_traits<wchar_t>::copy(s1, NULL, 0) == s1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,9 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<wchar_t>::eof() == WEOF);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<wchar_t>::eq(L'a', L'a'));
     assert(!std::char_traits<wchar_t>::eq(L'a', L'A'));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eq_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eq_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eq_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/eq_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,11 +15,13 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert( std::char_traits<wchar_t>::eq_int_type(L'a', L'a'));
     assert(!std::char_traits<wchar_t>::eq_int_type(L'a', L'A'));
     assert(!std::char_traits<wchar_t>::eq_int_type(std::char_traits<wchar_t>::eof(), L'A'));
     assert( std::char_traits<wchar_t>::eq_int_type(std::char_traits<wchar_t>::eof(),
                                                    std::char_traits<wchar_t>::eof()));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/find.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/find.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     wchar_t s1[] = {1, 2, 3};
     assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(1)) == s1);
@@ -42,4 +42,6 @@ int main()
 #if TEST_STD_VER > 14
     static_assert(test_constexpr(), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/length.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/length.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ constexpr bool test_constexpr()
 }
 #endif
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<wchar_t>::length(L"") == 0);
     assert(std::char_traits<wchar_t>::length(L"a") == 1);
@@ -37,4 +37,6 @@ int main()
 #if TEST_STD_VER > 14
     static_assert(test_constexpr(), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/lt.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(!std::char_traits<wchar_t>::lt(L'a', L'a'));
     assert( std::char_traits<wchar_t>::lt(L'A', L'a'));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/move.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     wchar_t s1[] = {1, 2, 3};
     assert(std::char_traits<wchar_t>::move(s1, s1+1, 2) == s1);
@@ -29,4 +29,6 @@ int main()
     assert(s1[2] == wchar_t(3));
     assert(std::char_traits<wchar_t>::move(NULL, s1, 0) == NULL);
     assert(std::char_traits<wchar_t>::move(s1, NULL, 0) == s1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/not_eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/not_eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/not_eof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/not_eof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,11 +15,13 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<wchar_t>::not_eof(L'a') == L'a');
     assert(std::char_traits<wchar_t>::not_eof(L'A') == L'A');
     assert(std::char_traits<wchar_t>::not_eof(0) == 0);
     assert(std::char_traits<wchar_t>::not_eof(std::char_traits<wchar_t>::eof()) !=
            std::char_traits<wchar_t>::eof());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/to_char_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/to_char_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/to_char_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/to_char_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<wchar_t>::to_char_type(L'a') == L'a');
     assert(std::char_traits<wchar_t>::to_char_type(L'A') == L'A');
     assert(std::char_traits<wchar_t>::to_char_type(0) == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/to_int_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/to_int_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/to_int_type.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/to_int_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 #include <string>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::char_traits<wchar_t>::to_int_type(L'a') == L'a');
     assert(std::char_traits<wchar_t>::to_int_type(L'A') == L'A');
     assert(std::char_traits<wchar_t>::to_int_type(0) == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/types.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,11 +19,13 @@
 #include <string>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::char_traits<wchar_t>::char_type, wchar_t>::value), "");
     static_assert((std::is_same<std::char_traits<wchar_t>::int_type, std::wint_t>::value), "");
     static_assert((std::is_same<std::char_traits<wchar_t>::off_type, std::streamoff>::value), "");
     static_assert((std::is_same<std::char_traits<wchar_t>::pos_type, std::wstreampos>::value), "");
     static_assert((std::is_same<std::char_traits<wchar_t>::state_type, std::mbstate_t>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.specializations/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/char.traits/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/char.traits/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/char.traits/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/char.traits/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.classes/typedefs.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.classes/typedefs.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.classes/typedefs.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.classes/typedefs.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::string, std::basic_string<char> >::value), "");
     static_assert((std::is_same<std::wstring, std::basic_string<wchar_t> >::value), "");
@@ -33,4 +33,6 @@ int main()
     static_assert((std::is_same<std::u16string, std::basic_string<char16_t> >::value), "");
     static_assert((std::is_same<std::u32string, std::basic_string<char32_t> >::value), "");
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/stod.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/stod.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/stod.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/stod.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::stod("0") == 0);
     assert(std::stod(L"0") == 0);
@@ -185,4 +185,6 @@ int main()
         assert(idx == 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/stof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/stof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/stof.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/stof.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::stof("0") == 0);
     assert(std::stof(L"0") == 0);
@@ -186,4 +186,6 @@ int main()
         assert(idx == 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/stoi.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/stoi.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/stoi.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/stoi.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::stoi("0") == 0);
     assert(std::stoi(L"0") == 0);
@@ -109,4 +109,6 @@ int main()
         assert(idx == 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/stol.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/stol.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/stol.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/stol.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::stol("0") == 0);
     assert(std::stol(L"0") == 0);
@@ -113,4 +113,6 @@ int main()
         assert(idx == 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/stold.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/stold.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/stold.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/stold.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::stold("0") == 0);
     assert(std::stold(L"0") == 0);
@@ -188,4 +188,6 @@ int main()
         assert(idx == 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/stoll.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/stoll.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/stoll.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/stoll.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::stoll("0") == 0);
     assert(std::stoll(L"0") == 0);
@@ -112,4 +112,6 @@ int main()
         assert(idx == 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/stoul.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/stoul.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/stoul.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/stoul.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::stoul("0") == 0);
     assert(std::stoul(L"0") == 0);
@@ -111,4 +111,6 @@ int main()
         assert(idx == 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/stoull.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/stoull.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/stoull.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/stoull.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     assert(std::stoull("0") == 0);
     assert(std::stoull(L"0") == 0);
@@ -112,4 +112,6 @@ int main()
         assert(idx == 0);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/to_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/to_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/to_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/to_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -112,7 +112,7 @@ test_float()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test_signed<int>();
     test_signed<long>();
@@ -123,4 +123,6 @@ int main()
     test_float<float>();
     test_float<double>();
     test_float<long double>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.conversions/to_wstring.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.conversions/to_wstring.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.conversions/to_wstring.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.conversions/to_wstring.pass.cpp Mon Feb  4 12:31:13 2019
@@ -112,7 +112,7 @@ test_float()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test_signed<int>();
     test_signed<long>();
@@ -123,4 +123,6 @@ int main()
     test_float<float>();
     test_float<double>();
     test_float<long double>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/char.bad.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/char.bad.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/char.bad.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/char.bad.fail.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ private:
     int two;
 };
 
-int main()
+int main(int, char**)
 {
     {
 //  array
@@ -49,4 +49,6 @@ int main()
     std::basic_string_view<NotStandardLayout, test_traits<NotStandardLayout> > sv;
 //  expected-error-re at string_view:* {{static_assert failed{{.*}} "Character type of basic_string_view must be standard-layout"}}
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.access/at.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.access/at.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.access/at.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.access/at.pass.cpp Mon Feb  4 12:31:13 2019
@@ -36,7 +36,7 @@ void test ( const CharT *s, size_t len )
 #endif
 }
 
-int main () {
+int main(int, char**) {
     test ( "ABCDE", 5 );
     test ( "a", 1 );
 
@@ -59,4 +59,6 @@ int main () {
     static_assert ( sv.at(1) == 'B', "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.access/back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.access/back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.access/back.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.access/back.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ bool test ( const CharT *s, size_t len )
     return &sv.back() == s + len - 1;
     }
 
-int main () {
+int main(int, char**) {
     assert ( test ( "ABCDE", 5 ));
     assert ( test ( "a", 1 ));
 
@@ -46,4 +46,6 @@ int main () {
     static_assert ( sv.back()  == 'B', "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.access/data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.access/data.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.access/data.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.access/data.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ void test ( const CharT *s, size_t len )
 #endif
     }
 
-int main () {
+int main(int, char**) {
     test ( "ABCDE", 5 );
     test ( "a", 1 );
 
@@ -50,4 +50,6 @@ int main () {
     static_assert( sv.data() == s, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.access/front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.access/front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.access/front.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.access/front.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ bool test ( const CharT *s, size_t len )
     return &sv.front() == s;
     }
 
-int main () {
+int main(int, char**) {
     assert ( test ( "ABCDE", 5 ));
     assert ( test ( "a", 1 ));
 
@@ -46,4 +46,6 @@ int main () {
     static_assert ( sv.front()  == 'A', "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.access/index.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.access/index.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.access/index.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.access/index.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ void test ( const CharT *s, size_t len )
         }
     }
 
-int main () {
+int main(int, char**) {
     test ( "ABCDE", 5 );
     test ( "a", 1 );
 
@@ -49,4 +49,6 @@ int main () {
     static_assert ( sv[1]  == 'B', "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp Mon Feb  4 12:31:13 2019
@@ -62,7 +62,7 @@ void test2 ( const CharT *s, size_t len
     }
 }
 
-int main () {
+int main(int, char**) {
     test1<std::string_view> ();
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
     test1<std::u8string_view> ();
@@ -99,4 +99,6 @@ int main () {
     test2 ( U"a", 1 );
     test2 ( U"", 0 );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.capacity/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.capacity/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.capacity/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.capacity/empty.fail.cpp Mon Feb  4 12:31:13 2019
@@ -20,8 +20,10 @@
 
 #include "test_macros.h"
 
-int main ()
+int main(int, char**)
 {
     std::string_view c;
     c.empty();  // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(S lhs, const typename S::value_type
     assert((rhs == lhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -65,4 +65,6 @@ int main()
     static_assert (!("abcde0" == sv2), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const std::string &lhs, S rhs, bool
     assert((rhs == lhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -46,5 +46,7 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghij"), false);
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), true);
     }
+
+  return 0;
 }
 

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(S lhs, S rhs, bool x)
     assert((rhs == lhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -58,4 +58,6 @@ int main()
     static_assert (!(sv1 == sv3), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(const typename S::value_type* lhs,
     assert((rhs >= lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -68,4 +68,6 @@ int main()
     static_assert (  "abcde0" >= sv2, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const S& lhs, const typename S::val
     assert((rhs >= lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -46,4 +46,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghij", true, false);
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", true, true);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(const S& lhs, const S& rhs, bool x,
     assert((rhs >= lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -61,4 +61,6 @@ int main()
     static_assert (  sv2 >= sv1,  "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(const typename S::value_type* lhs,
     assert((rhs > lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -68,4 +68,6 @@ int main()
     static_assert (  "abcde0" > sv2, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const S& lhs, const typename S::val
     assert((rhs > lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -46,4 +46,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghij", true, false);
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", false, false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(const S& lhs, const S& rhs, bool x,
     assert((rhs > lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -61,4 +61,6 @@ int main()
     static_assert (  sv2 > sv1, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(const typename S::value_type* lhs,
     assert((rhs <= lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -68,4 +68,6 @@ int main()
     static_assert (!("abcde0" <= sv2), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const S& lhs, const typename S::val
     assert((rhs <= lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -46,4 +46,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghij", false, true);
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", true, true);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(const S& lhs, const S& rhs, bool x,
     assert((rhs <= lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -61,4 +61,6 @@ int main()
     static_assert (!(sv2 <= sv1), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(const typename S::value_type* lhs,
     assert((rhs < lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -68,4 +68,6 @@ int main()
     static_assert (!("abcde0" < sv2), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const S& lhs, const typename S::val
     assert((rhs < lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -46,4 +46,6 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghij", false, true);
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", false, false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(const S& lhs, const S& rhs, bool x,
     assert((rhs < lhs) == y);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -61,4 +61,6 @@ int main()
     static_assert (!(sv2 < sv1), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ test(S lhs, const typename S::value_type
     assert((rhs != lhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -66,4 +66,6 @@ int main()
     static_assert (  "abcde0" != sv2, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const std::string &lhs, S rhs, bool
     assert((rhs != lhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -46,4 +46,6 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghij"), true);
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ test(S lhs, S rhs, bool x)
     assert((rhs != lhs) == x);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -58,4 +58,6 @@ int main()
     static_assert (   sv1 != sv3,  "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ bool test (T sv0)
     return sv0.size() == sv1.size() && sv0.data() == sv1.data();
     }
 
-int main () {
+int main(int, char**) {
 
     assert( test<std::string_view>    (  "1234"));
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
@@ -54,4 +54,6 @@ int main () {
 #endif
     static_assert( test<std::wstring_view>   ({ L"abc", 3}), "");
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ void test () {
     }
 }
 
-int main () {
+int main(int, char**) {
     test<std::string_view> ();
     test<std::u16string_view> ();
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
@@ -44,4 +44,6 @@ int main () {
     test<std::u32string_view> ();
     test<std::wstring_view> ();
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,7 @@ void test ( const CharT *s ) {
     }
 
 
-int main () {
+int main(int, char**) {
 
     test ( "QBCDE" );
     test ( "A" );
@@ -65,4 +65,6 @@ int main () {
     static_assert ( sv1.size() == 5, "");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ void test ( const CharT *s, size_t sz )
     }
 }
 
-int main () {
+int main(int, char**) {
 
     test ( "QBCDE", 5 );
     test ( "QBCDE", 2 );
@@ -82,4 +82,6 @@ int main () {
     }
 #endif
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ void test ( const std::basic_string<Char
     assert ( sv1.data() == str.data());
 }
 
-int main () {
+int main(int, char**) {
 
     test ( std::string("QBCDE") );
     test ( std::string("") );
@@ -61,4 +61,6 @@ int main () {
     test ( std::basic_string<char, dummy_char_traits>("") );
     test ( std::basic_string<char, dummy_char_traits>() );
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string1.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string1.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 struct dummy_char_traits : public std::char_traits<char> {};
 
-int main () {
+int main(int, char**) {
     using string_view = std::basic_string_view<char>;
     using string      = std::              basic_string     <char, dummy_char_traits>;
 
@@ -28,4 +28,6 @@ int main () {
     assert ( sv1.size() == s.size());
     assert ( sv1.data() == s.data());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string2.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/from_string2.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 struct dummy_char_traits : public std::char_traits<char> {};
 
-int main () {
+int main(int, char**) {
     using string_view = std::basic_string_view<char, dummy_char_traits>;
     using string      = std::              basic_string     <char>;
 
@@ -28,4 +28,6 @@ int main () {
     assert ( sv1.size() == s.size());
     assert ( sv1.data() == s.data());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/implicit_deduction_guides.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/implicit_deduction_guides.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/implicit_deduction_guides.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/implicit_deduction_guides.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@
 // (2)  basic_string_view(const basic_string_view&)
 // (3)  basic_string_view(const CharT*, size_type)
 // (4)  basic_string_view(const CharT*)
-int main()
+int main(int, char**)
 {
   { // Testing (1)
     // Nothing TODO. Cannot deduce without any arguments.
@@ -61,4 +61,6 @@ int main()
     ASSERT_SAME_TYPE(decltype(w), std::wstring_view);
     assert(w == L"abcdef");
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ test(const S& s, typename S::value_type
         assert(0 <= x && x + 1 <= s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -81,4 +81,6 @@ int main()
     static_assert (sv2.find( 'c', 4 ) == SV::npos, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ test(const S& s, typename S::value_type
         assert(x < s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -81,4 +81,6 @@ int main()
     static_assert (sv2.find_first_not_of( 'q', 5 ) == SV::npos, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -141,7 +141,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), "htaobedqikfplcgjsmrn", S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -162,4 +162,6 @@ int main()
     static_assert (sv2.find_first_not_of( "lecar", 0) == 1, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -366,7 +366,7 @@ void test3()
     test(S("hnbrcplsjfgiktoedmaq"), "qprlsfojamgndekthibc", 21, 20, S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -389,4 +389,6 @@ int main()
     static_assert (sv2.find_first_not_of( "lecar", 0, 5) == 1, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -137,11 +137,13 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), S("htaobedqikfplcgjsmrn"), S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
     test0<S>();
     test1<S>();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ test(const S& s, typename S::value_type
         assert(x < s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -79,4 +79,6 @@ int main()
     static_assert (sv2.find_first_of( 'e', 5 ) == SV::npos, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -141,7 +141,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), "htaobedqikfplcgjsmrn", 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -162,4 +162,6 @@ int main()
     static_assert (sv2.find_first_of( "lecar", 0) == 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -366,7 +366,7 @@ void test3()
     test(S("hnbrcplsjfgiktoedmaq"), "qprlsfojamgndekthibc", 21, 20, S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -389,4 +389,6 @@ int main()
     static_assert (sv2.find_first_of( "lecar", 0, 5) == 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -137,11 +137,13 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), S("htaobedqikfplcgjsmrn"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
     test0<S>();
     test1<S>();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ test(const S& s, typename S::value_type
         assert(x < s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -79,4 +79,6 @@ int main()
     static_assert (sv2.find_last_not_of( 'e', 5 ) == 3, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -141,7 +141,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), "htaobedqikfplcgjsmrn", S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -162,4 +162,6 @@ int main()
     static_assert (sv2.find_last_not_of( "lecar", 5) == 3, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -366,7 +366,7 @@ void test3()
     test(S("hnbrcplsjfgiktoedmaq"), "qprlsfojamgndekthibc", 21, 20, S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -389,4 +389,6 @@ int main()
     static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -137,11 +137,13 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), S("htaobedqikfplcgjsmrn"), S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
     test0<S>();
     test1<S>();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,7 @@ test(const S& s, typename S::value_type
         assert(x < s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -79,4 +79,6 @@ int main()
     static_assert (sv2.find_last_of( 'e', 5 ) == 4, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -141,7 +141,7 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), "htaobedqikfplcgjsmrn", 19);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -162,4 +162,6 @@ int main()
     static_assert (sv2.find_last_of( "lecar", 5) == 4, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -366,7 +366,7 @@ void test3()
     test(S("hnbrcplsjfgiktoedmaq"), "qprlsfojamgndekthibc", 21, 20, 19);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -389,4 +389,6 @@ int main()
     static_assert (sv2.find_last_of( "lecar", 5, 5) == 4, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -137,11 +137,13 @@ void test1()
     test(S("pniotcfrhqsmgdkjbael"), S("htaobedqikfplcgjsmrn"), 19);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
     test0<S>();
     test1<S>();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -147,7 +147,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), "abcdeabcdeabcdeabcde", 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -168,4 +168,6 @@ int main()
     static_assert (sv2.find( "abcde", 1) == SV::npos, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -366,7 +366,7 @@ void test3()
     test(S("abcdeabcdeabcdeabcde"), "abcdeabcdeabcdeabcde", 21, 20, S::npos);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -390,4 +390,6 @@ int main()
     static_assert (sv2.find( "abcde", 0, 1 ) == 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), S("abcdeabcdeabcdeabcde"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -161,4 +161,6 @@ int main()
     static_assert (sv2.find(sv2, 1 ) == SV::npos, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ test(const S& s, typename S::value_type
         assert(x + 1 <= s.size());
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -80,4 +80,6 @@ int main()
     static_assert (sv2.rfind( 'b', 4 ) == 1, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -147,7 +147,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), "abcdeabcdeabcdeabcde", 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -168,4 +168,6 @@ int main()
     static_assert (sv2.rfind( "abcde", 1) == 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -365,7 +365,7 @@ void test3()
     test(S("abcdeabcdeabcdeabcde"), "abcdeabcdeabcdeabcde", 21, 20, 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -389,4 +389,6 @@ int main()
     static_assert (sv2.rfind( "abcde", 0, 1 ) == 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -140,7 +140,7 @@ void test1()
     test(S("abcdeabcdeabcdeabcde"), S("abcdeabcdeabcdeabcde"), 0);
 }
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view S;
@@ -161,4 +161,6 @@ int main()
     static_assert (sv2.rfind(sv2, 1) == 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.hash/enabled_hashes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.hash/enabled_hashes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.hash/enabled_hashes.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.hash/enabled_hashes.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "poisoned_hash_helper.hpp"
 
-int main() {
+int main(int, char**) {
   test_library_hash_specializations_available();
   {
     test_hash_enabled_for_type<std::string_view>();
@@ -30,4 +30,6 @@ int main() {
     test_hash_enabled_for_type<std::u32string_view>();
 #endif
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.hash/string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.hash/string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.hash/string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.hash/string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -55,7 +55,7 @@ test()
     assert(sh(ss2) == h(s2));
 }
 
-int main()
+int main(int, char**)
 {
     test<std::string_view>();
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
@@ -66,4 +66,6 @@ int main()
     test<std::u32string_view>();
 #endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
     test<std::wstring_view>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.io/stream_insert.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.io/stream_insert.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.io/stream_insert.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.io/stream_insert.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 using std::string_view;
 using std::wstring_view;
 
-int main()
+int main(int, char**)
 {
     {
         std::ostringstream out;
@@ -54,4 +54,6 @@ int main()
         assert(out.good());
         assert(L"   " + s == out.str());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.iterators/begin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.iterators/begin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.iterators/begin.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.iterators/begin.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,7 @@ test(S s)
 }
 
 
-int main()
+int main(int, char**)
 {
     typedef std::string_view    string_view;
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
@@ -90,4 +90,6 @@ int main()
     static_assert (   *wsv.cbegin() ==   wsv[0], "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.iterators/end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.iterators/end.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.iterators/end.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.iterators/end.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,7 +48,7 @@ test(S s)
 }
 
 
-int main()
+int main(int, char**)
 {
     typedef std::string_view    string_view;
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
@@ -99,4 +99,6 @@ int main()
     static_assert (   wsv.begin() !=   wsv.cend(), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.iterators/rbegin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.iterators/rbegin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.iterators/rbegin.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.iterators/rbegin.pass.cpp Mon Feb  4 12:31:13 2019
@@ -40,7 +40,7 @@ test(S s)
 }
 
 
-int main()
+int main(int, char**)
 {
     typedef std::string_view    string_view;
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
@@ -91,4 +91,6 @@ int main()
     static_assert (   *wsv.crbegin() ==   wsv[2], "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.iterators/rend.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.iterators/rend.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.iterators/rend.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.iterators/rend.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,7 +48,7 @@ test(S s)
 }
 
 
-int main()
+int main(int, char**)
 {
     typedef std::string_view    string_view;
 #if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
@@ -99,4 +99,6 @@ int main()
     static_assert (   *--wsv.crend() ==   wsv[0], "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ constexpr size_t test_ce ( size_t n, siz
 }
 #endif
 
-int main () {
+int main(int, char**) {
     test ( "ABCDE", 5 );
     test ( "a", 1 );
     test ( "", 0 );
@@ -74,4 +74,6 @@ int main () {
     static_assert ( test_ce ( 9, 3 ) == 6, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ constexpr size_t test_ce ( size_t n, siz
 }
 #endif
 
-int main () {
+int main(int, char**) {
     test ( "ABCDE", 5 );
     test ( "a", 1 );
     test ( "", 0 );
@@ -74,4 +74,6 @@ int main () {
     static_assert ( test_ce ( 9, 3 ) == 6, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ constexpr size_t test_ce ( size_t n, siz
 #endif
 
 
-int main () {
+int main(int, char**) {
     test ( "ABCDE", 5 );
     test ( "a", 1 );
     test ( "", 0 );
@@ -72,4 +72,6 @@ int main () {
     static_assert ( test_ce (0, 1) == 1, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp Mon Feb  4 12:31:13 2019
@@ -160,7 +160,7 @@ std::wstring unquote ( const wchar_t *p,
     return s;
 }
 
-int main()
+int main(int, char**)
 {
     round_trip    (  "" );
     round_trip_ws (  "" );
@@ -207,7 +207,11 @@ int main()
 
     assert ( unquote (  "" ) ==  "" ); // nothing there
     assert ( unquote ( L"" ) == L"" ); // nothing there
-    }
+
+    return 0;
+}
 #else
-int main() {}
+int main(int, char**) {
+  return 0;
+}
 #endif

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -32,7 +32,7 @@ test( const CharT *s1, const CharT *s2,
     test1 ( sv1, s2, expected );
 }
 
-int main()
+int main(int, char**)
 {
     {
     test("", "", 0);
@@ -123,4 +123,6 @@ int main()
     static_assert ( sv2.compare("abcde") == 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -354,7 +354,7 @@ void test2()
 }
 
 
-int main()
+int main(int, char**)
 {
     test0();
     test1();
@@ -449,4 +449,6 @@ int main()
     static_assert ( sv2.compare(0, 6, "abcde") == 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv.pass.cpp Mon Feb  4 12:31:13 2019
@@ -354,7 +354,7 @@ void test2()
 }
 
 
-int main () {
+int main(int, char**) {
     test0();
     test1();
     test2();
@@ -398,4 +398,6 @@ int main () {
     static_assert ( sv1.compare(2, 4, sv2) == 1, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -1291,7 +1291,7 @@ void test11()
     }
 
 
-int main () {
+int main(int, char**) {
     test0();
     test1();
     test2();
@@ -1349,4 +1349,6 @@ int main () {
     static_assert ( sv2.compare(0, 0, "abcde", 1, 0) == 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -5747,7 +5747,7 @@ void test54()
 }
 
 
-int main () {
+int main(int, char**) {
     test0();
     test1();
     test2();
@@ -5844,4 +5844,6 @@ int main () {
     static_assert ( sv1.compare(2, 4, "abcde", 3, 4) == -1, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ void test ( const CharT *s1, const CharT
     test1(sv1, sv2, expected);
 }
 
-int main () {
+int main(int, char**) {
 
     test("",                     "", 0);
     test("",                     "abcde", -5);
@@ -118,4 +118,6 @@ int main () {
     static_assert ( sv2.compare(sv3)  < 0, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -77,7 +77,7 @@ void test ( const CharT *s ) {
 
 }
 
-int main () {
+int main(int, char**) {
     test ( "ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDE" );
     test ( "ABCDE");
     test ( "a" );
@@ -99,4 +99,6 @@ int main () {
     test ( U"a" );
     test ( U"" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/substr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/substr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/substr.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/substr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -69,7 +69,7 @@ void test ( const CharT *s ) {
     test1(sv1, sv1.size() + 1, string_view_t::npos);
 }
 
-int main () {
+int main(int, char**) {
     test ( "ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDE" );
     test ( "ABCDE");
     test ( "a" );
@@ -117,4 +117,6 @@ int main () {
     }
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.synop/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.synop/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.synop/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.synop/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -8,4 +8,6 @@
 
 #include <string_view>
 
-int main () {}
+int main(int, char**) {
+  return 0;
+}

Modified: libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view SV;
@@ -43,4 +43,6 @@ int main()
     static_assert (!sv2.ends_with('x'), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view SV;
@@ -100,4 +100,6 @@ int main()
     static_assert ( svNot.ends_with("def"), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.template/ends_with.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view SV;
@@ -100,4 +100,6 @@ int main()
     static_assert ( svNot.ends_with(svNot), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.template/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.template/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.template/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.template/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -8,4 +8,6 @@
 
 #include <string_view>
 
-int main () {}
+int main(int, char**) {
+  return 0;
+}

Modified: libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.char.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.char.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view SV;
@@ -43,4 +43,6 @@ int main()
     static_assert (!sv2.starts_with('x'), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view SV;
@@ -100,4 +100,6 @@ int main()
     static_assert ( svNot.starts_with("def"), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.string_view.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.template/starts_with.string_view.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::string_view SV;
@@ -100,4 +100,6 @@ int main()
     static_assert ( svNot.starts_with(svNot), "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string_view.literals/literal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string_view.literals/literal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string_view.literals/literal.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string_view.literals/literal.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@
     typedef std::string_view   u8string_view;
 #endif
 
-int main()
+int main(int, char**)
 {
     using namespace std::literals::string_view_literals;
 
@@ -69,4 +69,6 @@ int main()
     static_assert(noexcept( L"ABC"sv), "");
     static_assert(noexcept( u"ABC"sv), "");
     static_assert(noexcept( U"ABC"sv), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string_view.literals/literal1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string_view.literals/literal1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string_view.literals/literal1.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string_view.literals/literal1.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 #include <string_view>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     using std::string_view;
 
     string_view foo  =   ""sv;  // should fail w/conversion operator not found
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string_view.literals/literal1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string_view.literals/literal1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string_view.literals/literal1.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string_view.literals/literal1.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,10 +15,12 @@
 #include <string_view>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     using namespace std::literals;
 
     std::string_view foo  =   ""sv;
     assert(foo.length() == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string_view.literals/literal2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string_view.literals/literal2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string_view.literals/literal2.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string_view.literals/literal2.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,9 @@
 #include <string_view>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::string_view foo  =   ""sv;  // should fail w/conversion operator not found
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string_view.literals/literal2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string_view.literals/literal2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string_view.literals/literal2.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string_view.literals/literal2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,10 +15,12 @@
 #include <string_view>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     using namespace std::literals::string_view_literals;
 
     std::string_view foo  =   ""sv;
     assert(foo.length() == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/string_view.literals/literal3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string_view.literals/literal3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string_view.literals/literal3.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string_view.literals/literal3.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,10 +15,12 @@
 #include <string_view>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     using namespace std;
 
     string_view foo  =   ""sv;
     assert(foo.length() == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/traits_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/traits_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/traits_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/traits_mismatch.fail.cpp Mon Feb  4 12:31:13 2019
@@ -11,7 +11,9 @@
 
 #include <string_view>
 
-int main()
+int main(int, char**)
 {
     std::basic_string_view<char, std::char_traits<wchar_t>> s;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/string.view/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/types.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -67,7 +67,7 @@ test()
     static_assert((std::is_same<typename S::reverse_iterator, typename S::const_reverse_iterator>::value), "");
 }
 
-int main()
+int main(int, char**)
 {
     test<std::char_traits<char> >();
     test<std::char_traits<wchar_t> >();
@@ -76,4 +76,6 @@ int main()
 #endif
     static_assert((std::is_same<std::basic_string_view<char>::traits_type,
                                 std::char_traits<char> >::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/strings.erasure/erase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/strings.erasure/erase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/strings.erasure/erase.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/strings.erasure/erase.pass.cpp Mon Feb  4 12:31:13 2019
@@ -67,9 +67,11 @@ void test()
     test0(S("aba"), opt('c'), S("aba"));
 }
 
-int main()
+int main(int, char**)
 {
     test<std::string>();
     test<std::basic_string<char, std::char_traits<char>, min_allocator<char>>> ();
     test<std::basic_string<char, std::char_traits<char>, test_allocator<char>>> ();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/strings.erasure/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/strings.erasure/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/strings.erasure/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/strings.erasure/erase_if.pass.cpp Mon Feb  4 12:31:13 2019
@@ -67,9 +67,11 @@ void test()
     test0(S("aba"), True,   S(""));
 }
 
-int main()
+int main(int, char**)
 {
     test<std::string>();
     test<std::basic_string<char, std::char_traits<char>, min_allocator<char>>> ();
     test<std::basic_string<char, std::char_traits<char>, test_allocator<char>>> ();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/strings/strings.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/strings.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/strings.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/strings.general/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.async/async.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.async/async.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.async/async.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.async/async.fail.cpp Mon Feb  4 12:31:13 2019
@@ -30,8 +30,10 @@
 
 int foo (int x) { return x; }
 
-int main ()
+int main(int, char**)
 {
     std::async(                    foo, 3); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
     std::async(std::launch::async, foo, 3); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.async/async.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.async/async.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.async/async.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.async/async.pass.cpp Mon Feb  4 12:31:13 2019
@@ -102,7 +102,7 @@ void test(CheckLamdba&& getAndCheckFn, b
     }
 }
 
-int main()
+int main(int, char**)
 {
     // The default launch policy is implementation defined. libc++ defines
     // it to be std::launch::async.
@@ -151,4 +151,5 @@ int main()
         try { f.get(); assert (false); } catch ( int ) {}
     }
 #endif
+    return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.async/async_race.38682.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.async/async_race.38682.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.async/async_race.38682.pass.cpp Mon Feb  4 12:31:13 2019
@@ -38,7 +38,7 @@ static int& worker_ref(int& i) { return
 
 static void worker_void() { }
 
-int main() {
+int main(int, char**) {
   // future<T>
   {
     std::vector<int> const v{1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
@@ -65,4 +65,6 @@ int main() {
       fut.get();
     }
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.async/async_race.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.async/async_race.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.async/async_race.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.async/async_race.pass.cpp Mon Feb  4 12:31:13 2019
@@ -62,6 +62,8 @@ void test_each() {
     }
 }
 
-int main() {
+int main(int, char**) {
     for (int i=0; i < 25; ++i) test_each();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.errors/default_error_condition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.errors/default_error_condition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.errors/default_error_condition.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.errors/default_error_condition.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,10 +17,12 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     const std::error_category& e_cat = std::future_category();
     std::error_condition e_cond = e_cat.default_error_condition(static_cast<int>(std::errc::not_a_directory));
     assert(e_cond.category() == e_cat);
     assert(e_cond.value() == static_cast<int>(std::errc::not_a_directory));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.errors/equivalent_error_code_int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.errors/equivalent_error_code_int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.errors/equivalent_error_code_int.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.errors/equivalent_error_code_int.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,9 +17,11 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     const std::error_category& e_cat = std::future_category();
     assert(e_cat.equivalent(std::error_code(5, e_cat), 5));
     assert(!e_cat.equivalent(std::error_code(5, e_cat), 6));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.errors/equivalent_int_error_condition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.errors/equivalent_int_error_condition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.errors/equivalent_int_error_condition.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.errors/equivalent_int_error_condition.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,10 +17,12 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     const std::error_category& e_cat = std::future_category();
     std::error_condition e_cond = e_cat.default_error_condition(5);
     assert(e_cat.equivalent(5, e_cond));
     assert(!e_cat.equivalent(6, e_cond));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.errors/future_category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.errors/future_category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.errors/future_category.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.errors/future_category.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,8 +16,10 @@
 #include <cstring>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     const std::error_category& ec = std::future_category();
     assert(std::strcmp(ec.name(), "future") == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.errors/make_error_code.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.errors/make_error_code.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.errors/make_error_code.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.errors/make_error_code.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,11 +17,13 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         std::error_code ec = make_error_code(std::future_errc::broken_promise);
         assert(ec.value() == static_cast<int>(std::future_errc::broken_promise));
         assert(ec.category() == std::future_category());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.errors/make_error_condition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.errors/make_error_condition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.errors/make_error_condition.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.errors/make_error_condition.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         const std::error_condition ec1 =
@@ -26,4 +26,6 @@ int main()
                   static_cast<int>(std::future_errc::future_already_retrieved));
         assert(ec1.category() == std::future_category());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.future_error/code.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.future_error/code.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.future_error/code.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.future_error/code.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::error_code ec = std::make_error_code(std::future_errc::broken_promise);
@@ -53,4 +53,6 @@ int main()
         assert(f.code() == std::make_error_code(std::future_errc::no_state));
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.future_error/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.future_error/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.future_error/types.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.future_error/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <future>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_convertible<std::future_error*,
                                        std::logic_error*>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.future_error/what.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.future_error/what.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.future_error/what.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.future_error/what.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::future_error f(std::make_error_code(std::future_errc::broken_promise));
@@ -50,4 +50,6 @@ int main()
         LIBCPP_ASSERT(std::strcmp(f.what(), "Operation not permitted on an object without "
                       "an associated state.") == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.overview/future_errc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.overview/future_errc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.overview/future_errc.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.overview/future_errc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@
 
 #include <future>
 
-int main()
+int main(int, char**)
 {
     static_assert(std::future_errc::broken_promise != std::future_errc::future_already_retrieved, "");
     static_assert(std::future_errc::broken_promise != std::future_errc::promise_already_satisfied, "");
@@ -36,4 +36,6 @@ int main()
     static_assert(std::future_errc::future_already_retrieved != static_cast<std::future_errc>(0), "");
     static_assert(std::future_errc::promise_already_satisfied != static_cast<std::future_errc>(0), "");
     static_assert(std::future_errc::no_state != static_cast<std::future_errc>(0), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.overview/future_status.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.overview/future_status.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.overview/future_status.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.overview/future_status.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,9 +19,11 @@
 
 #include <future>
 
-int main()
+int main(int, char**)
 {
     static_assert(static_cast<int>(std::future_status::ready) == 0, "");
     static_assert(static_cast<int>(std::future_status::timeout) == 1, "");
     static_assert(static_cast<int>(std::future_status::deferred) == 2, "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.overview/is_error_code_enum_future_errc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.overview/is_error_code_enum_future_errc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.overview/is_error_code_enum_future_errc.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.overview/is_error_code_enum_future_errc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,10 +15,12 @@
 #include <future>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     static_assert(std::is_error_code_enum  <std::future_errc>::value, "");
 #if TEST_STD_VER > 14
     static_assert(std::is_error_code_enum_v<std::future_errc>, "");
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.overview/launch.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.overview/launch.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.overview/launch.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.overview/launch.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #ifdef _LIBCPP_HAS_NO_STRONG_ENUMS
    LIBCPP_STATIC_ASSERT(static_cast<int>(std::launch::any) ==
@@ -43,4 +43,6 @@ int main()
 #endif
     static_assert(static_cast<int>(std::launch::async) == 1, "");
     static_assert(static_cast<int>(std::launch::deferred) == 2, "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 #include "test_allocator.h"
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     assert(test_alloc_base::alloc_count == 0);
     {
@@ -81,4 +81,6 @@ int main()
         std::future<void> f = p.get_future();
         assert(f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/copy_assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/copy_assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/copy_assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/copy_assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if TEST_STD_VER >= 11
     {
@@ -47,4 +47,6 @@ int main()
         p = p0; // expected-error {{'operator=' is a private member of 'std::__1::promise<void>'}}
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/copy_ctor.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/copy_ctor.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/copy_ctor.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/copy_ctor.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if TEST_STD_VER >= 11
     {
@@ -47,4 +47,6 @@ int main()
         std::promise<void> p(p0); // expected-error {{calling a private constructor of class 'std::__1::promise<void>'}}
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         std::promise<int> p;
@@ -35,4 +35,6 @@ int main()
         std::future<void> f = p.get_future();
         assert(f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/dtor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/dtor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -123,4 +123,6 @@ int main()
         }
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/get_future.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/get_future.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/get_future.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/get_future.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         std::promise<double> p;
@@ -56,4 +56,6 @@ int main()
         }
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/move_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     assert(test_alloc_base::alloc_count == 0);
     {
@@ -93,4 +93,6 @@ int main()
         assert(test_alloc_base::alloc_count == 1);
     }
     assert(test_alloc_base::alloc_count == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/move_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/move_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/move_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/move_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "test_macros.h"
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     assert(test_alloc_base::alloc_count == 0);
     {
@@ -87,4 +87,6 @@ int main()
 #endif
     }
     assert(test_alloc_base::alloc_count == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_exception.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_exception.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_exception.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_exception.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -45,4 +45,6 @@ int main()
             assert(e.code() == make_error_code(std::future_errc::promise_already_satisfied));
         }
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_exception_at_thread_exit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_exception_at_thread_exit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_exception_at_thread_exit.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_exception_at_thread_exit.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ void func(std::promise<int> p)
     p.set_exception_at_thread_exit(std::make_exception_ptr(3));
 }
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -41,4 +41,6 @@ int main()
             assert(i == 3);
         }
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_lvalue.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef int& T;
@@ -44,4 +44,6 @@ int main()
         }
 #endif
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_lvalue_at_thread_exit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_lvalue_at_thread_exit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_lvalue_at_thread_exit.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_lvalue_at_thread_exit.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ void func(std::promise<int&> p)
     i = 4;
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::promise<int&> p;
@@ -35,4 +35,6 @@ int main()
         std::thread(func, std::move(p)).detach();
         assert(f.get() == 4);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_rvalue.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ struct A
     A(A&&) {throw 9;}
 };
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::unique_ptr<int> T;
@@ -60,4 +60,6 @@ int main()
             assert(j == 9);
         }
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_rvalue_at_thread_exit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_rvalue_at_thread_exit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_rvalue_at_thread_exit.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_rvalue_at_thread_exit.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@ void func(std::promise<std::unique_ptr<i
     p.set_value_at_thread_exit(std::unique_ptr<int>(new int(5)));
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::promise<std::unique_ptr<int>> p;
@@ -31,4 +31,6 @@ int main()
         std::thread(func, std::move(p)).detach();
         assert(*f.get() == 5);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_value_at_thread_exit_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_value_at_thread_exit_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_value_at_thread_exit_const.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_value_at_thread_exit_const.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ void func(std::promise<int> p)
     p.set_value_at_thread_exit(i);
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::promise<int> p;
@@ -32,4 +32,6 @@ int main()
         std::thread(func, std::move(p)).detach();
         assert(f.get() == 5);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_value_at_thread_exit_void.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_value_at_thread_exit_void.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_value_at_thread_exit_void.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_value_at_thread_exit_void.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ void func(std::promise<void> p)
     i = 1;
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::promise<void> p;
@@ -36,4 +36,6 @@ int main()
         f.get();
         assert(i == 1);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_value_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_value_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_value_const.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_value_const.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ struct A
     }
 };
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -68,4 +68,6 @@ int main()
         }
 #endif
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/set_value_void.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/set_value_void.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/set_value_void.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/set_value_void.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef void T;
@@ -37,4 +37,6 @@ int main()
             assert(e.code() == make_error_code(std::future_errc::promise_already_satisfied));
         }
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     assert(test_alloc_base::alloc_count == 0);
     {
@@ -81,4 +81,6 @@ int main()
         assert(test_alloc_base::alloc_count == 1);
     }
     assert(test_alloc_base::alloc_count == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,9 +19,11 @@
 #include <future>
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), "");
     static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), "");
     static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/copy_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/copy_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/copy_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/copy_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -77,4 +77,6 @@ int main()
         assert(!f0.valid());
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/copy_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/copy_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/copy_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/copy_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -71,4 +71,6 @@ int main()
         assert(!f0.valid());
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/ctor_future.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/ctor_future.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/ctor_future.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/ctor_future.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -65,4 +65,6 @@ int main()
         assert(!f0.valid());
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         std::shared_future<int> f;
@@ -31,4 +31,6 @@ int main()
         std::shared_future<void> f;
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/dtor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/dtor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     assert(test_alloc_base::alloc_count == 0);
     {
@@ -66,4 +66,6 @@ int main()
         assert(f.valid());
     }
     assert(test_alloc_base::alloc_count == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/get.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/get.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/get.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/get.pass.cpp Mon Feb  4 12:31:13 2019
@@ -61,7 +61,7 @@ void func6(std::promise<void> p)
     p.set_exception(std::make_exception_ptr('c'));
 }
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -150,4 +150,6 @@ int main()
         }
 #endif
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/move_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -71,4 +71,6 @@ int main()
         assert(!f0.valid());
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/move_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/move_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/move_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/move_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -65,4 +65,6 @@ int main()
         assert(!f0.valid());
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/wait.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/wait.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/wait.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/wait.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,7 @@ void func5(std::promise<void> p)
     p.set_value();
 }
 
-int main()
+int main(int, char**)
 {
     typedef std::chrono::high_resolution_clock Clock;
     typedef std::chrono::duration<double, std::milli> ms;
@@ -85,4 +85,6 @@ int main()
         assert(f.valid());
         assert(t1-t0 < ms(5));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/wait_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/wait_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/wait_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/wait_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,7 +43,7 @@ void func5(std::promise<void> p)
     p.set_value();
 }
 
-int main()
+int main(int, char**)
 {
     typedef std::chrono::high_resolution_clock Clock;
     {
@@ -94,4 +94,6 @@ int main()
         assert(f.valid());
         assert(t1-t0 < ms(5));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/wait_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/wait_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/wait_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/wait_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -62,7 +62,7 @@ void func5(std::promise<void> p)
     set_worker_thread_state(WorkerThreadState::Exiting);
 }
 
-int main()
+int main(int, char**)
 {
     typedef std::chrono::high_resolution_clock Clock;
     {
@@ -128,4 +128,6 @@ int main()
         assert(f.valid());
         assert(t1-t0 < ms(5));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.state/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.state/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.state/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.state/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/assign_copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/assign_copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/assign_copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/assign_copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -17,10 +17,12 @@
 
 #include <future>
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p0, p;
         p = p0; // expected-error {{overload resolution selected deleted operator '='}}
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/assign_move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ public:
     long operator()(long i, long j) const {return data_ + i + j;}
 };
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p0(A(5));
@@ -47,4 +47,6 @@ int main()
         assert(!p0.valid());
         assert(!p.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor1.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor1.fail.cpp Mon Feb  4 12:31:13 2019
@@ -25,11 +25,13 @@ typedef std::packaged_task<A(int, char)>
 typedef volatile std::packaged_task<A(int, char)> VPT;
 
 
-int main()
+int main(int, char**)
 {
     VPT init{};
     auto const& c_init = init;
     PT p1{init}; // expected-error {{no matching constructor}}
     PT p2{c_init}; // expected-error {{no matching constructor}}
     PT p3{std::move(init)}; // expected-error {{no matching constructor for initialization of 'PT' (aka 'packaged_task<A (int, char)>')}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp Mon Feb  4 12:31:13 2019
@@ -26,8 +26,10 @@ struct A {};
 typedef std::packaged_task<A(int, char)> PT;
 typedef volatile std::packaged_task<A(int, char)> VPT;
 
-int main()
+int main(int, char**)
 {
     PT p { std::allocator_arg_t{}, test_allocator<A>{}, VPT {}}; // expected-error {{no matching constructor for initialization of 'PT' (aka 'packaged_task<A (int, char)>')}}
     // expected-note-re at future:* 1 {{candidate template ignored: {{(disabled by 'enable_if')|(requirement '.*' was not satisfied)}}}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,10 +18,12 @@
 #include <future>
 
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p0;
         std::packaged_task<double(int, char)> p(p0); // expected-error {{call to deleted constructor of 'std::packaged_task<double (int, char)>'}}
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,8 +20,10 @@
 
 struct A {};
 
-int main()
+int main(int, char**)
 {
     std::packaged_task<A(int, char)> p;
     assert(!p.valid());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_func.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_func.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_func.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_func.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,7 @@ int A::n_copies = 0;
 
 int func(int i) { return i; }
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p(A(5));
@@ -76,4 +76,6 @@ int main()
         p(4);
         assert(f.get() == 4);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_func_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_func_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_func_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_func_alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -44,7 +44,7 @@ int A::n_copies = 0;
 
 int func(int i) { return i; }
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p(std::allocator_arg,
@@ -123,4 +123,6 @@ int main()
     }
     A::n_copies = 0;
     A::n_moves  = 0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_move.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor_move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ public:
     long operator()(long i, long j) const {return data_ + i + j;}
 };
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p0(A(5));
@@ -45,4 +45,6 @@ int main()
         assert(!p0.valid());
         assert(!p.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/dtor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/dtor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,7 @@ void func2(std::packaged_task<double(int
     p(3, 'a');
 }
 
-int main()
+int main(int, char**)
 {
 #ifndef TEST_HAS_NO_EXCEPTIONS
     {
@@ -64,4 +64,6 @@ int main()
         std::thread(func2, std::move(p)).detach();
         assert(f.get() == 105.0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/get_future.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/get_future.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/get_future.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/get_future.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@ public:
     long operator()(long i, long j) const {return data_ + i + j;}
 };
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p(A(5));
@@ -65,4 +65,6 @@ int main()
         }
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/make_ready_at_thread_exit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/make_ready_at_thread_exit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/make_ready_at_thread_exit.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/make_ready_at_thread_exit.pass.cpp Mon Feb  4 12:31:13 2019
@@ -80,7 +80,7 @@ void func3(std::packaged_task<double(int
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p(A(5));
@@ -115,4 +115,6 @@ int main()
         t.join();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/operator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/operator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/operator.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/operator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -80,7 +80,7 @@ void func3(std::packaged_task<double(int
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p(A(5));
@@ -116,4 +116,6 @@ int main()
         t.join();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/reset.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/reset.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/reset.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/reset.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,7 @@ public:
     }
 };
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p(A(5));
@@ -59,4 +59,6 @@ int main()
         }
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ public:
     long operator()(long i, long j) const {return data_ + i + j;}
 };
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p0(A(5));
@@ -47,4 +47,6 @@ int main()
         assert(!p0.valid());
         assert(!p.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.nonmembers/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.nonmembers/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.nonmembers/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.nonmembers/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@ public:
     long operator()(long i, long j) const {return data_ + i + j;}
 };
 
-int main()
+int main(int, char**)
 {
     {
         std::packaged_task<double(int, char)> p0(A(5));
@@ -49,4 +49,6 @@ int main()
         assert(!p0.valid());
         assert(!p.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.nonmembers/uses_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.nonmembers/uses_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.nonmembers/uses_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.nonmembers/uses_allocator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,9 @@
 #include <future>
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::uses_allocator<std::packaged_task<double(int, char)>, test_allocator<int> >::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/copy_assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/copy_assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/copy_assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/copy_assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if TEST_STD_VER >= 11
     {
@@ -47,4 +47,6 @@ int main()
         f = f0; // expected-error {{'operator=' is a private member of 'std::__1::future<void>'}}
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/copy_ctor.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/copy_ctor.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/copy_ctor.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/copy_ctor.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if TEST_STD_VER >= 11
     {
@@ -47,4 +47,6 @@ int main()
         std::future<void> f = f0; // expected-error {{calling a private constructor of class 'std::__1::future<void>'}}
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         std::future<int> f;
@@ -31,4 +31,6 @@ int main()
         std::future<void> f;
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/dtor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/dtor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "test_allocator.h"
 
-int main()
+int main(int, char**)
 {
     assert(test_alloc_base::alloc_count == 0);
     {
@@ -66,4 +66,6 @@ int main()
         assert(f.valid());
     }
     assert(test_alloc_base::alloc_count == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/get.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/get.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/get.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/get.pass.cpp Mon Feb  4 12:31:13 2019
@@ -61,7 +61,7 @@ void func6(std::promise<void> p)
     p.set_exception(std::make_exception_ptr('c'));
 }
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -150,4 +150,6 @@ int main()
         }
 #endif
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/move_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -70,4 +70,6 @@ int main()
         assert(!f0.valid());
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -64,4 +64,6 @@ int main()
         assert(!f0.valid());
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/share.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/share.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/share.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/share.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <future>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
         typedef int T;
@@ -71,4 +71,6 @@ int main()
         assert(!f0.valid());
         assert(!f.valid());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/wait.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/wait.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/wait.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/wait.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,7 @@ void func5(std::promise<void> p)
     p.set_value();
 }
 
-int main()
+int main(int, char**)
 {
     typedef std::chrono::high_resolution_clock Clock;
     typedef std::chrono::duration<double, std::milli> ms;
@@ -85,4 +85,6 @@ int main()
         assert(f.valid());
         assert(t1-t0 < ms(5));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/wait_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/wait_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/wait_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/wait_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,7 +43,7 @@ void func5(std::promise<void> p)
     p.set_value();
 }
 
-int main()
+int main(int, char**)
 {
     typedef std::chrono::high_resolution_clock Clock;
     {
@@ -94,4 +94,6 @@ int main()
         assert(f.valid());
         assert(t1-t0 < ms(50));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/wait_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/wait_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/wait_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/wait_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -60,7 +60,7 @@ void func5(std::promise<void> p)
     set_worker_thread_state(WorkerThreadState::Exiting);
 }
 
-int main()
+int main(int, char**)
 {
     typedef std::chrono::high_resolution_clock Clock;
     {
@@ -126,4 +126,6 @@ int main()
         assert(f.valid());
         assert(t1-t0 < ms(5));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/macro.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/macro.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/macro.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/macro.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 
 #include <thread>
 
-int main()
+int main(int, char**)
 {
 #ifndef __STDCPP_THREADS__
 #error __STDCPP_THREADS__ is not defined
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/cv_status.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/cv_status.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/cv_status.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/cv_status.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <condition_variable>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(static_cast<int>(std::cv_status::no_timeout) == 0);
     assert(static_cast<int>(std::cv_status::timeout)    == 1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/notify_all_at_thread_exit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/notify_all_at_thread_exit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/notify_all_at_thread_exit.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/notify_all_at_thread_exit.pass.cpp Mon Feb  4 12:31:13 2019
@@ -36,7 +36,7 @@ void func()
     std::this_thread::sleep_for(ms(300));
 }
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<std::mutex> lk(mut);
     std::thread t(func);
@@ -45,4 +45,6 @@ int main()
     Clock::time_point t1 = Clock::now();
     assert(t1-t0 > ms(250));
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 #include <condition_variable>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::condition_variable cv0;
     std::condition_variable cv1;
     cv1 = cv0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <condition_variable>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::condition_variable cv0;
     std::condition_variable cv1(cv0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,9 @@
 #include <condition_variable>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::condition_variable cv;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/destructor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/destructor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/destructor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/destructor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,7 +43,7 @@ void g()
         cv->wait(lk);
 }
 
-int main()
+int main(int, char**)
 {
     cv = new std::condition_variable;
     std::thread th2(g);
@@ -54,4 +54,6 @@ int main()
     std::thread th1(f);
     th1.join();
     th2.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ void f2()
     test2 = 2;
 }
 
-int main()
+int main(int, char**)
 {
     std::thread t1(f1);
     std::thread t2(f2);
@@ -65,4 +65,6 @@ int main()
     t2.join();
     assert(test1 == 2);
     assert(test2 == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ void f2()
     test2 = 2;
 }
 
-int main()
+int main(int, char**)
 {
     std::thread t1(f1);
     std::thread t2(f2);
@@ -95,4 +95,6 @@ int main()
     }
     else
         assert(false);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait.pass.cpp Mon Feb  4 12:31:13 2019
@@ -36,7 +36,7 @@ void f()
     assert(test2 != 0);
 }
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<std::mutex>lk(mut);
     std::thread t(f);
@@ -48,4 +48,6 @@ int main()
     lk.unlock();
     cv.notify_one();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -59,7 +59,7 @@ void f()
     ++runs;
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::unique_lock<std::mutex>lk(mut);
@@ -85,4 +85,6 @@ int main()
         lk.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_for_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_for_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_for_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_for_pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -66,7 +66,7 @@ void f()
     ++runs;
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::unique_lock<std::mutex>lk(mut);
@@ -92,4 +92,6 @@ int main()
         lk.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ void f()
     assert(test2 != 0);
 }
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<std::mutex>lk(mut);
     std::thread t(f);
@@ -58,4 +58,6 @@ int main()
     lk.unlock();
     cv.notify_one();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -72,7 +72,7 @@ void f()
     ++runs;
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::unique_lock<std::mutex>lk(mut);
@@ -98,4 +98,6 @@ int main()
         lk.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -85,7 +85,7 @@ void f()
     ++runs;
 }
 
-int main()
+int main(int, char**)
 {
     {
         std::unique_lock<std::mutex>lk(mut);
@@ -111,4 +111,6 @@ int main()
         lk.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 #include <condition_variable>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::condition_variable_any cv0;
     std::condition_variable_any cv1;
     cv1 = cv0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <condition_variable>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::condition_variable_any cv0;
     std::condition_variable_any cv1(cv0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,9 @@
 #include <condition_variable>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::condition_variable_any cv;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -44,7 +44,7 @@ void g()
     m.unlock();
 }
 
-int main()
+int main(int, char**)
 {
     cv = new std::condition_variable_any;
     std::thread th2(g);
@@ -55,4 +55,6 @@ int main()
     std::thread th1(f);
     th1.join();
     th2.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/notify_all.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/notify_all.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/notify_all.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/notify_all.pass.cpp Mon Feb  4 12:31:13 2019
@@ -50,7 +50,7 @@ void f2()
     test2 = 2;
 }
 
-int main()
+int main(int, char**)
 {
     std::thread t1(f1);
     std::thread t2(f2);
@@ -69,4 +69,6 @@ int main()
     t2.join();
     assert(test1 == 2);
     assert(test2 == 2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp Mon Feb  4 12:31:13 2019
@@ -52,7 +52,7 @@ void f2()
     test2 = 2;
 }
 
-int main()
+int main(int, char**)
 {
     std::thread t1(f1);
     std::thread t2(f2);
@@ -96,4 +96,6 @@ int main()
     }
     else
         assert(false);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,7 +41,7 @@ void f()
     assert(test2 != 0);
 }
 
-int main()
+int main(int, char**)
 {
     L1 lk(m0);
     std::thread t(f);
@@ -53,4 +53,6 @@ int main()
     lk.unlock();
     cv.notify_one();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -62,7 +62,7 @@ void f()
     ++runs;
 }
 
-int main()
+int main(int, char**)
 {
     {
         L1 lk(m0);
@@ -88,4 +88,6 @@ int main()
         lk.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -70,7 +70,7 @@ void f()
     ++runs;
 }
 
-int main()
+int main(int, char**)
 {
     {
         expect_result = true;
@@ -98,4 +98,6 @@ int main()
         lk.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -50,7 +50,7 @@ void f()
     assert(test2 != 0);
 }
 
-int main()
+int main(int, char**)
 {
     L1 lk(m0);
     std::thread t(f);
@@ -62,4 +62,6 @@ int main()
     lk.unlock();
     cv.notify_one();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_terminates.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_terminates.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_terminates.sh.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_terminates.sh.cpp Mon Feb  4 12:31:13 2019
@@ -109,7 +109,7 @@ void signal_me() {
 typedef std::chrono::system_clock Clock;
 typedef std::chrono::milliseconds MS;
 
-int main(int argc, char** argv) {
+int main(int argc, char **argv) {
   assert(argc == 2);
   int id = std::stoi(argv[1]);
   assert(id >= 1 && id <= 6);
@@ -130,4 +130,6 @@ int main(int argc, char** argv) {
     }
   } catch (...) {}
   assert(false);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -75,7 +75,7 @@ void f()
     ++runs;
 }
 
-int main()
+int main(int, char**)
 {
     {
         L1 lk(m0);
@@ -101,4 +101,6 @@ int main()
         lk.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -89,7 +89,7 @@ void f()
     ++runs;
 }
 
-int main()
+int main(int, char**)
 {
     {
         L1 lk(m0);
@@ -115,4 +115,6 @@ int main()
         lk.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.general/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -92,7 +92,7 @@ public:
     bool locked() const {return locked_;}
 };
 
-int main()
+int main(int, char**)
 {
     {
         L0 l0;
@@ -518,4 +518,6 @@ int main()
     }
 #endif  // TEST_HAS_NO_EXCEPTIONS
 #endif // TEST_STD_VER >= 11
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -72,7 +72,7 @@ public:
     bool locked() const {return locked_;}
 };
 
-int main()
+int main(int, char**)
 {
     {
         L0 l0;
@@ -522,4 +522,6 @@ int main()
         assert(!l3.locked());
     }
 #endif  // TEST_STD_VER >= 11
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/adopt_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/adopt_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/adopt_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/adopt_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,11 +42,13 @@ void f()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,11 +14,13 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::mutex m0;
     std::mutex m1;
     std::lock_guard<std::mutex> lg0(m0);
     std::lock_guard<std::mutex> lg(m1);
     lg = lg0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::mutex m;
     std::lock_guard<std::mutex> lg0(m);
     std::lock_guard<std::mutex> lg(lg0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.fail.cpp Mon Feb  4 12:31:13 2019
@@ -16,8 +16,10 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::mutex m;
     std::lock_guard<std::mutex> lg = m; // expected-error{{no viable conversion}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
@@ -58,4 +58,6 @@ int main()
     std::lock_guard lg(m);
     static_assert((std::is_same<decltype(lg), std::lock_guard<decltype(m)>>::value), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/types.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,8 +21,10 @@
 #include <mutex>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::lock_guard<std::mutex>::mutex_type,
                    std::mutex>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/adopt_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/adopt_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/adopt_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/adopt_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ struct TestMutex {
     TestMutex& operator=(TestMutex const&) = delete;
 };
 
-int main()
+int main(int, char**)
 {
     {
         using LG = std::scoped_lock<>;
@@ -68,4 +68,6 @@ int main()
         assert(!m1.locked && !m2.locked && !m3.locked);
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <mutex>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     using M = std::mutex;
     M m0, m1, m2;
@@ -46,4 +46,6 @@ int main()
         LG lg2(om0, om1, om2);
         lg1 = lg2; // expected-error{{overload resolution selected deleted operator '='}}
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <mutex>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     using M = std::mutex;
     M m0, m1, m2;
@@ -42,4 +42,6 @@ int main()
         const LG Orig(m0, m1, m2);
         LG Copy(Orig); // expected-error{{call to deleted constructor of 'LG'}}
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.fail.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 template <class LG>
 void test_conversion(LG) {}
 
-int main()
+int main(int, char**)
 {
     using M = std::mutex;
     M m0, m1, m2;
@@ -49,4 +49,6 @@ int main()
         LG lg = {m0, m1, m2}; // expected-error{{chosen constructor is explicit in copy-initialization}}
         test_conversion<LG>({n0, n1, n2}); // expected-error{{no matching function for call}}
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp Mon Feb  4 12:31:13 2019
@@ -61,7 +61,7 @@ struct TestMutexThrows {
 };
 #endif // !defined(TEST_HAS_NO_EXCEPTIONS)
 
-int main()
+int main(int, char**)
 {
     {
         using LG = std::scoped_lock<>;
@@ -151,4 +151,6 @@ int main()
         }
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/types.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -36,7 +36,7 @@ constexpr bool has_mutex_type() {
     return !std::is_same<decltype(test_typedef<LG>(0)), NAT>::value;
 }
 
-int main()
+int main(int, char**)
 {
     {
         using T = std::scoped_lock<>;
@@ -74,4 +74,6 @@ int main()
         using T = std::scoped_lock<M1, M1, M1>;
         static_assert(!has_mutex_type<T>(), "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/copy_assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/copy_assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/copy_assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/copy_assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,9 +18,11 @@
 std::shared_timed_mutex m0;
 std::shared_timed_mutex m1;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<std::shared_timed_mutex> lk0(m0);
     std::shared_lock<std::shared_timed_mutex> lk1(m1);
     lk1 = lk0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/copy_ctor.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/copy_ctor.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/copy_ctor.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/copy_ctor.fail.cpp Mon Feb  4 12:31:13 2019
@@ -17,8 +17,10 @@
 
 std::shared_timed_mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<std::shared_timed_mutex> lk0(m);
     std::shared_lock<std::shared_timed_mutex> lk = lk0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,9 +18,11 @@
 #include <shared_mutex>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<std::shared_timed_mutex> ul;
     assert(!ul.owns_lock());
     assert(ul.mutex() == nullptr);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include "nasty_containers.hpp"
 
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::shared_timed_mutex M;
@@ -46,4 +46,6 @@ int main()
     assert(lk0.mutex() == nullptr);
     assert(lk0.owns_lock() == false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <cassert>
 #include "nasty_containers.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::shared_timed_mutex M;
@@ -41,4 +41,6 @@ int main()
     assert(lk0.mutex() == nullptr);
     assert(lk0.owns_lock() == false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex.pass.cpp Mon Feb  4 12:31:13 2019
@@ -71,7 +71,7 @@ void g()
     assert(d < Tolerance);  // within tolerance
 }
 
-int main()
+int main(int, char**)
 {
     std::vector<std::thread> v;
     {
@@ -99,4 +99,6 @@ int main()
     std::shared_lock sl(m);
     static_assert((std::is_same<decltype(sl), std::shared_lock<decltype(m)>>::value), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_adopt_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_adopt_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_adopt_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_adopt_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <cassert>
 #include "nasty_containers.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::shared_timed_mutex M;
@@ -37,4 +37,6 @@ int main()
     assert(lk.mutex() == std::addressof(m));
     assert(lk.owns_lock() == true);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_defer_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_defer_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_defer_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_defer_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 #include <cassert>
 #include "nasty_containers.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::shared_timed_mutex M;
@@ -35,4 +35,6 @@ int main()
     assert(lk.mutex() == std::addressof(m));
     assert(lk.owns_lock() == false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_duration.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_duration.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_duration.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_duration.pass.cpp Mon Feb  4 12:31:13 2019
@@ -66,7 +66,7 @@ void f2()
     assert(d < Tolerance);  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -88,4 +88,6 @@ int main()
         for (auto& t : v)
             t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_time_point.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_time_point.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_time_point.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_time_point.pass.cpp Mon Feb  4 12:31:13 2019
@@ -65,7 +65,7 @@ void f2()
     assert(d < Tolerance);  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -87,4 +87,6 @@ int main()
         for (auto& t : v)
             t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_try_to_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_try_to_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_try_to_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_try_to_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -57,7 +57,7 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::vector<std::thread> v;
@@ -67,4 +67,6 @@ int main()
     m.unlock();
     for (auto& t : v)
         t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -80,7 +80,7 @@ void f()
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::vector<std::thread> v;
@@ -90,4 +90,6 @@ int main()
     m.unlock();
     for (auto& t : v)
         t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -34,7 +34,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<mutex> lk(m, std::defer_lock);
     assert(lk.try_lock() == true);
@@ -67,4 +67,6 @@ int main()
         assert(e.code().value() == EPERM);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<mutex> lk(m, std::defer_lock);
     assert(lk.try_lock_for(ms(5)) == true);
@@ -72,4 +72,6 @@ int main()
         assert(e.code().value() == EPERM);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -38,7 +38,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     typedef std::chrono::steady_clock Clock;
     std::shared_lock<mutex> lk(m, std::defer_lock);
@@ -72,4 +72,6 @@ int main()
         assert(e.code().value() == EPERM);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/unlock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/unlock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/unlock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/unlock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<mutex> lk(m);
     lk.unlock();
@@ -59,4 +59,6 @@ int main()
         assert(e.code().value() == EPERM);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/member_swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<mutex> lk1(m);
     std::shared_lock<mutex> lk2;
@@ -36,4 +36,6 @@ int main()
     assert(lk2.mutex() == &m);
     assert(lk2.owns_lock() == true);
     static_assert(noexcept(lk1.swap(lk2)), "member swap must be noexcept");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/nonmember_swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<mutex> lk1(m);
     std::shared_lock<mutex> lk2;
@@ -37,4 +37,6 @@ int main()
     assert(lk2.mutex() == &m);
     assert(lk2.owns_lock() == true);
     static_assert(noexcept(swap(lk1, lk2)), "non-member swap must be noexcept");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/release.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/release.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/release.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/release.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ int mutex::unlock_count = 0;
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<mutex> lk(m);
     assert(lk.mutex() == &m);
@@ -44,4 +44,6 @@ int main()
     assert(mutex::lock_count == 1);
     assert(mutex::unlock_count == 0);
     static_assert(noexcept(lk.release()), "release must be noexcept");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/mutex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/mutex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/mutex.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/mutex.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 std::shared_timed_mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<std::shared_timed_mutex> lk0;
     assert(lk0.mutex() == nullptr);
@@ -29,4 +29,6 @@ int main()
     lk1.unlock();
     assert(lk1.mutex() == &m);
     static_assert(noexcept(lk0.mutex()), "mutex() must be noexcept");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/op_bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/op_bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/op_bool.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/op_bool.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 std::shared_timed_mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<std::shared_timed_mutex> lk0;
     assert(static_cast<bool>(lk0) == false);
@@ -29,4 +29,6 @@ int main()
     lk1.unlock();
     assert(static_cast<bool>(lk1) == false);
     static_assert(noexcept(static_cast<bool>(lk0)), "explicit operator bool() must be noexcept");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/owns_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/owns_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/owns_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/owns_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 std::shared_timed_mutex m;
 
-int main()
+int main(int, char**)
 {
     std::shared_lock<std::shared_timed_mutex> lk0;
     assert(lk0.owns_lock() == false);
@@ -29,4 +29,6 @@ int main()
     lk1.unlock();
     assert(lk1.owns_lock() == false);
     static_assert(noexcept(lk0.owns_lock()), "owns_lock must be noexcept");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/types.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -23,8 +23,10 @@
 #include <shared_mutex>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::shared_lock<std::mutex>::mutex_type,
                    std::mutex>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <mutex>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::mutex M;
@@ -29,4 +29,6 @@ int main()
     assert(lk0.mutex() == nullptr);
     assert(lk0.owns_lock() == false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_ctor.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_ctor.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_ctor.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_ctor.fail.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <mutex>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::mutex M;
@@ -27,4 +27,6 @@ int main()
     assert(lk0.mutex() == nullptr);
     assert(lk0.owns_lock() == false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,9 +17,11 @@
 #include <mutex>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<std::mutex> ul;
     assert(!ul.owns_lock());
     assert(ul.mutex() == nullptr);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cassert>
 #include "nasty_containers.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::mutex M;
@@ -44,4 +44,6 @@ int main()
     assert(lk0.mutex() == nullptr);
     assert(lk0.owns_lock() == false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cassert>
 #include "nasty_containers.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::mutex M;
@@ -40,4 +40,6 @@ int main()
     assert(lk0.mutex() == nullptr);
     assert(lk0.owns_lock() == false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ void f()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
@@ -58,4 +58,6 @@ int main()
     std::unique_lock ul(m);
     static_assert((std::is_same<decltype(ul), std::unique_lock<decltype(m)>>::value), "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cassert>
 #include "nasty_containers.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::mutex M;
@@ -36,4 +36,6 @@ int main()
     assert(lk.mutex() == std::addressof(m));
     assert(lk.owns_lock() == true);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cassert>
 #include "nasty_containers.hpp"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::mutex M;
@@ -34,4 +34,6 @@ int main()
     assert(lk.mutex() == std::addressof(m));
     assert(lk.owns_lock() == false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_duration.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_duration.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_duration.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_duration.pass.cpp Mon Feb  4 12:31:13 2019
@@ -50,7 +50,7 @@ void f2()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -66,4 +66,6 @@ int main()
         m.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_time_point.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_time_point.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_time_point.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_time_point.pass.cpp Mon Feb  4 12:31:13 2019
@@ -50,7 +50,7 @@ void f2()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -66,4 +66,6 @@ int main()
         m.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -53,11 +53,13 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -66,11 +66,13 @@ void f()
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<mutex> lk(m, std::defer_lock);
     assert(lk.try_lock() == true);
@@ -66,4 +66,6 @@ int main()
         assert(e.code().value() == EPERM);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -38,7 +38,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<mutex> lk(m, std::defer_lock);
     assert(lk.try_lock_for(ms(5)) == true);
@@ -71,4 +71,6 @@ int main()
         assert(e.code().value() == EPERM);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -37,7 +37,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     typedef std::chrono::steady_clock Clock;
     std::unique_lock<mutex> lk(m, std::defer_lock);
@@ -71,4 +71,6 @@ int main()
         assert(e.code().value() == EPERM);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/unlock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/unlock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/unlock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/unlock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<mutex> lk(m);
     lk.unlock();
@@ -58,4 +58,6 @@ int main()
         assert(e.code().value() == EPERM);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/member_swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<mutex> lk1(m);
     std::unique_lock<mutex> lk2;
@@ -34,4 +34,6 @@ int main()
     assert(lk1.owns_lock() == false);
     assert(lk2.mutex() == &m);
     assert(lk2.owns_lock() == true);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/nonmember_swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,7 +26,7 @@ struct mutex
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<mutex> lk1(m);
     std::unique_lock<mutex> lk2;
@@ -35,4 +35,6 @@ int main()
     assert(lk1.owns_lock() == false);
     assert(lk2.mutex() == &m);
     assert(lk2.owns_lock() == true);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/release.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/release.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/release.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/release.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@ int mutex::unlock_count = 0;
 
 mutex m;
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<mutex> lk(m);
     assert(lk.mutex() == &m);
@@ -42,4 +42,6 @@ int main()
     assert(lk.owns_lock() == false);
     assert(mutex::lock_count == 1);
     assert(mutex::unlock_count == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/mutex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/mutex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/mutex.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/mutex.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 
 std::mutex m;
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<std::mutex> lk0;
     assert(lk0.mutex() == nullptr);
@@ -27,4 +27,6 @@ int main()
     assert(lk1.mutex() == &m);
     lk1.unlock();
     assert(lk1.mutex() == &m);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/op_bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/op_bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/op_bool.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/op_bool.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 
 std::mutex m;
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<std::mutex> lk0;
     assert(static_cast<bool>(lk0) == false);
@@ -27,4 +27,6 @@ int main()
     assert(static_cast<bool>(lk1) == true);
     lk1.unlock();
     assert(static_cast<bool>(lk1) == false);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/owns_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/owns_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/owns_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/owns_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,7 @@
 
 std::mutex m;
 
-int main()
+int main(int, char**)
 {
     std::unique_lock<std::mutex> lk0;
     assert(lk0.owns_lock() == false);
@@ -27,4 +27,6 @@ int main()
     assert(lk1.owns_lock() == true);
     lk1.unlock();
     assert(lk1.owns_lock() == false);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,8 +21,10 @@
 #include <mutex>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::unique_lock<std::mutex>::mutex_type,
                    std::mutex>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/types.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include <mutex>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     typedef std::defer_lock_t T1;
     typedef std::try_to_lock_t T2;
@@ -30,4 +30,6 @@ int main()
     T1 t1 = std::defer_lock; ((void)t1);
     T2 t2 = std::try_to_lock; ((void)t2);
     T3 t3 = std::adopt_lock; ((void)t3);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.general/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::mutex m0;
     std::mutex m1;
     m1 = m0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,8 +14,10 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::mutex m0;
     std::mutex m1(m0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,8 +17,10 @@
 #include <mutex>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     static_assert(std::is_nothrow_default_constructible<std::mutex>::value, "");
     std::mutex m;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,11 +41,13 @@ void f()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,11 +41,13 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::recursive_mutex m0;
     std::recursive_mutex m1;
     m1 = m0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,8 +14,10 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::recursive_mutex m0;
     std::recursive_mutex m1(m0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,9 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::recursive_mutex m;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,11 +41,13 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/try_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/try_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,11 +43,13 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -17,9 +17,11 @@
 
 #include <shared_mutex>
 
-int main()
+int main(int, char**)
 {
     std::shared_mutex m0;
     std::shared_mutex m1;
     m1 = m0; // expected-error {{overload resolution selected deleted operator '='}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -17,8 +17,10 @@
 
 #include <shared_mutex>
 
-int main()
+int main(int, char**)
 {
     std::shared_mutex m0;
     std::shared_mutex m1(m0); // expected-error {{call to deleted constructor of 'std::shared_mutex'}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,9 @@
 
 #include <shared_mutex>
 
-int main()
+int main(int, char**)
 {
     std::shared_mutex m;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -53,11 +53,13 @@ void f()
     assert(d < Tolerance);  // within tolerance
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(WaitTime);
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock_shared.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock_shared.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock_shared.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock_shared.pass.cpp Mon Feb  4 12:31:13 2019
@@ -65,7 +65,7 @@ void g()
 }
 
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::vector<std::thread> v;
@@ -84,4 +84,6 @@ int main()
     for (auto& t : v)
         t.join();
     q.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,11 +42,13 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock_shared.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock_shared.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock_shared.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock_shared.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ void f()
 }
 
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::vector<std::thread> v;
@@ -56,4 +56,6 @@ int main()
     m.unlock();
     for (auto& t : v)
         t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 
 #include <shared_mutex>
 
-int main()
+int main(int, char**)
 {
     std::shared_timed_mutex m0;
     std::shared_timed_mutex m1;
     m1 = m0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 
 #include <shared_mutex>
 
-int main()
+int main(int, char**)
 {
     std::shared_timed_mutex m0;
     std::shared_timed_mutex m1(m0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,9 @@
 
 #include <shared_mutex>
 
-int main()
+int main(int, char**)
 {
     std::shared_timed_mutex m;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -55,11 +55,13 @@ void f()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock_shared.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock_shared.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock_shared.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock_shared.pass.cpp Mon Feb  4 12:31:13 2019
@@ -67,7 +67,7 @@ void g()
 }
 
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::vector<std::thread> v;
@@ -86,4 +86,6 @@ int main()
     for (auto& t : v)
         t.join();
     q.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,11 +42,13 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -64,7 +64,7 @@ void f2()
     assert(d < Tolerance);  // within tolerance
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -80,4 +80,6 @@ int main()
         m.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared.pass.cpp Mon Feb  4 12:31:13 2019
@@ -54,7 +54,7 @@ void f()
     assert(d < Tolerance);  // within tolerance
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::vector<std::thread> v;
@@ -64,4 +64,6 @@ int main()
     m.unlock();
     for (auto& t : v)
         t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -64,7 +64,7 @@ void f2()
     assert(d < Tolerance);  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -86,4 +86,6 @@ int main()
         for (auto& t : v)
             t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -64,7 +64,7 @@ void f2()
     assert(d < Tolerance);  // within tolerance
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -86,4 +86,6 @@ int main()
         for (auto& t : v)
             t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -64,7 +64,7 @@ void f2()
     assert(d < Tolerance);  // within tolerance
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -80,4 +80,6 @@ int main()
         m.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until_deadlock_bug.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until_deadlock_bug.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until_deadlock_bug.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until_deadlock_bug.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ void blocked_reader() {
   m.unlock_shared();
 }
 
-int main()
+int main(int, char**)
 {
   typedef std::chrono::steady_clock Clock;
 
@@ -66,4 +66,6 @@ int main()
   t1.join();
   t2.join();
   t3.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::timed_mutex m0;
     std::timed_mutex m1;
     m1 = m0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,8 +14,10 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::timed_mutex m0;
     std::timed_mutex m1(m0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,9 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::timed_mutex m;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,11 +39,13 @@ void f()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,11 +41,13 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ void f2()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -63,4 +63,6 @@ int main()
         m.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ void f2()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -63,4 +63,6 @@ int main()
         m.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::recursive_timed_mutex m0;
     std::recursive_timed_mutex m1;
     m1 = m0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,8 +14,10 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::recursive_timed_mutex m0;
     std::recursive_timed_mutex m1(m0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,9 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::recursive_timed_mutex m;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,11 +43,13 @@ void f()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock.pass.cpp Mon Feb  4 12:31:13 2019
@@ -43,11 +43,13 @@ void f()
     assert(d < ms(200));  // within 200ms
 }
 
-int main()
+int main(int, char**)
 {
     m.lock();
     std::thread t(f);
     std::this_thread::sleep_for(ms(250));
     m.unlock();
     t.join();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_for.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_for.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_for.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_for.pass.cpp Mon Feb  4 12:31:13 2019
@@ -49,7 +49,7 @@ void f2()
     assert(d < ns(50000000));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -65,4 +65,6 @@ int main()
         m.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -49,7 +49,7 @@ void f2()
     assert(d < ms(50));  // within 50ms
 }
 
-int main()
+int main(int, char**)
 {
     {
         m.lock();
@@ -65,4 +65,6 @@ int main()
         m.unlock();
         t.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.once/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.once/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.once/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.once/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp Mon Feb  4 12:31:13 2019
@@ -186,7 +186,7 @@ struct RefQual
 
 #endif // TEST_STD_VER >= 11
 
-int main()
+int main(int, char**)
 {
     // check basic functionality
     {
@@ -253,4 +253,6 @@ int main()
         assert(rq.rv_called == 1);
     }
 #endif  // TEST_STD_VER >= 11
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/race.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/race.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/race.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/race.pass.cpp Mon Feb  4 12:31:13 2019
@@ -37,11 +37,13 @@ void f0()
     assert(global == 1);
 }
 
-int main()
+int main(int, char**)
 {
     std::thread t0(f0);
     std::thread t1(f0);
     t0.join();
     t1.join();
     assert(global == 1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/assign.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/assign.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,9 +14,11 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::once_flag f;
     std::once_flag f2;
     f2 = f;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -14,8 +14,10 @@
 
 #include <mutex>
 
-int main()
+int main(int, char**)
 {
     std::once_flag f;
     std::once_flag f2(f);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <mutex>
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     std::once_flag f;
@@ -27,4 +27,6 @@ int main()
     (void)f;
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/thread.req.exception/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/thread.req.exception/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/thread.req.exception/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/thread.req.exception/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.basic/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.basic/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.basic/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.basic/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.general/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.req/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.req/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.req/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.req/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.timed/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.timed/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.timed/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/thread.req.lockable/thread.req.lockable.timed/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/thread.req.native/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/thread.req.native/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/thread.req.native/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/thread.req.native/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/thread.req.paramname/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/thread.req.paramname/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/thread.req.paramname/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/thread.req.paramname/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.req/thread.req.timing/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.req/thread.req.timing/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.req/thread.req.timing/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.req/thread.req.timing/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.algorithm/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.algorithm/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.algorithm/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.algorithm/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,7 +41,7 @@ public:
 int G::n_alive = 0;
 bool G::op_run = false;
 
-int main()
+int main(int, char**)
 {
     {
         G g;
@@ -54,4 +54,6 @@ int main()
         assert(t1.get_id() == id0);
         t1.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -40,11 +40,13 @@ public:
 int G::n_alive = 0;
 bool G::op_run = false;
 
-int main()
+int main(int, char**)
 {
     {
         std::thread t0(G());
         std::thread t1;
         t1 = t0;
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,7 +41,7 @@ public:
 int G::n_alive = 0;
 bool G::op_run = false;
 
-int main()
+int main(int, char**)
 {
     {
         assert(G::n_alive == 0);
@@ -59,4 +59,6 @@ int main()
         assert(G::n_alive == 0);
         assert(G::op_run);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move2.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -51,7 +51,7 @@ void f1()
     std::_Exit(0);
 }
 
-int main()
+int main(int, char**)
 {
     std::set_terminate(f1);
     {
@@ -61,4 +61,6 @@ int main()
         t0 = std::move(t1);
         assert(false);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp Mon Feb  4 12:31:13 2019
@@ -144,7 +144,7 @@ void test_throwing_new_during_thread_cre
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     test_throwing_new_during_thread_creation();
     {
@@ -200,4 +200,6 @@ int main()
         t.join();
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/constr.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/constr.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/constr.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/constr.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,8 +18,10 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     volatile std::thread t1;
     std::thread t2 ( t1, 1, 2.0 );
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/copy.fail.cpp Mon Feb  4 12:31:13 2019
@@ -48,7 +48,7 @@ public:
 int G::n_alive = 0;
 bool G::op_run = false;
 
-int main()
+int main(int, char**)
 {
     {
         assert(G::n_alive == 0);
@@ -62,4 +62,6 @@ int main()
         assert(G::n_alive == 0);
         assert(G::op_run);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,8 +17,10 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::thread t;
     assert(t.get_id() == std::thread::id());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -50,7 +50,7 @@ public:
 int G::n_alive = 0;
 bool G::op_run = false;
 
-int main()
+int main(int, char**)
 {
     {
         G g;
@@ -66,4 +66,6 @@ int main()
         assert(G::op_run);
     }
     assert(G::n_alive == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ void f1()
     std::_Exit(0);
 }
 
-int main()
+int main(int, char**)
 {
     std::set_terminate(f1);
     {
@@ -60,4 +60,6 @@ int main()
         }
     }
     assert(false);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::thread::id id0;
     std::thread::id id1;
@@ -25,4 +25,6 @@ int main()
     assert(id1 == id0);
     id1 = std::this_thread::get_id();
     assert(id1 != id0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,9 +17,11 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::thread::id id0;
     std::thread::id id1 = id0;
     assert(id1 == id0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/default.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,8 +17,10 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::thread::id id;
     assert(id == std::thread::id());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/enabled_hashes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/enabled_hashes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/enabled_hashes.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/enabled_hashes.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,9 +18,11 @@
 
 #include "poisoned_hash_helper.hpp"
 
-int main() {
+int main(int, char**) {
   test_library_hash_specializations_available();
   {
     test_hash_enabled_for_type<std::thread::id>();
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::thread::id id0;
     std::thread::id id1;
@@ -28,4 +28,6 @@ int main()
     id1 = std::this_thread::get_id();
     assert(!(id1 == id0));
     assert( (id1 != id0));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/lt.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::thread::id id0;
     std::thread::id id1;
@@ -39,4 +39,6 @@ int main()
       assert( (id0 >  id2));
       assert( (id0 >= id2));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/stream.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/stream.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/stream.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/stream.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,9 +20,11 @@
 #include <sstream>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::thread::id id0 = std::this_thread::get_id();
     std::ostringstream os;
     os << id0;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/thread_id.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/thread_id.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/thread_id.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/thread_id.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     std::thread::id id1;
     std::thread::id id2 = std::this_thread::get_id();
@@ -34,4 +34,6 @@ int main()
     ASSERT_NOEXCEPT(H()(id2));
     H h;
     assert(h(id1) != h(id2));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp Mon Feb  4 12:31:13 2019
@@ -61,7 +61,7 @@ bool G::op_run = false;
 
 void foo() {}
 
-int main()
+int main(int, char**)
 {
     {
         G g;
@@ -86,4 +86,6 @@ int main()
         }
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/get_id.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/get_id.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/get_id.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/get_id.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,7 +41,7 @@ public:
 int G::n_alive = 0;
 bool G::op_run = false;
 
-int main()
+int main(int, char**)
 {
     {
         G g;
@@ -54,4 +54,6 @@ int main()
         assert(t1.get_id() == std::thread::id());
         t0.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/join.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/join.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/join.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/join.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ bool G::op_run = false;
 
 void foo() {}
 
-int main()
+int main(int, char**)
 {
     {
         G g;
@@ -73,4 +73,6 @@ int main()
         }
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/joinable.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/joinable.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/joinable.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/joinable.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,7 +41,7 @@ public:
 int G::n_alive = 0;
 bool G::op_run = false;
 
-int main()
+int main(int, char**)
 {
     {
         G g;
@@ -50,4 +50,6 @@ int main()
         t0.join();
         assert(!t0.joinable());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,7 +41,7 @@ public:
 int G::n_alive = 0;
 bool G::op_run = false;
 
-int main()
+int main(int, char**)
 {
     {
         G g;
@@ -54,4 +54,6 @@ int main()
         assert(t1.get_id() == id0);
         t1.join();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.static/hardware_concurrency.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.static/hardware_concurrency.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.static/hardware_concurrency.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.static/hardware_concurrency.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,9 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     assert(std::thread::hardware_concurrency() > 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/get_id.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/get_id.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/get_id.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/get_id.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::thread::id id = std::this_thread::get_id();
     assert(id != std::thread::id());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,6 +16,8 @@
 // is therefore non-standard. For this reason the test lives under the 'libcxx'
 // subdirectory.
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cstdlib>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     typedef std::chrono::system_clock Clock;
     typedef Clock::time_point time_point;
@@ -30,4 +30,6 @@ int main()
     std::chrono::nanoseconds err = 5 * ms / 100;
     // The time slept is within 5% of 500ms
     assert(std::abs(ns.count()) < err.count());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,9 @@
 #include <thread>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::this_thread::yield();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/allocs.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/allocs.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/allocs.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/allocs.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -113,4 +113,6 @@ int main()
              std::scoped_allocator_adaptor<A1<int>>,
              std::scoped_allocator_adaptor<A2<int>>>::value, "");
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/converting_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/converting_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/converting_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/converting_copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<double>> B;
@@ -64,4 +64,6 @@ int main()
         assert(a2 == a1);
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/converting_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/converting_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/converting_move.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/converting_move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<double>> B;
@@ -69,4 +69,6 @@ int main()
         assert(A3<int>::move_called == true);
         assert(a2 == a1);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -64,4 +64,6 @@ int main()
         assert(A3<int>::move_called == false);
         assert(a2 == a1);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/default.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -53,4 +53,6 @@ int main()
         assert(A3<int>::move_called == false);
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size.fail.cpp Mon Feb  4 12:31:13 2019
@@ -21,8 +21,10 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     std::scoped_allocator_adaptor<A1<int>> a;
     a.allocate(10);  // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -44,4 +44,6 @@ int main()
         assert(A1<int>::allocate_called == true);
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size_hint.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size_hint.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size_hint.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size_hint.fail.cpp Mon Feb  4 12:31:13 2019
@@ -21,8 +21,10 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     std::scoped_allocator_adaptor<A1<int>> a;
     a.allocate(10, (const void*)0); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/allocate_size_hint.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -65,4 +65,6 @@ int main()
         assert(a.allocate(10, (const void*)20) == (int*)20);
         assert(A2<int>::allocate_called == true);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp Mon Feb  4 12:31:13 2019
@@ -110,7 +110,7 @@ struct F
 
 bool F::constructed = false;
 
-int main()
+int main(int, char**)
 {
 
     {
@@ -184,4 +184,6 @@ int main()
         assert(A3<F>::constructed);
         s->~S();
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair.pass.cpp Mon Feb  4 12:31:13 2019
@@ -135,7 +135,9 @@ void test_with_inner_alloc()
         std::free(ptr);
     }
 }
-int main() {
+int main(int, char**) {
     test_no_inner_alloc();
     test_with_inner_alloc();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_const_lvalue_pair.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_const_lvalue_pair.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_const_lvalue_pair.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_const_lvalue_pair.pass.cpp Mon Feb  4 12:31:13 2019
@@ -151,7 +151,9 @@ void test_with_inner_alloc()
         std::free(ptr);
     }
 }
-int main() {
+int main(int, char**) {
     test_no_inner_alloc();
     test_with_inner_alloc();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_piecewise.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_piecewise.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_piecewise.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_piecewise.pass.cpp Mon Feb  4 12:31:13 2019
@@ -152,7 +152,9 @@ void test_with_inner_alloc()
         std::free(ptr);
     }
 }
-int main() {
+int main(int, char**) {
     test_no_inner_alloc();
     test_with_inner_alloc();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_rvalue.pass.cpp Mon Feb  4 12:31:13 2019
@@ -151,7 +151,9 @@ void test_with_inner_alloc()
         std::free(ptr);
     }
 }
-int main() {
+int main(int, char**) {
     test_no_inner_alloc();
     test_with_inner_alloc();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_values.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_values.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_values.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_values.pass.cpp Mon Feb  4 12:31:13 2019
@@ -143,7 +143,9 @@ void test_with_inner_alloc()
         std::free(ptr);
     }
 }
-int main() {
+int main(int, char**) {
     test_no_inner_alloc();
     test_with_inner_alloc();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_type.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -125,8 +125,10 @@ void test_bullet_three() {
     POuter.reset();
 }
 
-int main() {
+int main(int, char**) {
     test_bullet_one();
     test_bullet_two();
     test_bullet_three();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/deallocate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/deallocate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/deallocate.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/deallocate.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
 
     {
@@ -42,4 +42,6 @@ int main()
         assert((A1<int>::deallocate_called == std::pair<int*, std::size_t>((int*)10, 20)));
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/destroy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/destroy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/destroy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/destroy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,7 +31,7 @@ struct B
 
 bool B::constructed = false;
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<B>> A;
@@ -65,4 +65,6 @@ int main()
         assert(A3<S>::destroy_called);
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/inner_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/inner_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/inner_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/inner_allocator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -40,4 +40,6 @@ int main()
             std::scoped_allocator_adaptor<A2<int>, A3<int>>(A2<int>(6), A3<int>(8))));
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/max_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -38,4 +38,6 @@ int main()
         assert(a.max_size() == 200);
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/outer_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/outer_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/outer_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/outer_allocator.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
 
     {
@@ -39,4 +39,6 @@ int main()
         A a(A1<int>(5), A2<int>(6), A3<int>(8));
         assert(a.outer_allocator() == A1<int>(5));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/select_on_container_copy_construction.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/select_on_container_copy_construction.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/select_on_container_copy_construction.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.members/select_on_container_copy_construction.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -50,4 +50,6 @@ int main()
         assert(a2.inner_allocator().inner_allocator().outer_allocator().id() == -1);
     }
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/allocator_pointers.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/allocator_pointers.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/allocator_pointers.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/allocator_pointers.pass.cpp Mon Feb  4 12:31:13 2019
@@ -109,7 +109,7 @@ void test_void_pointer()
 
 struct Foo { int x; };
 
-int main()
+int main(int, char**)
 {
     test_pointer<std::scoped_allocator_adaptor<std::allocator<char>>> ();
     test_pointer<std::scoped_allocator_adaptor<std::allocator<int>>> ();
@@ -118,7 +118,9 @@ int main()
     test_void_pointer<std::scoped_allocator_adaptor<std::allocator<char>>> ();
     test_void_pointer<std::scoped_allocator_adaptor<std::allocator<int>>> ();
     test_void_pointer<std::scoped_allocator_adaptor<std::allocator<Foo>>> ();
+
+  return 0;
 }
 #else
-int main() {}
+int main(int, char**) { return 0; }
 #endif

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/inner_allocator_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/inner_allocator_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/inner_allocator_type.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/inner_allocator_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<
         std::scoped_allocator_adaptor<A1<int>>::inner_allocator_type,
@@ -33,4 +33,6 @@ int main()
     static_assert((std::is_same<
         std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>>::inner_allocator_type,
         std::scoped_allocator_adaptor<A2<int>, A3<int>>>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/is_always_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/is_always_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/is_always_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/is_always_equal.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 #include "allocators.h"
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     // sanity checks
     static_assert( (std::is_same<
@@ -68,4 +68,6 @@ int main()
               std::allocator_traits<A2<int>>::is_always_equal::value &&
               std::allocator_traits<A3<int>>::is_always_equal::value)
         ), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_copy_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_copy_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_copy_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_copy_assignment.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<
         std::scoped_allocator_adaptor<A1<int>>::propagate_on_container_copy_assignment,
@@ -34,4 +34,6 @@ int main()
         std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>>::propagate_on_container_copy_assignment,
         std::true_type>::value), "");
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_move_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_move_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_move_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_move_assignment.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<
         std::scoped_allocator_adaptor<A1<int>>::propagate_on_container_move_assignment,
@@ -34,4 +34,6 @@ int main()
         std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>>::propagate_on_container_move_assignment,
         std::true_type>::value), "");
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/allocator.adaptor.types/propagate_on_container_swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<
         std::scoped_allocator_adaptor<A1<int>>::propagate_on_container_swap,
@@ -33,4 +33,6 @@ int main()
     static_assert((std::is_same<
         std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>>::propagate_on_container_swap,
         std::true_type>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/copy_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/copy_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/copy_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/copy_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -68,4 +68,6 @@ int main()
         assert(A3<int>::move_called == false);
         assert(aN == a1);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/eq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -58,4 +58,6 @@ int main()
         assert(a2 != a1);
         assert(!(a2 == a1));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/move_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     {
         typedef std::scoped_allocator_adaptor<A1<int>> A;
@@ -68,4 +68,6 @@ int main()
         assert(A3<int>::move_called == true);
         assert(aN == a1);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/allocator.adaptor/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/allocator.adaptor/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/allocator.adaptor/types.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/allocator.adaptor/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@
 
 #include "allocators.h"
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_base_of<
         A1<int>,
@@ -96,4 +96,6 @@ int main()
     static_assert((std::is_same<
         std::scoped_allocator_adaptor<A2<int>, A1<int>>::const_void_pointer,
         const void*>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.assign/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.assign/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.assign/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.assign/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -191,7 +191,7 @@ void test_copy_assign_throws()
 #endif
 }
 
-int main() {
+int main(int, char**) {
     test_copy_assign<small1, small2>();
     test_copy_assign<large1, large2>();
     test_copy_assign<small, large>();
@@ -201,4 +201,6 @@ int main() {
     test_copy_assign_self();
     test_copy_assign_throws<small_throws_on_copy>();
     test_copy_assign_throws<large_throws_on_copy>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.assign/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.assign/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.assign/move.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.assign/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -104,7 +104,7 @@ void test_move_assign_noexcept() {
       );
 }
 
-int main() {
+int main(int, char**) {
     test_move_assign_noexcept();
     test_move_assign<small1, small2>();
     test_move_assign<large1, large2>();
@@ -112,4 +112,6 @@ int main() {
     test_move_assign<large, small>();
     test_move_assign_empty<small>();
     test_move_assign_empty<large>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.assign/value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.assign/value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.assign/value.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.assign/value.pass.cpp Mon Feb  4 12:31:13 2019
@@ -202,7 +202,7 @@ void test_sfinae_constraints() {
     }
 }
 
-int main() {
+int main(int, char**) {
     test_assign_value<small1, small2>();
     test_assign_value<large1, large2>();
     test_assign_value<small, large>();
@@ -213,4 +213,6 @@ int main() {
     test_assign_throws<large_throws_on_copy>();
     test_assign_throws<throws_on_move, /* Move = */ true>();
     test_sfinae_constraints();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.cons/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -98,10 +98,12 @@ void test_copy()
     assert(Type::count == 0);
 }
 
-int main() {
+int main(int, char**) {
     test_copy<small>();
     test_copy<large>();
     test_copy_empty();
     test_copy_throws<small_throws_on_copy>();
     test_copy_throws<large_throws_on_copy>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.cons/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,7 @@
 #include "any_helpers.h"
 #include "count_new.hpp"
 
-int main()
+int main(int, char**)
 {
     using std::any;
     {
@@ -43,4 +43,6 @@ int main()
         any const a;
         assertEmpty(a);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.cons/in_place_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.cons/in_place_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.cons/in_place_type.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.cons/in_place_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -187,7 +187,7 @@ void test_constructor_explicit() {
     static_assert(std::is_constructible<std::any, IT, std::initializer_list<int>&, int>::value, "");
 }
 
-int main() {
+int main(int, char**) {
     test_in_place_type<small>();
     test_in_place_type<large>();
     test_in_place_type<small_throws_on_copy>();
@@ -198,4 +198,6 @@ int main() {
     test_in_place_type_decayed();
     test_ctor_sfinae();
     test_constructor_explicit();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.cons/move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -95,7 +95,7 @@ void test_move() {
     assert(Type::count == 0);
 }
 
-int main()
+int main(int, char**)
 {
     // noexcept test
     {
@@ -108,4 +108,6 @@ int main()
     test_move<large>();
     test_move_empty();
     test_move_does_not_throw();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.cons/value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.cons/value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.cons/value.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.cons/value.pass.cpp Mon Feb  4 12:31:13 2019
@@ -151,11 +151,13 @@ void test_sfinae_constraints() {
     }
 }
 
-int main() {
+int main(int, char**) {
     test_copy_move_value<small>();
     test_copy_move_value<large>();
     test_copy_value_throws<small_throws_on_copy>();
     test_copy_value_throws<large_throws_on_copy>();
     test_move_value_throws();
     test_sfinae_constraints();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/emplace.pass.cpp Mon Feb  4 12:31:13 2019
@@ -275,7 +275,7 @@ void test_emplace_sfinae_constraints() {
     }
 }
 
-int main() {
+int main(int, char**) {
     test_emplace_type<small>();
     test_emplace_type<large>();
     test_emplace_type<small_throws_on_copy>();
@@ -288,4 +288,6 @@ int main() {
     test_emplace_throws<SmallThrows>();
     test_emplace_throws<LargeThrows>();
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/reset.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/reset.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/reset.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/reset.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@
 
 #include "any_helpers.h"
 
-int main()
+int main(int, char**)
 {
     using std::any;
     using std::any_cast;
@@ -67,4 +67,6 @@ int main()
         assertEmpty<large>(a);
         assert(large::count == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.modifiers/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -127,7 +127,7 @@ void test_self_swap() {
     assert(large::count == 0);
 }
 
-int main()
+int main(int, char**)
 {
     test_noexcept();
     test_swap_empty<small>();
@@ -137,4 +137,6 @@ int main()
     test_swap<small, large>();
     test_swap<large, small>();
     test_self_swap();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.observers/has_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.observers/has_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.observers/has_value.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.observers/has_value.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 #include "any_helpers.h"
 
-int main()
+int main(int, char**)
 {
     using std::any;
     // noexcept test
@@ -60,4 +60,6 @@ int main()
         a = l;
         assert(a.has_value());
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.observers/type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.observers/type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.observers/type.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.observers/type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 #include <cassert>
 #include "any_helpers.h"
 
-int main()
+int main(int, char**)
 {
     using std::any;
     {
@@ -37,4 +37,6 @@ int main()
         any const a(l);
         assert(a.type() == typeid(large));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.class/not_literal_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/not_literal_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/not_literal_type.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/not_literal_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,6 +15,8 @@
 #include <any>
 #include <type_traits>
 
-int main () {
+int main(int, char**) {
     static_assert(!std::is_literal_type<std::any>::value, "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -166,7 +166,7 @@ void test_cast_function_pointer() {
     assert(fn_ptr == test_fn);
 }
 
-int main() {
+int main(int, char**) {
     test_cast_is_noexcept();
     test_cast_return_type();
     test_cast_nullptr();
@@ -175,4 +175,6 @@ int main() {
     test_cast<large>();
     test_cast_non_copyable_type();
     test_cast_function_pointer();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_reference.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_reference.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_reference.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_reference.pass.cpp Mon Feb  4 12:31:13 2019
@@ -309,7 +309,7 @@ void test_cast_to_value() {
     assert(Type::count == 0);
 }
 
-int main() {
+int main(int, char**) {
     test_cast_is_not_noexcept();
     test_cast_return_type();
     test_cast_empty();
@@ -317,4 +317,6 @@ int main() {
     test_cast_to_reference<large>();
     test_cast_to_value<small>();
     test_cast_to_value<large>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_request_invalid_value_category.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_request_invalid_value_category.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_request_invalid_value_category.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/any_cast_request_invalid_value_category.fail.cpp Mon Feb  4 12:31:13 2019
@@ -61,9 +61,11 @@ void test_rvalue_any_cast_request_lvalue
     any_cast<int&>(42);
 }
 
-int main()
+int main(int, char**)
 {
     test_const_lvalue_cast_request_non_const_lvalue();
     test_lvalue_any_cast_request_rvalue();
     test_rvalue_any_cast_request_lvalue();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/const_correctness.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/const_correctness.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/const_correctness.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/const_correctness.fail.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ struct TestType2 {};
 // is triggered by these tests.
 // expected-error at const_correctness.fail.cpp:* 0+ {{call to unavailable function 'any_cast': introduced in macOS 10.14}}
 
-int main()
+int main(int, char**)
 {
     using std::any;
     using std::any_cast;
@@ -46,4 +46,6 @@ int main()
     // expected-error at any:* {{cannot cast from lvalue of type 'const TestType2' to rvalue reference type 'TestType2 &&'; types are not compatible}}
     // expected-error-re at any:* {{static_assert failed{{.*}} "ValueType is required to be a const lvalue reference or a CopyConstructible type"}}
     any_cast<TestType2 &&>(static_cast<any const&&>(a)); // expected-note {{requested here}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/not_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/not_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/not_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/not_copy_constructible.fail.cpp Mon Feb  4 12:31:13 2019
@@ -43,7 +43,7 @@ struct no_move {
 // is triggered by these tests.
 // expected-error at not_copy_constructible.fail.cpp:* 0+ {{call to unavailable function 'any_cast': introduced in macOS 10.14}}
 
-int main() {
+int main(int, char**) {
     any a;
     // expected-error-re at any:* {{static_assert failed{{.*}} "ValueType is required to be an lvalue reference or a CopyConstructible type"}}
     // expected-error at any:* {{static_cast from 'no_copy' to 'no_copy' uses deleted function}}
@@ -58,4 +58,6 @@ int main() {
     // expected-error-re at any:* {{static_assert failed{{.*}} "ValueType is required to be an rvalue reference or a CopyConstructible type"}}
     // expected-error at any:* {{static_cast from 'typename remove_reference<no_move &>::type' (aka 'no_move') to 'no_move' uses deleted function}}
     any_cast<no_move>(static_cast<any &&>(a));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/reference_types.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/reference_types.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/reference_types.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.nonmembers/any.cast/reference_types.fail.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@
 using std::any;
 using std::any_cast;
 
-int main()
+int main(int, char**)
 {
     any a(1);
 
@@ -50,4 +50,6 @@ int main()
 
     // expected-error-re at any:* 1 {{static_assert failed{{.*}} "_ValueType may not be a reference."}}
     any_cast<int const &&>(&a2); // expected-note {{requested here}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.nonmembers/make_any.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.nonmembers/make_any.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.nonmembers/make_any.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.nonmembers/make_any.pass.cpp Mon Feb  4 12:31:13 2019
@@ -131,7 +131,7 @@ void test_make_any_throws()
 
 #endif
 
-int main() {
+int main(int, char**) {
     test_make_any_type<small>();
     test_make_any_type<large>();
     test_make_any_type<small_throws_on_copy>();
@@ -144,4 +144,6 @@ int main() {
     test_make_any_throws<LargeThrows>();
 
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/any/any.nonmembers/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.nonmembers/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.nonmembers/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.nonmembers/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@
 using std::any;
 using std::any_cast;
 
-int main()
+int main(int, char**)
 {
 
     { // test noexcept
@@ -44,4 +44,6 @@ int main()
         assert(any_cast<int>(a1) == 2);
         assert(any_cast<int>(a2) == 1);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/charconv/charconv.from.chars/integral.bool.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/charconv/charconv.from.chars/integral.bool.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/charconv/charconv.from.chars/integral.bool.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/charconv/charconv.from.chars/integral.bool.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include <charconv>
 
-int main()
+int main(int, char**)
 {
     using std::from_chars;
     char buf[] = "01001";
@@ -26,4 +26,6 @@ int main()
 
     from_chars(buf, buf + sizeof(buf), lv);      // expected-error {{call to deleted function}}
     from_chars(buf, buf + sizeof(buf), lv, 16);  // expected-error {{call to deleted function}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/charconv/charconv.from.chars/integral.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/charconv/charconv.from.chars/integral.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/charconv/charconv.from.chars/integral.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/charconv/charconv.from.chars/integral.pass.cpp Mon Feb  4 12:31:13 2019
@@ -183,8 +183,10 @@ struct test_signed : roundtrip_test_base
     }
 };
 
-int main()
+int main(int, char**)
 {
     run<test_basics>(integrals);
     run<test_signed>(all_signed);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/charconv/charconv.to.chars/integral.bool.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/charconv/charconv.to.chars/integral.bool.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/charconv/charconv.to.chars/integral.bool.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/charconv/charconv.to.chars/integral.bool.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,7 @@
 
 #include <charconv>
 
-int main()
+int main(int, char**)
 {
     using std::to_chars;
     char buf[10];
@@ -26,4 +26,6 @@ int main()
 
     to_chars(buf, buf + sizeof(buf), false);   // expected-error {{call to deleted function}}
     to_chars(buf, buf + sizeof(buf), lv, 16);  // expected-error {{call to deleted function}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp Mon Feb  4 12:31:13 2019
@@ -81,8 +81,10 @@ struct test_signed : to_chars_test_base<
     }
 };
 
-int main()
+int main(int, char**)
 {
     run<test_basics>(integrals);
     run<test_signed>(all_signed);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::divides<int> F;
     const F f = F();
@@ -37,4 +37,6 @@ int main()
     constexpr double bar = std::divides<> () (3.0, 2);
     static_assert ( bar == 1.5, "" ); // exact in binary
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::minus<int> F;
     const F f = F();
@@ -37,4 +37,6 @@ int main()
     constexpr double bar = std::minus<> () (3.0, 2);
     static_assert ( bar == 1.0, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::modulus<int> F;
     const F f = F();
@@ -37,4 +37,6 @@ int main()
     constexpr int bar = std::modulus<> () (3L, 2);
     static_assert ( bar == 1, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::multiplies<int> F;
     const F f = F();
@@ -37,4 +37,6 @@ int main()
     constexpr double bar = std::multiplies<> () (3.0, 2);
     static_assert ( bar == 6.0, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::negate<int> F;
     const F f = F();
@@ -36,4 +36,6 @@ int main()
     constexpr double bar = std::negate<> () (3.0);
     static_assert ( bar == -3.0, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::plus<int> F;
     const F f = F();
@@ -37,4 +37,6 @@ int main()
     constexpr double bar = std::plus<> () (3.0, 2);
     static_assert ( bar == 5.0, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/transparent.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ public:
 };
 
 
-int main ()
+int main(int, char**)
 {
     static_assert ( !is_transparent<std::plus<int>>::value, "" );
     static_assert ( !is_transparent<std::plus<std::string>>::value, "" );

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/PR23141_invoke_not_constexpr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/PR23141_invoke_not_constexpr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/PR23141_invoke_not_constexpr.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/PR23141_invoke_not_constexpr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,9 @@ struct Fun
   }
 };
 
-int main()
+int main(int, char**)
 {
     std::bind(Fun{}, std::placeholders::_1, 42)("hello");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/bind_return_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/bind_return_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/bind_return_type.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/bind_return_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -115,7 +115,7 @@ void do_test_r(Fn* func) {
     }
 }
 
-int main()
+int main(int, char**)
 {
     do_test<int>(return_value);
     do_test<int&>(return_lvalue);
@@ -129,4 +129,6 @@ int main()
     do_test_r<long>(return_rvalue);
     do_test_r<long>(return_const_rvalue);
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/copy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -26,11 +26,13 @@ float _pow(float a, float b)
     return std::pow(a, b);
 }
 
-int main()
+int main(int, char**)
 {
     std::function<float(float, float)> fnc = _pow;
     auto task = std::bind(fnc, 2.f, 4.f);
     auto task2(task);
     assert(task() == 16);
     assert(task2() == 16);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_function_object.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_function_object.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_function_object.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_function_object.pass.cpp Mon Feb  4 12:31:13 2019
@@ -38,7 +38,7 @@ struct BadUnaryFunction
     }
 };
 
-int main()
+int main(int, char**)
 {
     // Check that BadUnaryFunction::operator()(S const &) is not
     // instantiated when checking if BadUnaryFunction is a nested bind
@@ -47,4 +47,6 @@ int main()
     b(0);
     auto b2 = std::bind<long>(DummyUnaryFunction(), BadUnaryFunction());
     b2(0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_int_0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_int_0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_int_0.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_int_0.pass.cpp Mon Feb  4 12:31:13 2019
@@ -40,7 +40,7 @@ struct A_int_0
     int operator()() const {return 5;}
 };
 
-int main()
+int main(int, char**)
 {
     test(std::bind(f), 1);
     test(std::bind(&f), 1);
@@ -51,4 +51,6 @@ int main()
     test(std::bind<int>(&f), 1);
     test(std::bind<int>(A_int_0()), 4);
     test_const(std::bind<int>(A_int_0()), 5);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_lvalue.pass.cpp Mon Feb  4 12:31:13 2019
@@ -280,10 +280,12 @@ test3()
     assert(b);
 }
 
-int main()
+int main(int, char**)
 {
     test_void_1();
     test_int_1();
     test_void_2();
     test3();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_rvalue.pass.cpp Mon Feb  4 12:31:13 2019
@@ -258,10 +258,12 @@ void test_nested()
     assert(std::bind(f_nested, std::bind(g_nested, _1))(3) == 31);
 }
 
-int main()
+int main(int, char**)
 {
     test_void_1();
     test_int_1();
     test_void_2();
     test_nested();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_void_0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_void_0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_void_0.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_void_0.pass.cpp Mon Feb  4 12:31:13 2019
@@ -54,7 +54,7 @@ struct A_int_0
     int operator()() const {count += 2; return 5;}
 };
 
-int main()
+int main(int, char**)
 {
     test(std::bind(f));
     test(std::bind(&f));
@@ -70,4 +70,6 @@ int main()
     test(std::bind<void>(&g));
     test(std::bind<void>(A_int_0()));
     test_const(std::bind<void>(A_int_0()));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/nested.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/nested.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/nested.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/nested.pass.cpp Mon Feb  4 12:31:13 2019
@@ -41,11 +41,13 @@ struct plus_one
   }
 };
 
-int main()
+int main(int, char**)
 {
     using std::placeholders::_1;
 
     auto g = std::bind(power(), 2, _1);
     assert(g(5) == 32);
     assert(std::bind(plus_one(), g)(5) == 33);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,11 +27,13 @@ test(const T&)
 
 struct C {};
 
-int main()
+int main(int, char**)
 {
     test<true>(std::bind(C()));
     test<true>(std::bind(C(), std::placeholders::_2));
     test<true>(std::bind<int>(C()));
     test<false>(1);
     test<false>(std::placeholders::_2);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression_03.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression_03.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression_03.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression_03.pass.cpp Mon Feb  4 12:31:13 2019
@@ -24,7 +24,7 @@ void test() {
 
 struct C {};
 
-int main() {
+int main(int, char**) {
     test<int>();
     test<void>();
     test<C>();
@@ -35,4 +35,6 @@ int main() {
     test<int(*)()>();
     test<int (C::*)()>();
     test<decltype(std::placeholders::_2)>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_placeholder.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_placeholder.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_placeholder.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_placeholder.pass.cpp Mon Feb  4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const T&)
 
 struct C {};
 
-int main()
+int main(int, char**)
 {
     test<1>(std::placeholders::_1);
     test<2>(std::placeholders::_2);
@@ -41,4 +41,6 @@ int main()
     test<0>(5.5);
     test<0>('a');
     test<0>(C());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp Mon Feb  4 12:31:13 2019
@@ -80,7 +80,7 @@ void use_placeholders_to_prevent_unused_
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     use_placeholders_to_prevent_unused_warning();
     test(std::placeholders::_1);
@@ -93,4 +93,6 @@ int main()
     test(std::placeholders::_8);
     test(std::placeholders::_9);
     test(std::placeholders::_10);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bind/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bind/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bind/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bind/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::bit_and<int> F;
     const F f = F();
@@ -57,4 +57,6 @@ int main()
     constexpr int bar = std::bit_and<> () (0x58D3L, 0xEA95);
     static_assert ( bar == 0x4891, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_not.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_not.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_not.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_not.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,7 @@
 #include <type_traits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     typedef std::bit_not<int> F;
     const F f = F();
@@ -42,4 +42,6 @@ int main()
 
     constexpr int bar = std::bit_not<> () (0xEA95) & 0xFFFF;
     static_assert ( bar == 0x156A, "" );
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::bit_or<int> F;
     const F f = F();
@@ -57,4 +57,6 @@ int main()
     constexpr int bar = std::bit_or<> () (0x58D3L, 0xEA95);
     static_assert ( bar == 0xFAD7, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     {
     typedef std::bit_xor<int> F;
@@ -61,4 +61,6 @@ int main()
     static_assert ( bar == 0xB246, "" );
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/transparent.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ public:
 };
 
 
-int main () {
+int main(int, char**) {
     static_assert ( !is_transparent<std::bit_and<int>>::value, "" );
     static_assert ( !is_transparent<std::bit_and<std::string>>::value, "" );
     static_assert (  is_transparent<std::bit_and<void>>::value, "" );

Modified: libcxx/trunk/test/std/utilities/function.objects/comparisons/constexpr_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/comparisons/constexpr_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/comparisons/constexpr_init.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/comparisons/constexpr_init.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,6 +42,8 @@ static_assert(test_constexpr_context<int
 static_assert(test_constexpr_context<void>(), "");
 
 
-int main() {
+int main(int, char**) {
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/comparisons/equal_to.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/comparisons/equal_to.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/comparisons/equal_to.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/comparisons/equal_to.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::equal_to<int> F;
     const F f = F();
@@ -39,4 +39,6 @@ int main()
     constexpr bool bar = std::equal_to<> () (36.0, 36);
     static_assert ( bar, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/comparisons/greater.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/comparisons/greater.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/comparisons/greater.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/comparisons/greater.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "pointer_comparison_test_helper.hpp"
 
-int main()
+int main(int, char**)
 {
     typedef std::greater<int> F;
     const F f = F();
@@ -49,4 +49,6 @@ int main()
     constexpr bool bar = std::greater<> () (36.0, 36);
     static_assert ( !bar, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "pointer_comparison_test_helper.hpp"
 
-int main()
+int main(int, char**)
 {
     typedef std::greater_equal<int> F;
     const F f = F();
@@ -49,4 +49,6 @@ int main()
     constexpr bool bar = std::greater_equal<> () (36.0, 36);
     static_assert ( bar, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/comparisons/less.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/comparisons/less.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/comparisons/less.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/comparisons/less.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "pointer_comparison_test_helper.hpp"
 
-int main()
+int main(int, char**)
 {
     typedef std::less<int> F;
     const F f = F();
@@ -48,4 +48,6 @@ int main()
     constexpr bool bar = std::less<> () (36.0, 36);
     static_assert ( !bar, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/comparisons/less_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/comparisons/less_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/comparisons/less_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/comparisons/less_equal.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include "test_macros.h"
 #include "pointer_comparison_test_helper.hpp"
 
-int main()
+int main(int, char**)
 {
     typedef std::less_equal<int> F;
     const F f = F();
@@ -49,4 +49,6 @@ int main()
     constexpr bool bar = std::less_equal<> () (36.0, 36);
     static_assert ( bar, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/comparisons/not_equal_to.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/comparisons/not_equal_to.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/comparisons/not_equal_to.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/comparisons/not_equal_to.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::not_equal_to<int> F;
     const F f = F();
@@ -41,4 +41,6 @@ int main()
     constexpr bool bar = std::not_equal_to<> () (36.0, 36);
     static_assert ( !bar, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/comparisons/transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/comparisons/transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/comparisons/transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/comparisons/transparent.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ public:
 };
 
 
-int main ()
+int main(int, char**)
 {
     static_assert ( !is_transparent<std::less<int>>::value, "" );
     static_assert ( !is_transparent<std::less<std::string>>::value, "" );

Modified: libcxx/trunk/test/std/utilities/function.objects/func.def/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.def/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.def/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.def/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp Mon Feb  4 12:31:13 2019
@@ -340,9 +340,11 @@ void noexcept_test() {
     }
 }
 
-int main() {
+int main(int, char**) {
     bullet_one_two_tests();
     bullet_three_four_tests();
     bullet_five_tests();
     noexcept_test();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke_feature_test_macro.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke_feature_test_macro.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke_feature_test_macro.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke_feature_test_macro.pass.cpp Mon Feb  4 12:31:13 2019
@@ -31,8 +31,10 @@
 
 int foo(int) { return 42; }
 
-int main() {
+int main(int, char**) {
 #if defined(__cpp_lib_invoke)
   assert(std::invoke(foo, 101) == 42);
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_data.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_data.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_data.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_data.fail.cpp Mon Feb  4 12:31:13 2019
@@ -35,7 +35,9 @@ test(F f)
     }
 }
 
-int main()
+int main(int, char**)
 {
     test(std::mem_fn(&A::data_));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_data.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_data.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_data.pass.cpp Mon Feb  4 12:31:13 2019
@@ -36,7 +36,9 @@ test(F f)
     }
 }
 
-int main()
+int main(int, char**)
 {
     test(std::mem_fn(&A::data_));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function.pass.cpp Mon Feb  4 12:31:13 2019
@@ -65,7 +65,7 @@ test2(F f)
     }
 }
 
-int main()
+int main(int, char**)
 {
     test0(std::mem_fn(&A::test0));
     test1(std::mem_fn(&A::test1));
@@ -73,4 +73,6 @@ int main()
 #if TEST_STD_VER >= 11
     static_assert((noexcept(std::mem_fn(&A::test0))), ""); // LWG#2489
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_const.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_const.pass.cpp Mon Feb  4 12:31:13 2019
@@ -69,9 +69,11 @@ test2(F f)
     }
 }
 
-int main()
+int main(int, char**)
 {
     test0(std::mem_fn(&A::test0));
     test1(std::mem_fn(&A::test1));
     test2(std::mem_fn(&A::test2));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_const_volatile.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_const_volatile.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_const_volatile.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_const_volatile.pass.cpp Mon Feb  4 12:31:13 2019
@@ -69,9 +69,11 @@ test2(F f)
     }
 }
 
-int main()
+int main(int, char**)
 {
     test0(std::mem_fn(&A::test0));
     test1(std::mem_fn(&A::test1));
     test2(std::mem_fn(&A::test2));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_volatile.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_volatile.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_volatile.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_function_volatile.pass.cpp Mon Feb  4 12:31:13 2019
@@ -69,9 +69,11 @@ test2(F f)
     }
 }
 
-int main()
+int main(int, char**)
 {
     test0(std::mem_fn(&A::test0));
     test1(std::mem_fn(&A::test1));
     test2(std::mem_fn(&A::test2));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp Mon Feb  4 12:31:13 2019
@@ -602,7 +602,7 @@ void test_lwg2767() {
     }
 }
 
-int main()
+int main(int, char**)
 {
     constructor_tests();
     return_type_tests();
@@ -612,4 +612,6 @@ int main()
     call_operator_forwarding_test();
     call_operator_noexcept_test();
     test_lwg2767();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.require/INVOKE_tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.require/INVOKE_tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.require/INVOKE_tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.require/INVOKE_tested_elsewhere.pass.cpp Mon Feb  4 12:31:13 2019
@@ -12,4 +12,6 @@
 // since they require calling the implementation specific "__invoke" and
 // "__invoke_constexpr" functions.
 
-int main() {}
+int main(int, char**) {
+  return 0;
+}

Modified: libcxx/trunk/test/std/utilities/function.objects/func.require/binary_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.require/binary_function.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.require/binary_function.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.require/binary_function.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,10 +15,12 @@
 #include <functional>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     typedef std::binary_function<int, short, bool> bf;
     static_assert((std::is_same<bf::first_argument_type, int>::value), "");
     static_assert((std::is_same<bf::second_argument_type, short>::value), "");
     static_assert((std::is_same<bf::result_type, bool>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.require/unary_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.require/unary_function.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.require/unary_function.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.require/unary_function.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 #include <functional>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     typedef std::unary_function<int, bool> uf;
     static_assert((std::is_same<uf::argument_type, int>::value), "");
     static_assert((std::is_same<uf::result_type, bool>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/default.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -122,7 +122,9 @@ test2()
     do_search(Iter1(ij), Iter1(ij+sj), Iter2(ik), Iter2(ik+sk), Iter1(ij+6));
 }
 
-int main() {
+int main(int, char**) {
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
     test2<random_access_iterator<const char*>, random_access_iterator<const char*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp Mon Feb  4 12:31:13 2019
@@ -118,7 +118,9 @@ test2()
     do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3),  sh*3);
 }
 
-int main() {
+int main(int, char**) {
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
     test2<random_access_iterator<const char*>, random_access_iterator<const char*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/hash.pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/hash.pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/hash.pred.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/hash.pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -136,7 +136,9 @@ test2()
     do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3),  sh*3);
 }
 
-int main() {
+int main(int, char**) {
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
     test2<random_access_iterator<const char*>, random_access_iterator<const char*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/pred.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -127,7 +127,9 @@ test2()
     do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3),  sh*3);
 }
 
-int main() {
+int main(int, char**) {
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
     test2<random_access_iterator<const char*>, random_access_iterator<const char*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/default.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -122,7 +122,9 @@ test2()
     do_search(Iter1(ij), Iter1(ij+sj), Iter2(ik), Iter2(ik+sk), Iter1(ij+6));
 }
 
-int main() {
+int main(int, char**) {
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
     test2<random_access_iterator<const char*>, random_access_iterator<const char*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pass.cpp Mon Feb  4 12:31:13 2019
@@ -117,7 +117,9 @@ test2()
     do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3),  sh*3);
 }
 
-int main() {
+int main(int, char**) {
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
     test2<random_access_iterator<const char*>, random_access_iterator<const char*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pred.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -130,7 +130,9 @@ test2()
     do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3),  sh*3);
 }
 
-int main() {
+int main(int, char**) {
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
     test2<random_access_iterator<const char*>, random_access_iterator<const char*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -124,7 +124,9 @@ test2()
     do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3),  sh*3);
 }
 
-int main() {
+int main(int, char**) {
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
     test2<random_access_iterator<const char*>, random_access_iterator<const char*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.default/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.default/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.default/default.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.default/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -82,7 +82,7 @@ test()
     do_search(Iter1(ij), Iter1(ij+sj), Iter2(ik), Iter2(ik+sk), Iter1(ij+6));
 }
 
-int main() {
+int main(int, char**) {
     test<forward_iterator<const int*>, forward_iterator<const int*> >();
     test<forward_iterator<const int*>, bidirectional_iterator<const int*> >();
     test<forward_iterator<const int*>, random_access_iterator<const int*> >();
@@ -92,4 +92,6 @@ int main() {
     test<random_access_iterator<const int*>, forward_iterator<const int*> >();
     test<random_access_iterator<const int*>, bidirectional_iterator<const int*> >();
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.default/default.pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.default/default.pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.default/default.pred.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.default/default.pred.pass.cpp Mon Feb  4 12:31:13 2019
@@ -89,7 +89,7 @@ test()
     do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3),  sh*3);
 }
 
-int main() {
+int main(int, char**) {
     test<forward_iterator<const int*>, forward_iterator<const int*> >();
     test<forward_iterator<const int*>, bidirectional_iterator<const int*> >();
     test<forward_iterator<const int*>, random_access_iterator<const int*> >();
@@ -99,4 +99,6 @@ int main() {
     test<random_access_iterator<const int*>, forward_iterator<const int*> >();
     test<random_access_iterator<const int*>, bidirectional_iterator<const int*> >();
     test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.search/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.search/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.search/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/bad_function_call.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/bad_function_call.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/bad_function_call.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/bad_function_call.pass.cpp Mon Feb  4 12:31:13 2019
@@ -19,7 +19,9 @@
 #include <functional>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_base_of<std::exception, std::bad_function_call>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/func.wrap.badcall.const/bad_function_call_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/func.wrap.badcall.const/bad_function_call_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/func.wrap.badcall.const/bad_function_call_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/func.wrap.badcall.const/bad_function_call_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -13,7 +13,9 @@
 #include <functional>
 #include <type_traits>
 
-int main()
+int main(int, char**)
 {
     std::bad_function_call ex;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/derive_from.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/derive_from.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/derive_from.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/derive_from.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,9 @@
 
 struct S : public std::function<void()> { using function::function; };
 
-int main() {
+int main(int, char**) {
    S f1( [](){} );
    S f2(std::allocator_arg, std::allocator<int>{}, f1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/derive_from.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/derive_from.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/derive_from.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/derive_from.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,10 +20,12 @@
 using Fn = std::function<void()>;
 struct S : public std::function<void()> { using function::function; };
 
-int main() {
+int main(int, char**) {
     S s( [](){} );
     S f1( s );
 #if TEST_STD_VER <= 14
     S f2(std::allocator_arg, std::allocator<int>{}, s);
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -57,7 +57,7 @@ int A::count = 0;
 int g(int) {return 0;}
 int h(int) {return 1;}
 
-int main()
+int main(int, char**)
 {
     assert(globalMemCounter.checkOutstandingNewEq(0));
     {
@@ -132,4 +132,6 @@ int main()
     }
     assert(A::count == 0);
     assert(globalMemCounter.checkOutstandingNewEq(0));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.cap/operator_bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.cap/operator_bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.cap/operator_bool.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.cap/operator_bool.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 int g(int) {return 0;}
 
-int main()
+int main(int, char**)
 {
     {
     std::function<int(int)> f;
@@ -25,4 +25,6 @@ int main()
     f = g;
     assert(f);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F.pass.cpp Mon Feb  4 12:31:13 2019
@@ -60,7 +60,7 @@ struct LValueCallable {
 };
 #endif
 
-int main()
+int main(int, char**)
 {
     assert(globalMemCounter.checkOutstandingNewEq(0));
     {
@@ -111,4 +111,6 @@ int main()
         static_assert(!std::is_constructible<Fn, RValueCallable>::value, "");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -63,7 +63,7 @@ struct LValueCallable {
 };
 #endif
 
-int main()
+int main(int, char**)
 {
     assert(globalMemCounter.checkOutstandingNewEq(0));
     {
@@ -115,4 +115,6 @@ int main()
         static_assert(!std::is_assignable<Fn&, RValueCallable>::value, "");
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_incomplete.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_incomplete.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_incomplete.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_incomplete.pass.cpp Mon Feb  4 12:31:13 2019
@@ -58,6 +58,8 @@ void test_pr34298()
   }
 }
 
-int main() {
+int main(int, char**) {
   test_pr34298();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_nullptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_nullptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_nullptr.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_nullptr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -239,8 +239,10 @@ void test_md() {
     test_imp<int MemData::*, int(MemData&)>();
 }
 
-int main() {
+int main(int, char**) {
     test_func();
     test_mf();
     test_md();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc.fail.cpp Mon Feb  4 12:31:13 2019
@@ -18,7 +18,9 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     std::function<int(int)> f(std::allocator_arg, std::allocator<int>());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,10 +20,12 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     {
     std::function<int(int)> f(std::allocator_arg, bare_allocator<int>());
     assert(!f);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.fail.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,9 @@
 
 void foo(int) {}
 
-int main()
+int main(int, char**)
 {
     std::function<void(int)> f(std::allocator_arg, std::allocator<int>(), foo);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.pass.cpp Mon Feb  4 12:31:13 2019
@@ -106,7 +106,7 @@ void test_for_alloc(Alloc& alloc) {
     test_MemFunClass<int(MemFunClass::*)(int, int) const, int(MemFunClass&, int, int)>(alloc);
 }
 
-int main()
+int main(int, char**)
 {
     {
         bare_allocator<DummyClass> bare_alloc;
@@ -126,4 +126,6 @@ int main()
     }
 #endif
 
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.fail.cpp Mon Feb  4 12:31:13 2019
@@ -21,9 +21,11 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::function<void(int)> F;
     F f1;
     F f2(std::allocator_arg, std::allocator<int>(), f1);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.pass.cpp Mon Feb  4 12:31:13 2019
@@ -111,7 +111,7 @@ void test_for_alloc(Alloc& alloc)
     test_MemFunClass<int(MemFunClass::*)(int, int) const, int(MemFunClass&, int, int)>(alloc);
 }
 
-int main()
+int main(int, char**)
 {
   {
     bare_allocator<DummyClass> alloc;
@@ -121,4 +121,6 @@ int main()
     non_default_test_allocator<DummyClass> alloc(42);
     test_for_alloc(alloc);
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_nullptr.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_nullptr.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_nullptr.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_nullptr.fail.cpp Mon Feb  4 12:31:13 2019
@@ -20,7 +20,9 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     std::function<int(int)> f(std::allocator_arg, std::allocator<int>(), nullptr);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_nullptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_nullptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_nullptr.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_nullptr.pass.cpp Mon Feb  4 12:31:13 2019
@@ -20,8 +20,10 @@
 
 #include "min_allocator.h"
 
-int main()
+int main(int, char**)
 {
     std::function<int(int)> f(std::allocator_arg, bare_allocator<int>(), nullptr);
     assert(!f);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.fail.cpp Mon Feb  4 12:31:13 2019
@@ -50,10 +50,12 @@ int A::count = 0;
 
 int g(int) { return 0; }
 
-int main()
+int main(int, char**)
 {
     {
         std::function<int(int)> f = A();
         std::function<int(int)> f2(std::allocator_arg, std::allocator<A>(), std::move(f));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.pass.cpp Mon Feb  4 12:31:13 2019
@@ -54,7 +54,7 @@ int A::count = 0;
 
 int g(int) { return 0; }
 
-int main()
+int main(int, char**)
 {
     assert(globalMemCounter.checkOutstandingNewEq(0));
     {
@@ -105,4 +105,6 @@ int main()
         assert(f2.target<Ptr>());
         assert(f.target<Ptr>()); // f is unchanged because the target is small
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,7 +48,7 @@ int g(int) { return 0; }
 int g2(int, int) { return 2; }
 int g3(int, int, int) { return 3; }
 
-int main() {
+int main(int, char**) {
   assert(globalMemCounter.checkOutstandingNewEq(0));
   {
     std::function<int(int)> f = A();
@@ -134,4 +134,6 @@ int main() {
     assert(f.target<int (*)(int)>() == 0);
   }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp Mon Feb  4 12:31:13 2019
@@ -50,7 +50,7 @@ int A::count = 0;
 
 int g(int) {return 0;}
 
-int main()
+int main(int, char**)
 {
     assert(globalMemCounter.checkOutstandingNewEq(0));
     {
@@ -161,4 +161,6 @@ int main()
         LIBCPP_ASSERT(f.target<Ptr>()); // f is unchanged because the target is small
     }
 #endif  // TEST_STD_VER >= 11
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/default.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/default.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <functional>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::function<int(int)> f;
     assert(!f);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/move_reentrant.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/move_reentrant.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/move_reentrant.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/move_reentrant.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,7 @@ struct A
 std::function<void()> A::global;
 bool A::cancel = false;
 
-int main()
+int main(int, char**)
 {
   A::global = A();
   assert(A::global.target<A>());
@@ -42,4 +42,6 @@ int main()
   A::cancel = true;
   A::global = std::function<void()>(nullptr);
   assert(!A::global.target<A>());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,8 +15,10 @@
 #include <functional>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::function<int(int)> f(nullptr);
     assert(!f);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ int A::count = 0;
 
 int g(int) {return 0;}
 
-int main()
+int main(int, char**)
 {
     assert(globalMemCounter.checkOutstandingNewEq(0));
     {
@@ -68,4 +68,6 @@ int main()
     assert(globalMemCounter.checkOutstandingNewEq(0));
     assert(f.target<int(*)(int)>() == 0);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t_assign_reentrant.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t_assign_reentrant.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t_assign_reentrant.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t_assign_reentrant.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,7 @@ struct A
 std::function<void()> A::global;
 bool A::cancel = false;
 
-int main()
+int main(int, char**)
 {
   A::global = A();
   assert(A::global.target<A>());
@@ -42,4 +42,6 @@ int main()
   A::cancel = true;
   A::global = nullptr;
   assert(!A::global.target<A>());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,9 @@ test_int_1()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test_int_1();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.pass.cpp Mon Feb  4 12:31:13 2019
@@ -401,7 +401,7 @@ void test_int_2()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test_void_0();
     test_int_0();
@@ -409,4 +409,6 @@ int main()
     test_int_1();
     test_void_2();
     test_int_2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/assign_F_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/assign_F_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/assign_F_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/assign_F_alloc.pass.cpp Mon Feb  4 12:31:13 2019
@@ -48,7 +48,7 @@ public:
 
 int A::count = 0;
 
-int main()
+int main(int, char**)
 {
 #if TEST_STD_VER <= 14
     {
@@ -60,4 +60,6 @@ int main()
     }
     assert(A::count == 0);
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/swap.pass.cpp Mon Feb  4 12:31:13 2019
@@ -57,7 +57,7 @@ int h(int) { return 1; }
 int g2(int, int) { return 2; }
 int g3(int, int, int) { return 3; }
 
-int main() {
+int main(int, char**) {
   assert(globalMemCounter.checkOutstandingNewEq(0));
   {
     std::function<int(int)> f1 = A(1);
@@ -189,4 +189,6 @@ int main() {
   }
   assert(globalMemCounter.checkOutstandingNewEq(0));
   assert(A::count == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/operator_==.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/operator_%3D%3D.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/operator_==.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/operator_==.pass.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,7 @@
 
 int g(int) {return 0;}
 
-int main()
+int main(int, char**)
 {
     {
     std::function<int(int)> f;
@@ -37,4 +37,6 @@ int main()
     assert(f != nullptr);
     assert(nullptr != f);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target.pass.cpp Mon Feb  4 12:31:13 2019
@@ -55,7 +55,7 @@ int A::count = 0;
 
 int g(int) {return 0;}
 
-int main()
+int main(int, char**)
 {
     {
     std::function<int(int)> f = A();
@@ -89,4 +89,6 @@ int main()
     assert(f.target<int>() == nullptr);
     }
     assert(A::count == 0);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target_type.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target_type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -47,7 +47,7 @@ int A::count = 0;
 
 int g(int) {return 0;}
 
-int main()
+int main(int, char**)
 {
     {
     std::function<int(int)> f = A();
@@ -57,4 +57,6 @@ int main()
     std::function<int(int)> f;
     assert(f.target_type() == typeid(void));
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/types.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/types.pass.cpp Mon Feb  4 12:31:13 2019
@@ -98,10 +98,12 @@ void test_other_function ()
     static_assert((!has_second_argument_type<F>::value), "" );
 }
 
-int main()
+int main(int, char**)
 {
     test_nullary_function<std::function<int()>, int>();
     test_unary_function  <std::function<double(int)>, double, int>();
     test_binary_function <std::function<double(int, char)>, double, int, char>();
     test_other_function  <std::function<double(int, char, double)>, double>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/func.wrap/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.wrap/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.wrap/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.wrap/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::logical_and<int> F;
     const F f = F();
@@ -48,4 +48,6 @@ int main()
     constexpr bool bar = std::logical_and<> () (36.0, 36);
     static_assert ( bar, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::logical_not<int> F;
     const F f = F();
@@ -38,4 +38,6 @@ int main()
     constexpr bool bar = std::logical_not<> () (36);
     static_assert ( !bar, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp Mon Feb  4 12:31:13 2019
@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
     typedef std::logical_or<int> F;
     const F f = F();
@@ -47,4 +47,6 @@ int main()
     constexpr bool bar = std::logical_or<> () (36.0, 36);
     static_assert ( bar, "" );
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/logical.operations/transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/logical.operations/transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/logical.operations/transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/logical.operations/transparent.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ public:
 };
 
 
-int main ()
+int main(int, char**)
 {
     static_assert ( !is_transparent<std::logical_and<int>>::value, "" );
     static_assert ( !is_transparent<std::logical_and<std::string>>::value, "" );

Modified: libcxx/trunk/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,9 @@ struct Predicate {
     bool operator()(first_argument_type, second_argument_type) const { return true; }
 };
 
-int main() {
+int main(int, char**) {
     std::binary_negate<Predicate> f((Predicate())); // expected-error{{'binary_negate<Predicate>' is deprecated}}
     (void)f;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/negators/binary_negate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/negators/binary_negate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/negators/binary_negate.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/negators/binary_negate.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,7 @@
 #include <type_traits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     typedef std::binary_negate<std::logical_and<int> > F;
     const F f = F(std::logical_and<int>());
@@ -25,4 +25,6 @@ int main()
     assert( f(36, 0));
     assert( f(0, 36));
     assert( f(0, 0));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp Mon Feb  4 12:31:13 2019
@@ -27,6 +27,8 @@ struct Predicate {
     bool operator()(argument_type) const { return true; }
 };
 
-int main() {
+int main(int, char**) {
     std::not1(Predicate()); // expected-error{{'not1<Predicate>' is deprecated}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/negators/not1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/negators/not1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/negators/not1.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/negators/not1.pass.cpp Mon Feb  4 12:31:13 2019
@@ -13,9 +13,11 @@
 #include <functional>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     typedef std::logical_not<int> F;
     assert(std::not1(F())(36));
     assert(!std::not1(F())(0));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp Mon Feb  4 12:31:13 2019
@@ -28,6 +28,8 @@ struct Predicate {
     bool operator()(first_argument_type, second_argument_type) const { return true; }
 };
 
-int main() {
+int main(int, char**) {
     std::not2(Predicate()); // expected-error{{'not2<Predicate>' is deprecated}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/negators/not2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/negators/not2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/negators/not2.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/negators/not2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -13,11 +13,13 @@
 #include <functional>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     typedef std::logical_and<int> F;
     assert(!std::not2(F())(36, 36));
     assert( std::not2(F())(36, 0));
     assert( std::not2(F())(0, 36));
     assert( std::not2(F())(0, 0));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp Mon Feb  4 12:31:13 2019
@@ -27,7 +27,9 @@ struct Predicate {
     bool operator()(argument_type) const { return true; }
 };
 
-int main() {
+int main(int, char**) {
     std::unary_negate<Predicate> f((Predicate())); // expected-error{{'unary_negate<Predicate>' is deprecated}}
     (void)f;
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/negators/unary_negate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/negators/unary_negate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/negators/unary_negate.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/negators/unary_negate.pass.cpp Mon Feb  4 12:31:13 2019
@@ -14,7 +14,7 @@
 #include <type_traits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     typedef std::unary_negate<std::logical_not<int> > F;
     const F f = F(std::logical_not<int>());
@@ -22,4 +22,6 @@ int main()
     static_assert((std::is_same<F::result_type, bool>::value), "" );
     assert(f(36));
     assert(!f(0));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@ test(T& t)
 
 void f() {}
 
-int main()
+int main(int, char**)
 {
     void (*fp)() = f;
     test(fp);
@@ -41,4 +41,6 @@ int main()
     test(i);
     const int j = 0;
     test(j);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,7 +42,7 @@ test_function()
     assert(&r2.get() == &f);
 }
 
-int main()
+int main(int, char**)
 {
     void (*fp)() = f;
     test(fp);
@@ -53,4 +53,6 @@ int main()
     test(i);
     const int j = 0;
     test(j);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -30,7 +30,7 @@ test(T& t)
 
 void f() {}
 
-int main()
+int main(int, char**)
 {
     void (*fp)() = f;
     test(fp);
@@ -41,4 +41,6 @@ int main()
     test(i);
     const int j = 0;
     test(j);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.fail.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,9 @@
 #include <functional>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     std::reference_wrapper<const int> r(3);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp Mon Feb  4 12:31:13 2019
@@ -29,7 +29,7 @@ test(T& t)
 
 void f() {}
 
-int main()
+int main(int, char**)
 {
     void (*fp)() = f;
     test(fp);
@@ -40,4 +40,6 @@ int main()
     test(i);
     const int j = 0;
     test(j);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 #include <functional>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     int i = 0;
     std::reference_wrapper<const int> r = std::cref(i);
     assert(&r.get() == &i);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,10 +15,12 @@
 #include <functional>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     const int i = 0;
     std::reference_wrapper<const int> r1 = std::cref(i);
     std::reference_wrapper<const int> r2 = std::cref(r1);
     assert(&r2.get() == &i);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.fail.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,9 @@ struct A {};
 
 const A source() {return A();}
 
-int main()
+int main(int, char**)
 {
     std::reference_wrapper<const A> r = std::ref(source());
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,9 +15,11 @@
 #include <functional>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     int i = 0;
     std::reference_wrapper<int> r = std::ref(i);
     assert(&r.get() == &i);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@ bool is5 ( int i ) { return i == 5; }
 template <typename T>
 bool call_pred ( T pred ) { return pred(5); }
 
-int main()
+int main(int, char**)
 {
     {
     int i = 0;
@@ -39,4 +39,6 @@ int main()
     assert(call_pred(std::ref(cp)));
     assert(cp.count() == 2);
     }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.fail.cpp Mon Feb  4 12:31:13 2019
@@ -45,7 +45,9 @@ test_int_1()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test_int_1();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.pass.cpp Mon Feb  4 12:31:13 2019
@@ -319,10 +319,12 @@ testint_2()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test_void_1();
     test_int_1();
     test_void_2();
     testint_2();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_int_0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_int_0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_int_0.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_int_0.pass.cpp Mon Feb  4 12:31:13 2019
@@ -69,7 +69,9 @@ struct A_void_1
     }
 };
 
-int main()
+int main(int, char**)
 {
     test_int_0();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_void_0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_void_0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_void_0.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_void_0.pass.cpp Mon Feb  4 12:31:13 2019
@@ -61,7 +61,9 @@ test_void_0()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test_void_0();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/type.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/type.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 
 class C {};
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::reference_wrapper<C>::type,
                                                        C>::value), "");
@@ -33,4 +33,6 @@ int main()
                                                        int*(C::*)(double*)>::value), "");
     static_assert((std::is_same<std::reference_wrapper<int (C::*)(double*) const volatile>::type,
                                                        int (C::*)(double*) const volatile>::value), "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp Mon Feb  4 12:31:13 2019
@@ -52,7 +52,7 @@ void test()
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     test<int>();
     test<double>();
@@ -60,4 +60,6 @@ int main()
 #if TEST_STD_VER >= 11
     test<MoveOnly>();
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/unwrap_ref_decay.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/unwrap_ref_decay.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/unwrap_ref_decay.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/unwrap_ref_decay.pass.cpp Mon Feb  4 12:31:13 2019
@@ -28,7 +28,7 @@ void check() {
 
 struct T { };
 
-int main() {
+int main(int, char**) {
   check<T,             T>();
   check<T&,            T>();
   check<T const,       T>();
@@ -54,4 +54,6 @@ int main() {
   check<std::reference_wrapper<T[3]>&,     T (&)[3]>();
   check<std::reference_wrapper<T ()>,      T (&)()>();
   check<std::reference_wrapper<T ()>&,     T (&)()>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/unwrap_reference.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/unwrap_reference.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/unwrap_reference.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/unwrap_reference.pass.cpp Mon Feb  4 12:31:13 2019
@@ -39,7 +39,7 @@ void check() {
 
 struct T { };
 
-int main() {
+int main(int, char**) {
   check<T>();
   check<int>();
   check<float>();
@@ -47,4 +47,6 @@ int main() {
   check<T*>();
   check<int*>();
   check<float*>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/weak_result.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/weak_result.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/weak_result.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/weak_result.pass.cpp Mon Feb  4 12:31:13 2019
@@ -68,7 +68,7 @@ public:
     static const bool value = sizeof(test<T>(0)) == 1;
 };
 
-int main()
+int main(int, char**)
 {
     static_assert((std::is_same<std::reference_wrapper<functor1>::result_type,
                                 char>::value), "");
@@ -93,4 +93,6 @@ int main()
     static_assert(has_result_type<std::reference_wrapper<functor3> >::value, "");
     static_assert(!has_result_type<std::reference_wrapper<functor4> >::value, "");
     static_assert(!has_result_type<std::reference_wrapper<C> >::value, "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/unord.hash/enabled_hashes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/unord.hash/enabled_hashes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/unord.hash/enabled_hashes.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/unord.hash/enabled_hashes.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,6 +17,8 @@
 
 #include "poisoned_hash_helper.hpp"
 
-int main() {
+int main(int, char**) {
   test_library_hash_specializations_available();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.fail.cpp Mon Feb  4 12:31:13 2019
@@ -16,8 +16,10 @@
 
 struct X {};
 
-int main()
+int main(int, char**)
 {
     X x;
     size_t h = std::hash<X>{} ( x );
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.pass.cpp Mon Feb  4 12:31:13 2019
@@ -49,7 +49,7 @@ test()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test<Cardinals>();
 
@@ -59,4 +59,6 @@ int main()
     test<EightBitColors>();
 
     test<Fruits>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/unord.hash/floating.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/unord.hash/floating.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/unord.hash/floating.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/unord.hash/floating.pass.cpp Mon Feb  4 12:31:13 2019
@@ -64,9 +64,11 @@ test()
     assert(pinf != ninf);
 }
 
-int main()
+int main(int, char**)
 {
     test<float>();
     test<double>();
     test<long double>();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/unord.hash/integral.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/unord.hash/integral.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/unord.hash/integral.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/unord.hash/integral.pass.cpp Mon Feb  4 12:31:13 2019
@@ -46,7 +46,7 @@ test()
     }
 }
 
-int main()
+int main(int, char**)
 {
     test<bool>();
     test<char>();
@@ -108,4 +108,6 @@ int main()
     test<__int128_t>();
     test<__uint128_t>();
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 struct X {};
 
-int main()
+int main(int, char**)
 {
     using H = std::hash<X>;
     static_assert(!std::is_default_constructible<H>::value, "");
@@ -34,4 +34,6 @@ int main()
     static_assert(!std::is_invocable<H, X&>::value, "");
     static_assert(!std::is_invocable<H, X const&>::value, "");
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/function.objects/unord.hash/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/unord.hash/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/unord.hash/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/unord.hash/pointer.pass.cpp Mon Feb  4 12:31:13 2019
@@ -52,8 +52,10 @@ void test_nullptr()
 #endif
 }
 
-int main()
+int main(int, char**)
 {
     test<int*>();
     test_nullptr();
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/intseq/intseq.general/integer_seq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/intseq/intseq.general/integer_seq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/intseq/intseq.general/integer_seq.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/intseq/intseq.general/integer_seq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -21,7 +21,7 @@ auto extract ( const AtContainer &t, con
 -> decltype ( std::make_tuple ( std::get<I>(t)... ))
 {     return  std::make_tuple ( std::get<I>(t)... ); }
 
-int main()
+int main(int, char**)
 {
 //  Make a couple of sequences
     using int3    = std::make_integer_sequence<int, 3>;     // generates int:    0,1,2
@@ -76,4 +76,6 @@ int main()
     auto tsizemix = extract ( tup, sizemix ());
     static_assert ( std::tuple_size<decltype(tsizemix)>::value == sizemix::size (), "tsizemix size wrong");
     assert ( tsizemix == std::make_tuple ( 11, 11, 12, 13, 15 ));
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.fail.cpp Mon Feb  4 12:31:13 2019
@@ -23,7 +23,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
 #if TEST_STD_VER > 11
 
@@ -36,4 +36,6 @@ int main()
 X
 
 #endif  // TEST_STD_VER > 11
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 #include <cstddef>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
 //  Make a few of sequences
     using int3    = std::integer_sequence<int, 3, 2, 1>;
@@ -42,4 +42,6 @@ int main()
 
     static_assert ( std::is_same<bool0::value_type, bool>::value, "bool0 type wrong" );
     static_assert ( bool0::size() == 0, "bool0 size wrong" );
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp Mon Feb  4 12:31:13 2019
@@ -22,7 +22,7 @@
 
 #include "test_macros.h"
 
-int main()
+int main(int, char**)
 {
   typedef std::make_integer_sequence<int, -3> MakeSeqT;
 
@@ -33,4 +33,6 @@ int main()
 #else
     MakeSeqT i; // expected-error at utility:* {{static_assert failed "std::make_integer_sequence must have a non-negative sequence length"}}
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/intseq/intseq.make/make_integer_seq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/intseq/intseq.make/make_integer_seq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/intseq/intseq.make/make_integer_seq.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/intseq/intseq.make/make_integer_seq.pass.cpp Mon Feb  4 12:31:13 2019
@@ -17,7 +17,7 @@
 #include <type_traits>
 #include <cassert>
 
-int main()
+int main(int, char**)
 {
     static_assert(std::is_same<std::make_integer_sequence<int, 0>, std::integer_sequence<int>>::value, "");
     static_assert(std::is_same<std::make_integer_sequence<int, 1>, std::integer_sequence<int, 0>>::value, "");
@@ -28,4 +28,6 @@ int main()
     static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 1>, std::integer_sequence<unsigned long long, 0>>::value, "");
     static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 2>, std::integer_sequence<unsigned long long, 0, 1>>::value, "");
     static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 3>, std::integer_sequence<unsigned long long, 0, 1, 2>>::value, "");
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/intseq/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/intseq/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/intseq/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/intseq/nothing_to_do.pass.cpp Mon Feb  4 12:31:13 2019
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-int main()
+int main(int, char**)
 {
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/memory/allocator.tag/allocator_arg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.tag/allocator_arg.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.tag/allocator_arg.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.tag/allocator_arg.pass.cpp Mon Feb  4 12:31:13 2019
@@ -15,7 +15,9 @@
 
 void test(std::allocator_arg_t) {}
 
-int main()
+int main(int, char**)
 {
     test(std::allocator_arg);
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate.fail.cpp Mon Feb  4 12:31:13 2019
@@ -42,9 +42,11 @@ struct A
     }
 };
 
-int main()
+int main(int, char**)
 {
     A<int> a;
     std::allocator_traits<A<int> >::allocate(a, 10);          // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
     std::allocator_traits<A<int> >::allocate(a, 10, nullptr); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate.pass.cpp Mon Feb  4 12:31:13 2019
@@ -33,7 +33,7 @@ struct A
     }
 };
 
-int main()
+int main(int, char**)
 {
   {
     A<int> a;
@@ -45,4 +45,6 @@ int main()
     Alloc a;
     assert(std::allocator_traits<Alloc >::allocate(a, 10) == reinterpret_cast<VT*>(static_cast<std::uintptr_t>(0xDEADBEEF)));
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate_hint.pass.cpp Mon Feb  4 12:31:13 2019
@@ -53,7 +53,7 @@ struct B
 };
 
 
-int main()
+int main(int, char**)
 {
 #if TEST_STD_VER >= 11
   {
@@ -77,4 +77,6 @@ int main()
     Alloc b;
     assert(std::allocator_traits<Alloc >::allocate(b, 11, nullptr) == reinterpret_cast<VT*>(static_cast<std::uintptr_t>(0xFEADBEEF)));
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/construct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/construct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/construct.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/construct.pass.cpp Mon Feb  4 12:31:13 2019
@@ -81,7 +81,7 @@ struct A2
 
 int A2::count = 0;
 
-int main()
+int main(int, char**)
 {
     {
         A0::count = 0;
@@ -149,4 +149,6 @@ int main()
         assert(b_construct == 1);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/deallocate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/deallocate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/deallocate.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/deallocate.pass.cpp Mon Feb  4 12:31:13 2019
@@ -36,7 +36,7 @@ struct A
     }
 };
 
-int main()
+int main(int, char**)
 {
   {
     A<int> a;
@@ -51,4 +51,6 @@ int main()
     std::allocator_traits<Alloc >::deallocate(a, reinterpret_cast<VT*>(static_cast<std::uintptr_t>(0xDEADBEEF)), 10);
     assert(called == 1);
   }
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/destroy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/destroy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/destroy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/destroy.pass.cpp Mon Feb  4 12:31:13 2019
@@ -54,7 +54,7 @@ struct A0
 
 int A0::count = 0;
 
-int main()
+int main(int, char**)
 {
     {
         A0::count = 0;
@@ -86,4 +86,6 @@ int main()
         assert(b_destroy == 1);
     }
 #endif
+
+  return 0;
 }

Modified: libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/max_size.pass.cpp Mon Feb  4 12:31:13 2019
@@ -42,7 +42,7 @@ struct B
     }
 };
 
-int main()
+int main(int, char**)
 {
     {
         B<int> b;
@@ -74,4 +74,6 @@ int main()
         static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
     }
 #endif
+
+  return 0;
 }




More information about the libcxx-commits mailing list