[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/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert.fail.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,9 @@ test()
assert(B::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,9 @@ test()
assert(B::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert_assignment.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert_assignment.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert_assignment.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert_assignment.fail.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,9 @@ test()
assert(B::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert_assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert_assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert_assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/convert_assignment.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,7 +42,9 @@ test()
assert(B::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/copy.fail.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,9 @@ test()
assert(A::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,9 @@ test()
assert(A::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/explicit.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/explicit.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/explicit.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/explicit.fail.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,9 @@ test()
}
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,9 @@ test()
}
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/assign_from_auto_ptr_ref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/assign_from_auto_ptr_ref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/assign_from_auto_ptr_ref.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/assign_from_auto_ptr_ref.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,9 @@ test()
assert(A::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_from_auto_ptr_ref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_from_auto_ptr_ref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_from_auto_ptr_ref.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_from_auto_ptr_ref.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,9 @@ test()
assert(B::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_to_auto_ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_to_auto_ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_to_auto_ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_to_auto_ptr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,9 @@ test()
std::auto_ptr<A> ap2(source());
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_to_auto_ptr_ref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_to_auto_ptr_ref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_to_auto_ptr_ref.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/convert_to_auto_ptr_ref.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,9 @@ test()
delete p1;
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/arrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/arrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/arrow.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/arrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,9 @@ test()
assert(A::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/deref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/deref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/deref.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/deref.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,9 @@ test()
assert(A::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/release.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/release.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/release.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/release.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,9 @@ test()
assert(A::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/reset.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/reset.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/reset.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/reset.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,9 @@ test()
assert(A::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/element_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/element_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/element_type.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/element_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,9 +30,11 @@ test()
((void)p);
}
-int main()
+int main(int, char**)
{
test<int>();
test<double>();
test<void>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/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/depr/depr.c.headers/assert_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/assert_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/assert_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/assert_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,6 +14,8 @@
#error assert not defined
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/ciso646.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/ciso646.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/ciso646.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/ciso646.pass.cpp Mon Feb 4 12:31:13 2019
@@ -10,6 +10,8 @@
#include <ciso646>
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/complex.h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/complex.h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/complex.h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/complex.h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -10,8 +10,10 @@
#include <complex.h>
-int main()
+int main(int, char**)
{
std::complex<double> d;
(void)d;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/ctype_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/ctype_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/ctype_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/ctype_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -68,7 +68,7 @@
#error toupper defined
#endif
-int main()
+int main(int, char**)
{
static_assert((std::is_same<decltype(isalnum(0)), int>::value), "");
static_assert((std::is_same<decltype(isalpha(0)), int>::value), "");
@@ -99,4 +99,6 @@ int main()
assert(isxdigit('a'));
assert(tolower('A') == 'a');
assert(toupper('a') == 'A');
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/errno_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/errno_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/errno_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/errno_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,6 +27,8 @@
#error errno not defined
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/fenv_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/fenv_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/fenv_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/fenv_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,7 @@
#error FE_DFL_ENV not defined
#endif
-int main()
+int main(int, char**)
{
fenv_t fenv = {};
fexcept_t fex = 0;
@@ -72,4 +72,6 @@ int main()
static_assert((std::is_same<decltype(feholdexcept(&fenv)), int>::value), "");
static_assert((std::is_same<decltype(fesetenv(&fenv)), int>::value), "");
static_assert((std::is_same<decltype(feupdateenv(&fenv)), int>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/float_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/float_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/float_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/float_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -178,6 +178,8 @@
#endif
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/inttypes_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/inttypes_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/inttypes_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/inttypes_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -877,7 +877,7 @@ template <class T> void test()
((void)t); // Prevent unused warning
}
-int main()
+int main(int, char**)
{
test<int8_t >();
test<int16_t>();
@@ -927,4 +927,6 @@ int main()
static_assert((std::is_same<decltype(strtoumax("", (char**)0, 0)), uintmax_t>::value), "");
static_assert((std::is_same<decltype(wcstoimax(L"", (wchar_t**)0, 0)), intmax_t>::value), "");
static_assert((std::is_same<decltype(wcstoumax(L"", (wchar_t**)0, 0)), uintmax_t>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/iso646_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/iso646_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/iso646_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/iso646_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -10,7 +10,9 @@
#include <iso646.h>
-int main()
+int main(int, char**)
{
// Nothing to test
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/limits_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/limits_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/limits_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/limits_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -86,6 +86,8 @@
#error ULLONG_MAX not defined
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/locale_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/locale_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/locale_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/locale_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,9 +39,11 @@
#error NULL not defined
#endif
-int main()
+int main(int, char**)
{
lconv lc; ((void)lc);
static_assert((std::is_same<decltype(setlocale(0, "")), char*>::value), "");
static_assert((std::is_same<decltype(localeconv()), lconv*>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/math_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/math_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/math_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/math_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -1463,7 +1463,7 @@ void test_trunc()
assert(trunc(1) == 1);
}
-int main()
+int main(int, char**)
{
test_abs();
test_acos();
@@ -1535,4 +1535,6 @@ int main()
test_scalbn();
test_tgamma();
test_trunc();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/setjmp_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/setjmp_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/setjmp_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/setjmp_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,10 +15,12 @@
#error setjmp not defined
#endif
-int main()
+int main(int, char**)
{
jmp_buf jb;
((void)jb); // Prevent unused warning
static_assert((std::is_same<decltype(longjmp(jb, 0)), void>::value),
"std::is_same<decltype(longjmp(jb, 0)), void>::value");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/signal_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/signal_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/signal_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/signal_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,10 +47,12 @@
#error SIGTERM not defined
#endif
-int main()
+int main(int, char**)
{
sig_atomic_t sig; ((void)sig);
typedef void (*func)(int);
static_assert((std::is_same<decltype(signal(0, (func)0)), func>::value), "");
static_assert((std::is_same<decltype(raise(0)), int>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/stdarg_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/stdarg_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/stdarg_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/stdarg_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,8 +30,10 @@
#error va_start not defined
#endif
-int main()
+int main(int, char**)
{
va_list va;
((void)va);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/stdbool_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/stdbool_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/stdbool_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/stdbool_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,6 +26,8 @@
#error false should not be defined
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/stddef_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/stddef_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/stddef_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/stddef_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#error offsetof not defined
#endif
-int main()
+int main(int, char**)
{
void *p = NULL;
assert(!p);
@@ -65,4 +65,6 @@ int main()
std::alignment_of<void*>::value,
"std::alignment_of<max_align_t>::value >= "
"std::alignment_of<void*>::value");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/stdint_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/stdint_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/stdint_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/stdint_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <limits>
#include <cassert>
-int main()
+int main(int, char**)
{
// typedef int8_t
static_assert(sizeof(int8_t)*CHAR_BIT == 8,
@@ -287,4 +287,6 @@ int main()
#ifndef UINTMAX_C
#error UINTMAX_C not defined
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/stdio_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/stdio_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/stdio_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/stdio_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -103,7 +103,7 @@
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // for tmpnam
#endif
-int main()
+int main(int, char**)
{
FILE* fp = 0;
fpos_t fpos = fpos_t();
@@ -165,4 +165,6 @@ int main()
static_assert((std::is_same<decltype(feof(fp)), int>::value), "");
static_assert((std::is_same<decltype(ferror(fp)), int>::value), "");
static_assert((std::is_same<decltype(perror("")), void>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/stdlib_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/stdlib_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/stdlib_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/stdlib_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -63,7 +63,7 @@
#error RAND_MAX not defined
#endif
-int main()
+int main(int, char**)
{
size_t s = 0; ((void)s);
div_t d; ((void)d);
@@ -116,4 +116,6 @@ int main()
static_assert((std::is_same<decltype(wctomb(pc,L' ')), int>::value), "");
static_assert((std::is_same<decltype(mbstowcs(pw,"",0)), size_t>::value), "");
static_assert((std::is_same<decltype(wcstombs(pc,pwc,0)), size_t>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/string_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/string_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/string_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/string_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#error NULL not defined
#endif
-int main()
+int main(int, char**)
{
size_t s = 0;
void* vp = 0;
@@ -57,4 +57,6 @@ int main()
static_assert((std::is_same<decltype(strstr(cpc, cpc)), const char*>::value), "");
static_assert((std::is_same<decltype(memchr(vpc, 0, s)), const void*>::value), "");
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/tgmath_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/tgmath_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/tgmath_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/tgmath_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -10,10 +10,12 @@
#include <tgmath.h>
-int main()
+int main(int, char**)
{
std::complex<double> cd;
(void)cd;
double x = sin(1.0);
(void)x; // to placate scan-build
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/time_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/time_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/time_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/time_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#error CLOCKS_PER_SEC not defined
#endif
-int main()
+int main(int, char**)
{
clock_t c = 0; ((void)c);
size_t s = 0;
@@ -36,4 +36,6 @@ int main()
char* c1 = 0;
const char* c2 = 0;
static_assert((std::is_same<decltype(strftime(c1,s,c2,&tmv)), size_t>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/uchar_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/uchar_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/uchar_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/uchar_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,6 +15,8 @@
#include <uchar.h>
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/wchar_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/wchar_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/wchar_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/wchar_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error WEOF not defined
#endif
-int main()
+int main(int, char**)
{
// mbstate_t comes from the underlying C library; it is defined (in C99) as:
// a complete object type other than an array type that can hold the conversion
@@ -126,4 +126,6 @@ int main()
static_assert((std::is_same<decltype(vwprintf(L"", va)), int>::value), "");
static_assert((std::is_same<decltype(wprintf(L"")), int>::value), "");
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.c.headers/wctype_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/wctype_h.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/wctype_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/wctype_h.pass.cpp Mon Feb 4 12:31:13 2019
@@ -87,7 +87,7 @@
#error wctrans defined
#endif
-int main()
+int main(int, char**)
{
wint_t w = 0;
wctrans_t wctr = 0;
@@ -110,4 +110,6 @@ int main()
static_assert((std::is_same<decltype(towupper(w)), wint_t>::value), "");
static_assert((std::is_same<decltype(towctrans(w, wctr)), wint_t>::value), "");
static_assert((std::is_same<decltype(wctrans("")), wctrans_t>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_binary_function.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_binary_function.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_binary_function.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_binary_function.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,9 @@
double binary_f(int i, short j) {return i - j + .75;}
-int main()
+int main(int, char**)
{
typedef std::pointer_to_binary_function<int, short, double> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_binary_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_binary_function.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_binary_function.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_binary_function.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,10 +17,12 @@
double binary_f(int i, short j) {return i - j + .75;}
-int main()
+int main(int, char**)
{
typedef std::pointer_to_binary_function<int, short, double> F;
static_assert((std::is_base_of<std::binary_function<int, short, double>, F>::value), "");
const F f(binary_f);
assert(f(36, 27) == 9.75);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_unary_function.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_unary_function.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_unary_function.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_unary_function.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,9 @@
double unary_f(int i) {return 0.5 - i;}
-int main()
+int main(int, char**)
{
typedef std::pointer_to_unary_function<int, double> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_unary_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_unary_function.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_unary_function.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_unary_function.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,10 +17,12 @@
double unary_f(int i) {return 0.5 - i;}
-int main()
+int main(int, char**)
{
typedef std::pointer_to_unary_function<int, double> F;
static_assert((std::is_base_of<std::unary_function<int, double>, F>::value), "");
const F f(unary_f);
assert(f(36) == -35.5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun1.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun1.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun1.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun1.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,9 @@
double unary_f(int i) {return 0.5 - i;}
-int main()
+int main(int, char**)
{
assert(std::ptr_fun(unary_f)(36) == -35.5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun1.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,9 @@
double unary_f(int i) {return 0.5 - i;}
-int main()
+int main(int, char**)
{
assert(std::ptr_fun(unary_f)(36) == -35.5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun2.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun2.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun2.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun2.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,9 @@
double binary_f(int i, short j) {return i - j + .75;}
-int main()
+int main(int, char**)
{
assert(std::ptr_fun(binary_f)(36, 27) == 9.75);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun2.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,9 @@
double binary_f(int i, short j) {return i - j + .75;}
-int main()
+int main(int, char**)
{
assert(std::ptr_fun(binary_f)(36, 27) == 9.75);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
const A a = A();
assert(std::mem_fun(&A::a3)(&a) == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,8 +24,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
const A a = A();
assert(std::mem_fun(&A::a3)(&a) == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
const A a = A();
assert(std::mem_fun(&A::a4)(&a, 6) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,8 +24,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
const A a = A();
assert(std::mem_fun(&A::a4)(&a, 6) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_ref_t.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_ref_t.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_ref_t.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_ref_t.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,9 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::const_mem_fun1_ref_t<double, A, unsigned> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_ref_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_ref_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_ref_t.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_ref_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,11 +23,13 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::const_mem_fun1_ref_t<double, A, unsigned> F;
static_assert((std::is_base_of<std::binary_function<A, unsigned, double>, F>::value), "");
const F f(&A::a4);
const A a = A();
assert(f(a, 6) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_t.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_t.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_t.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_t.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,9 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::const_mem_fun1_t<double, A, unsigned> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_t.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,11 +23,13 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::const_mem_fun1_t<double, A, unsigned> F;
static_assert((std::is_base_of<std::binary_function<const A*, unsigned, double>, F>::value), "");
const F f(&A::a4);
const A a = A();
assert(f(&a, 6) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
const A a = A();
assert(std::mem_fun_ref(&A::a3)(a) == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,8 +24,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
const A a = A();
assert(std::mem_fun_ref(&A::a3)(a) == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref1.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref1.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref1.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref1.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
const A a = A();
assert(std::mem_fun_ref(&A::a4)(a, 6) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref1.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,8 +24,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
const A a = A();
assert(std::mem_fun_ref(&A::a4)(a, 6) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref_t.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref_t.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref_t.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref_t.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,9 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::const_mem_fun_ref_t<int, A> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref_t.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,11 +23,13 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::const_mem_fun_ref_t<int, A> F;
static_assert((std::is_base_of<std::unary_function<A, int>, F>::value), "");
const F f(&A::a3);
const A a = A();
assert(f(a) == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_t.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_t.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_t.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_t.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,9 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::const_mem_fun_t<int, A> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_t.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,11 +23,13 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::const_mem_fun_t<int, A> F;
static_assert((std::is_base_of<std::unary_function<const A*, int>, F>::value), "");
const F f(&A::a3);
const A a = A();
assert(f(&a) == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
A a;
assert(std::mem_fun(&A::a1)(&a) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,8 +24,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
A a;
assert(std::mem_fun(&A::a1)(&a) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
A a;
assert(std::mem_fun(&A::a2)(&a, 5) == 6);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,8 +24,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
A a;
assert(std::mem_fun(&A::a2)(&a, 5) == 6);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_ref_t.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_ref_t.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_ref_t.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_ref_t.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,9 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::mem_fun1_ref_t<short, A, int> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_ref_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_ref_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_ref_t.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_ref_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,11 +23,13 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::mem_fun1_ref_t<short, A, int> F;
static_assert((std::is_base_of<std::binary_function<A, int, short>, F>::value), "");
const F f(&A::a2);
A a;
assert(f(a, 5) == 6);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_t.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_t.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_t.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_t.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,9 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::mem_fun1_t<short, A, int> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_t.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,11 +23,13 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::mem_fun1_t<short, A, int> F;
static_assert((std::is_base_of<std::binary_function<A*, int, short>, F>::value), "");
const F f(&A::a2);
A a;
assert(f(&a, 5) == 6);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
A a;
assert(std::mem_fun_ref(&A::a1)(a) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,8 +24,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
A a;
assert(std::mem_fun_ref(&A::a1)(a) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref1.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref1.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref1.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref1.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
A a;
assert(std::mem_fun_ref(&A::a2)(a, 5) == 6);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref1.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,8 +24,10 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
A a;
assert(std::mem_fun_ref(&A::a2)(a, 5) == 6);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref_t.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref_t.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref_t.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref_t.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,9 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::mem_fun_ref_t<char, A> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref_t.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,11 +23,13 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::mem_fun_ref_t<char, A> F;
static_assert((std::is_base_of<std::unary_function<A, char>, F>::value), "");
const F f(&A::a1);
A a;
assert(f(a) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_t.cxx1z.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_t.cxx1z.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_t.cxx1z.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_t.cxx1z.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,9 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::mem_fun_t<char, A> F;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_t.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,11 +23,13 @@ struct A
double a4(unsigned i) const {return i-1;}
};
-int main()
+int main(int, char**)
{
typedef std::mem_fun_t<char, A> F;
static_assert((std::is_base_of<std::unary_function<A*, char>, F>::value), "");
const F f(&A::a1);
A a;
assert(f(&a) == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.adaptors/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/depr/depr.function.objects/depr.base/binary_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,9 +21,11 @@
#include <functional>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_same<std::binary_function<int, unsigned, char>::first_argument_type, int>::value), "");
static_assert((std::is_same<std::binary_function<int, unsigned, char>::second_argument_type, unsigned>::value), "");
static_assert((std::is_same<std::binary_function<int, unsigned, char>::result_type, char>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/depr.base/unary_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/depr.base/unary_function.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/depr.base/unary_function.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/depr.base/unary_function.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include <functional>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_same<std::unary_function<unsigned, char>::argument_type, unsigned>::value), "");
static_assert((std::is_same<std::unary_function<unsigned, char>::result_type, char>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.function.objects/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.function.objects/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.function.objects/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.function.objects/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/depr/depr.ios.members/io_state.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.ios.members/io_state.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.ios.members/io_state.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.ios.members/io_state.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,10 +20,12 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
#if TEST_STD_VER <= 14
std::strstream::io_state b = std::strstream::eofbit;
assert(b == std::ios::eofbit);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.ios.members/open_mode.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.ios.members/open_mode.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.ios.members/open_mode.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.ios.members/open_mode.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,10 +20,12 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
#if TEST_STD_VER <= 14
std::strstream::open_mode b = std::strstream::app;
assert(b == std::ios::app);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.ios.members/seek_dir.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.ios.members/seek_dir.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.ios.members/seek_dir.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.ios.members/seek_dir.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,10 +20,12 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
#if TEST_STD_VER <= 14
std::strstream::seek_dir b = std::strstream::cur;
assert(b == std::ios::cur);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.ios.members/streamoff.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.ios.members/streamoff.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.ios.members/streamoff.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.ios.members/streamoff.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,10 +20,12 @@
#include <ios>
#include <type_traits>
-int main()
+int main(int, char**)
{
#if TEST_STD_VER <= 14
static_assert((std::is_integral<std::ios_base::streamoff>::value), "");
static_assert((std::is_signed<std::ios_base::streamoff>::value), "");
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.ios.members/streampos.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.ios.members/streampos.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.ios.members/streampos.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.ios.members/streampos.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,9 +20,11 @@
#include <ios>
#include <type_traits>
-int main()
+int main(int, char**)
{
#if TEST_STD_VER <= 14
static_assert((std::is_same<std::ios_base::streampos, std::streampos>::value), "");
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,9 @@
#include "../test_func.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
std::bind1st(test_func(1), 5); // expected-error{{'bind1st<test_func, int>' is deprecated}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,9 @@
#include "../test_func.h"
-int main()
+int main(int, char**)
{
assert(std::bind1st(test_func(1), 5)(10.) == -5.);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.depr_in_cxx11.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.depr_in_cxx11.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.depr_in_cxx11.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.depr_in_cxx11.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,9 @@
#include "../test_func.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
std::bind2nd(test_func(1), 5); // expected-error{{'bind2nd<test_func, int>' is deprecated}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,9 @@
#include "../test_func.h"
-int main()
+int main(int, char**)
{
assert(std::bind2nd(test_func(1), 5)(10) == 5.);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.depr_in_cxx11.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.depr_in_cxx11.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.depr_in_cxx11.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.depr_in_cxx11.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,9 @@
#include "../test_func.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::binder1st<test_func> B1ST; // expected-error{{'binder1st<test_func>' is deprecated}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,8 +51,10 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
t.do_test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.depr_in_cxx11.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.depr_in_cxx11.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.depr_in_cxx11.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.depr_in_cxx11.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,9 @@
#include "../test_func.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::binder2nd<test_func> B2ND; // expected-error{{'binder2nd<test_func>' is deprecated}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,8 +51,10 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
t.do_test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.lib.binders/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.lib.binders/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.lib.binders/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.lib.binders/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/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ccp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ccp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ccp.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ccp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <string>
-int main()
+int main(int, char**)
{
{
const char buf[] = "123 4.5 dog";
@@ -40,4 +40,6 @@ int main()
assert(buf[9] == 'o');
assert(buf[10] == 'g');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ccp_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ccp_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ccp_size.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ccp_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <string>
-int main()
+int main(int, char**)
{
{
const char buf[] = "123 4.5 dog";
@@ -40,4 +40,6 @@ int main()
assert(buf[5] == '.');
assert(buf[6] == '5');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/cp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/cp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/cp.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/cp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <string>
-int main()
+int main(int, char**)
{
{
char buf[] = "123 4.5 dog";
@@ -40,4 +40,6 @@ int main()
assert(buf[9] == 'g');
assert(buf[10] == 'g');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/cp_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/cp_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/cp_size.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/cp_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <string>
-int main()
+int main(int, char**)
{
{
char buf[] = "123 4.5 dog";
@@ -40,4 +40,6 @@ int main()
assert(buf[5] == '5');
assert(buf[6] == '5');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/rdbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/rdbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/rdbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/rdbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const char buf[] = "123 4.5 dog";
@@ -23,4 +23,6 @@ int main()
std::strstreambuf* sb = in.rdbuf();
assert(sb->sgetc() == '1');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const char buf[] = "123 4.5 dog";
std::istrstream in(buf);
assert(in.str() == std::string("123 4.5 dog"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.istrstream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,9 @@
#include <strstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::istream, std::istrstream>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/cp_size_mode.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/cp_size_mode.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/cp_size_mode.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/cp_size_mode.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <string>
-int main()
+int main(int, char**)
{
{
char buf[] = "123 4.5 dog";
@@ -38,4 +38,6 @@ int main()
out << i << ' ' << d << ' ' << s << std::ends;
assert(out.str() == std::string("123 4.5 dog321 5.5 cat"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <string>
-int main()
+int main(int, char**)
{
std::ostrstream out;
int i = 123;
@@ -25,4 +25,6 @@ int main()
out << i << ' ' << d << ' ' << s << std::ends;
assert(out.str() == std::string("123 4.5 dog"));
out.freeze(false);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/freeze.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/freeze.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/freeze.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/freeze.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostrstream out;
@@ -30,4 +30,6 @@ int main()
assert(out.str() == std::string("a"));
out.freeze(false);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/pcount.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/pcount.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/pcount.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/pcount.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostrstream out;
@@ -23,4 +23,6 @@ int main()
out << 123 << ' ' << 4.5 << ' ' << "dog";
assert(out.pcount() == 11);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/rdbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/rdbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/rdbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/rdbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
char buf[] = "123 4.5 dog";
@@ -24,4 +24,6 @@ int main()
assert(sb->sputc('a') == 'a');
assert(buf == std::string("a23 4.5 dog"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/str.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/str.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostrstream out;
@@ -23,4 +23,6 @@ int main()
assert(out.str() == std::string("123 4.5 dog"));
out.freeze(false);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.ostrstream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,9 @@
#include <strstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::ostream, std::ostrstream>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/cp_size_mode.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/cp_size_mode.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/cp_size_mode.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/cp_size_mode.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <string>
-int main()
+int main(int, char**)
{
{
char buf[] = "123 4.5 dog";
@@ -56,4 +56,6 @@ int main()
inout << i << ' ' << d << ' ' << s;
assert(inout.str() == std::string("123 4.5 dog321 5.5 cat"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cstring>
#include <string>
-int main()
+int main(int, char**)
{
std::strstream inout;
int i = 123;
@@ -33,4 +33,6 @@ int main()
assert(d == 4.5);
assert(std::strcmp(s.c_str(), "dog") == 0);
inout.freeze(false);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.dest/rdbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.dest/rdbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.dest/rdbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.dest/rdbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
char buf[] = "123 4.5 dog";
@@ -24,4 +24,6 @@ int main()
assert(sb->sputc('a') == 'a');
assert(buf == std::string("a23 4.5 dog"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/freeze.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/freeze.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/freeze.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/freeze.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::strstream out;
@@ -30,4 +30,6 @@ int main()
assert(out.str() == std::string("a"));
out.freeze(false);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/pcount.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/pcount.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/pcount.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/pcount.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::strstream out;
@@ -23,4 +23,6 @@ int main()
out << 123 << ' ' << 4.5 << ' ' << "dog";
assert(out.pcount() == 11);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/str.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.oper/str.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::strstream out;
@@ -23,4 +23,6 @@ int main()
assert(out.str() == std::string("123 4.5 dog"));
out.freeze(false);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,11 +21,13 @@
#include <strstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::iostream, std::strstream>::value), "");
static_assert((std::is_same<std::strstream::char_type, char>::value), "");
static_assert((std::is_same<std::strstream::int_type, std::char_traits<char>::int_type>::value), "");
static_assert((std::is_same<std::strstream::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::strstream::off_type, std::char_traits<char>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ccp_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ccp_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ccp_size.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ccp_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const char buf[] = "abcd";
@@ -36,4 +36,6 @@ int main()
assert(sb.snextc() == 'd');
assert(sb.snextc() == EOF);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cp_size_cp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cp_size_cp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cp_size_cp.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cp_size_cp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <cstring>
-int main()
+int main(int, char**)
{
{
char buf[] = "abcd";
@@ -93,4 +93,6 @@ int main()
assert(sb.snextc() == 'j');
assert(sb.snextc() == EOF);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cscp_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cscp_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cscp_size.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cscp_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const signed char buf[] = "abcd";
@@ -36,4 +36,6 @@ int main()
assert(sb.snextc() == 'd');
assert(sb.snextc() == EOF);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cucp_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cucp_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cucp_size.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/cucp_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
unsigned char buf[] = "abcd";
@@ -36,4 +36,6 @@ int main()
assert(sb.snextc() == 'd');
assert(sb.snextc() == EOF);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/custom_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/custom_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/custom_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/custom_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ struct test
{return std::strstreambuf::overflow(c);}
};
-int main()
+int main(int, char**)
{
{
test s(my_alloc, my_free);
@@ -47,4 +47,6 @@ int main()
assert(called == 1);
}
assert(called == 2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::strstreambuf s;
@@ -27,4 +27,6 @@ int main()
assert(s.str() == nullptr);
assert(s.pcount() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/scp_size_scp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/scp_size_scp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/scp_size_scp.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/scp_size_scp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <cstring>
-int main()
+int main(int, char**)
{
{
signed char buf[] = "abcd";
@@ -93,4 +93,6 @@ int main()
assert(sb.snextc() == 'j');
assert(sb.snextc() == EOF);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ucp_size_ucp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ucp_size_ucp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ucp_size_ucp.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ucp_size_ucp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include <cstring>
-int main()
+int main(int, char**)
{
{
unsigned char buf[] = "abcd";
@@ -93,4 +93,6 @@ int main()
assert(sb.snextc() == 'j');
assert(sb.snextc() == EOF);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/freeze.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/freeze.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/freeze.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/freeze.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::strstreambuf sb;
@@ -24,4 +24,6 @@ int main()
sb.freeze(false);
assert(sb.sputc('a') == 'a');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/overflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/overflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/overflow.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/overflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include <string>
#include <strstream>
-int main() {
+int main(int, char**) {
std::ostrstream oss;
std::string s;
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/pcount.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/pcount.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/pcount.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/pcount.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::strstreambuf sb;
@@ -28,4 +28,6 @@ int main()
assert(sb.pcount() == 2);
sb.freeze(false);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/str.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/str.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::strstreambuf sb;
@@ -24,4 +24,6 @@ int main()
assert(sb.str() == std::string("a"));
sb.freeze(false);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/overflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/overflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/overflow.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/overflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
char buf[12] = "abc";
@@ -43,4 +43,6 @@ int main()
assert(sb.sputc('1') == '1');
assert(sb.str() == std::string("12345678901"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/pbackfail.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/pbackfail.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/pbackfail.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/pbackfail.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct test
virtual int_type pbackfail(int_type c = EOF) {return base::pbackfail(c);}
};
-int main()
+int main(int, char**)
{
{
const char buf[] = "123";
@@ -58,4 +58,6 @@ int main()
assert(sb.pbackfail(EOF) == EOF);
assert(sb.str() == std::string("133"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/seekoff.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/seekoff.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/seekoff.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/seekoff.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
char buf[] = "0123456789";
@@ -53,4 +53,6 @@ int main()
assert(sb.sputc('c') == 'c');
assert(sb.str() == std::string("012a456c89"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/seekpos.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/seekpos.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/seekpos.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/seekpos.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
char buf[] = "0123456789";
@@ -35,4 +35,6 @@ int main()
assert(sb.sputc('a') == 'a');
assert(sb.str() == std::string("012a456789"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/setbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/setbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/setbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/setbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
char buf[] = "0123456789";
@@ -23,4 +23,6 @@ int main()
assert(sb.pubsetbuf(0, 0) == &sb);
assert(sb.str() == std::string("0123456789"));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/underflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/underflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/underflow.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/underflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct test
base::int_type underflow() {return base::underflow();}
};
-int main()
+int main(int, char**)
{
{
char buf[10] = "123";
@@ -47,4 +47,6 @@ int main()
assert(sb.underflow() == '4');
assert(sb.underflow() == '4');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/types.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,9 @@
#include <strstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::streambuf, std::strstreambuf>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/exception.unexpected/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/exception.unexpected/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/exception.unexpected/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/exception.unexpected/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/depr/exception.unexpected/set.unexpected/get_unexpected.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/exception.unexpected/set.unexpected/get_unexpected.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/exception.unexpected/set.unexpected/get_unexpected.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/exception.unexpected/set.unexpected/get_unexpected.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@ void f3()
std::exit(0);
}
-int main()
+int main(int, char**)
{
std::unexpected_handler old = std::get_unexpected();
@@ -37,4 +37,6 @@ int main()
std::set_terminate(f3);
(*old)();
assert(0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/exception.unexpected/set.unexpected/set_unexpected.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/exception.unexpected/set.unexpected/set_unexpected.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/exception.unexpected/set.unexpected/set_unexpected.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/exception.unexpected/set.unexpected/set_unexpected.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@ void f3()
std::exit(0);
}
-int main()
+int main(int, char**)
{
std::unexpected_handler old = std::set_unexpected(f1);
// verify there is a previous unexpected handler
@@ -33,4 +33,6 @@ int main()
std::set_terminate(f3);
(*old)();
assert(0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,8 +14,10 @@
void f() {}
-int main()
+int main(int, char**)
{
std::unexpected_handler p = f;
((void)p);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,9 +19,11 @@ void f1()
std::exit(0);
}
-int main()
+int main(int, char**)
{
std::set_unexpected(f1);
std::unexpected();
assert(false);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/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/diagnostics/assertions/cassert.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/assertions/cassert.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/assertions/cassert.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/assertions/cassert.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,6 +14,8 @@
#error assert not defined
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/diagnostics.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/diagnostics.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/diagnostics.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/diagnostics.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/diagnostics/errno/cerrno.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/errno/cerrno.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/errno/cerrno.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/errno/cerrno.pass.cpp Mon Feb 4 12:31:13 2019
@@ -339,6 +339,8 @@
#error errno not defined
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/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/diagnostics/std.exceptions/domain.error/domain_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/std.exceptions/domain.error/domain_error.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/std.exceptions/domain.error/domain_error.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/std.exceptions/domain.error/domain_error.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::logic_error, std::domain_error>::value),
"std::is_base_of<std::logic_error, std::domain_error>::value");
@@ -38,4 +38,6 @@ int main()
e2 = e;
assert(e2.what() == msg);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/std.exceptions/invalid.argument/invalid_argument.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/std.exceptions/invalid.argument/invalid_argument.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/std.exceptions/invalid.argument/invalid_argument.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/std.exceptions/invalid.argument/invalid_argument.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::logic_error, std::invalid_argument>::value),
"std::is_base_of<std::logic_error, std::invalid_argument>::value");
@@ -38,4 +38,6 @@ int main()
e2 = e;
assert(e2.what() == msg);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/std.exceptions/length.error/length_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/std.exceptions/length.error/length_error.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/std.exceptions/length.error/length_error.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/std.exceptions/length.error/length_error.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::logic_error, std::length_error>::value),
"std::is_base_of<std::logic_error, std::length_error>::value");
@@ -38,4 +38,6 @@ int main()
e2 = e;
assert(e2.what() == msg);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/std.exceptions/logic.error/logic_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/std.exceptions/logic.error/logic_error.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/std.exceptions/logic.error/logic_error.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/std.exceptions/logic.error/logic_error.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::exception, std::logic_error>::value),
"std::is_base_of<std::exception, std::logic_error>::value");
@@ -38,4 +38,6 @@ int main()
e2 = e;
assert(e2.what() == msg);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/std.exceptions/out.of.range/out_of_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/std.exceptions/out.of.range/out_of_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/std.exceptions/out.of.range/out_of_range.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/std.exceptions/out.of.range/out_of_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::logic_error, std::out_of_range>::value),
"std::is_base_of<std::logic_error, std::out_of_range>::value");
@@ -38,4 +38,6 @@ int main()
e2 = e;
assert(e2.what() == msg);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/std.exceptions/overflow.error/overflow_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/std.exceptions/overflow.error/overflow_error.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/std.exceptions/overflow.error/overflow_error.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/std.exceptions/overflow.error/overflow_error.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::runtime_error, std::overflow_error>::value),
"std::is_base_of<std::runtime_error, std::overflow_error>::value");
@@ -38,4 +38,6 @@ int main()
e2 = e;
assert(e2.what() == msg);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/std.exceptions/range.error/range_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/std.exceptions/range.error/range_error.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/std.exceptions/range.error/range_error.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/std.exceptions/range.error/range_error.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::runtime_error, std::range_error>::value),
"std::is_base_of<std::runtime_error, std::range_error>::value");
@@ -38,4 +38,6 @@ int main()
e2 = e;
assert(e2.what() == msg);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/std.exceptions/runtime.error/runtime_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/std.exceptions/runtime.error/runtime_error.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/std.exceptions/runtime.error/runtime_error.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/std.exceptions/runtime.error/runtime_error.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::exception, std::runtime_error>::value),
"std::is_base_of<std::exception, std::runtime_error>::value");
@@ -38,4 +38,6 @@ int main()
e2 = e;
assert(e2.what() == msg);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/std.exceptions/underflow.error/underflow_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/std.exceptions/underflow.error/underflow_error.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/std.exceptions/underflow.error/underflow_error.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/std.exceptions/underflow.error/underflow_error.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::runtime_error, std::underflow_error>::value),
"std::is_base_of<std::runtime_error, std::underflow_error>::value");
@@ -38,4 +38,6 @@ int main()
e2 = e;
assert(e2.what() == msg);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/errc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/errc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/errc.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/errc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,7 +12,7 @@
#include <system_error>
-int main()
+int main(int, char**)
{
static_assert(static_cast<int>(std::errc::address_family_not_supported) == EAFNOSUPPORT, "");
static_assert(static_cast<int>(std::errc::address_in_use) == EADDRINUSE, "");
@@ -100,4 +100,6 @@ int main()
static_assert(static_cast<int>(std::errc::too_many_symbolic_link_levels) == ELOOP, "");
static_assert(static_cast<int>(std::errc::value_too_large) == EOVERFLOW, "");
static_assert(static_cast<int>(std::errc::wrong_protocol_type) == EPROTOTYPE, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,7 @@ namespace std
}
-int main()
+int main(int, char**)
{
test<false, void>();
test<false, int>();
@@ -47,4 +47,6 @@ int main()
test<false, std::string>();
test<true, A>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/is_error_condition_enum.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/is_error_condition_enum.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/is_error_condition_enum.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/is_error_condition_enum.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,7 @@ namespace std
}
-int main()
+int main(int, char**)
{
test<false, void>();
test<false, int>();
@@ -47,4 +47,6 @@ int main()
test<false, std::string>();
test<true, A>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.compare/eq_error_code_error_code.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.compare/eq_error_code_error_code.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.compare/eq_error_code_error_code.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.compare/eq_error_code_error_code.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
std::error_code e_code1(5, std::generic_category());
std::error_code e_code2(5, std::system_category());
@@ -102,4 +102,6 @@ int main()
assert(e_condition4 != e_condition2);
assert(e_condition4 != e_condition3);
assert(e_condition4 == e_condition4);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/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/diagnostics/syserr/syserr.errcat/syserr.errcat.derived/message.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.derived/message.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.derived/message.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.derived/message.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <stdio.h>
-int main()
+int main(int, char**)
{
const std::error_category& e_cat1 = std::generic_category();
const std::error_category& e_cat2 = std::system_category();
@@ -30,4 +30,6 @@ int main()
assert(!m3.empty());
assert(m1 == m2);
assert(m1 != m3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/default_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/default_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/default_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/default_ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ public:
virtual std::string message(int) const {return std::string();}
};
-int main()
+int main(int, char**)
{
static_assert(std::is_nothrow_default_constructible<test1>::value,
"error_category() must exist and be noexcept");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/eq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_category& e_cat1 = std::generic_category();
const std::error_category& e_cat2 = std::generic_category();
const std::error_category& e_cat3 = std::system_category();
assert(e_cat1 == e_cat2);
assert(!(e_cat1 == e_cat3));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/lt.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_category& e_cat1 = std::generic_category();
const std::error_category& e_cat2 = std::generic_category();
const std::error_category& e_cat3 = std::system_category();
assert(!(e_cat1 < e_cat2) && !(e_cat2 < e_cat1));
assert((e_cat1 < e_cat3) || (e_cat3 < e_cat1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/neq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/neq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/neq.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/neq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_category& e_cat1 = std::generic_category();
const std::error_category& e_cat2 = std::generic_category();
const std::error_category& e_cat3 = std::system_category();
assert(!(e_cat1 != e_cat2));
assert(e_cat1 != e_cat3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,7 @@ void test_message_for_bad_value() {
assert(errno == E2BIG);
}
-int main()
+int main(int, char**)
{
const std::error_category& e_cat1 = std::generic_category();
std::string m1 = e_cat1.name();
@@ -43,4 +43,6 @@ int main()
{
test_message_for_bad_value();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,7 @@ void test_message_for_bad_value() {
assert(errno == E2BIG);
}
-int main()
+int main(int, char**)
{
const std::error_category& e_cat1 = std::system_category();
std::error_condition e_cond = e_cat1.default_error_condition(5);
@@ -47,4 +47,6 @@ int main()
{
test_message_for_bad_value();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.overview/error_category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.overview/error_category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.overview/error_category.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.overview/error_category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,8 +12,10 @@
#include <system_error>
-int main()
+int main(int, char**)
{
std::error_category* p = 0;
((void)p);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/default_error_condition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/default_error_condition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/default_error_condition.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/default_error_condition.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,10 +15,12 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_category& e_cat = std::generic_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/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/equivalent_error_code_int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/equivalent_error_code_int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/equivalent_error_code_int.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/equivalent_error_code_int.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,9 +15,11 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_category& e_cat = std::generic_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/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/equivalent_int_error_condition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/equivalent_int_error_condition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/equivalent_int_error_condition.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/equivalent_int_error_condition.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,10 +15,12 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_category& e_cat = std::generic_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/diagnostics/syserr/syserr.errcode/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/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/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/ErrorCodeEnum.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/ErrorCodeEnum.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/ErrorCodeEnum.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/ErrorCodeEnum.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,11 +33,13 @@ make_error_code(testing x)
return std::error_code(static_cast<int>(x), std::generic_category());
}
-int main()
+int main(int, char**)
{
{
std::error_code ec(two);
assert(ec.value() == 2);
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/default.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,9 +15,11 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
std::error_code ec;
assert(ec.value() == 0);
assert(ec.category() == std::system_category());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/int_error_category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/int_error_category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/int_error_category.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/int_error_category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_code ec(6, std::system_category());
@@ -27,4 +27,6 @@ int main()
assert(ec.value() == 8);
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/ErrorCodeEnum.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/ErrorCodeEnum.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/ErrorCodeEnum.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/ErrorCodeEnum.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ make_error_code(testing x)
return std::error_code(static_cast<int>(x), std::generic_category());
}
-int main()
+int main(int, char**)
{
{
std::error_code ec;
@@ -41,4 +41,6 @@ int main()
assert(ec.value() == 2);
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_code ec;
@@ -29,4 +29,6 @@ int main()
assert(ec.value() == 8);
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_code ec;
@@ -26,4 +26,6 @@ int main()
assert(ec.value() == 0);
assert(ec.category() == std::system_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/lt.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,11 +16,13 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const std::error_code ec1(6, std::generic_category());
const std::error_code ec2(7, std::generic_category());
assert(ec1 < ec2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/make_error_code.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/make_error_code.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/make_error_code.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/make_error_code.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_code ec = make_error_code(std::errc::operation_canceled);
assert(ec.value() == static_cast<int>(std::errc::operation_canceled));
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/stream_inserter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/stream_inserter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/stream_inserter.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/stream_inserter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,9 +18,11 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ostringstream out;
out << std::error_code(std::io_errc::stream);
assert(out.str() == "iostream:1");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool.fail.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool.fail.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@ bool test_func(void)
return ec; // conversion to bool is explicit; should fail.
}
-int main()
+int main(int, char**)
{
return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const std::error_code ec(6, std::generic_category());
@@ -26,4 +26,6 @@ int main()
const std::error_code ec(0, std::generic_category());
assert(!static_cast<bool>(ec));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/category.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_code ec(6, std::generic_category());
assert(ec.category() == std::generic_category());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/default_error_condition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/default_error_condition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/default_error_condition.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/default_error_condition.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const std::error_code ec(6, std::generic_category());
@@ -27,4 +27,6 @@ int main()
std::error_condition e_cond = ec.default_error_condition();
assert(e_cond == ec);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/message.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/message.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/message.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/message.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,8 +16,10 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_code ec(6, std::generic_category());
assert(ec.message() == std::generic_category().message(6));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/value.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_code ec(6, std::system_category());
assert(ec.value() == 6);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.overview/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.overview/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.overview/types.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.overview/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,10 +14,12 @@
#include <system_error>
#include "test_macros.h"
-int main()
+int main(int, char**)
{
std::error_code x;
TEST_IGNORE_NODISCARD x.category(); // returns a std::error_category &
TEST_IGNORE_NODISCARD x.default_error_condition(); // std::error_condition
TEST_IGNORE_NODISCARD x.message(); // returns a std::string
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/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/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/ErrorConditionEnum.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/ErrorConditionEnum.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/ErrorConditionEnum.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/ErrorConditionEnum.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_condition ec(std::errc::not_a_directory);
assert(ec.value() == static_cast<int>(std::errc::not_a_directory));
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/default.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,9 +15,11 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
std::error_condition ec;
assert(ec.value() == 0);
assert(ec.category() == std::generic_category());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/int_error_category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/int_error_category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/int_error_category.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/int_error_category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_condition ec(6, std::system_category());
@@ -27,4 +27,6 @@ int main()
assert(ec.value() == 8);
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/ErrorConditionEnum.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/ErrorConditionEnum.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/ErrorConditionEnum.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/ErrorConditionEnum.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_condition ec;
@@ -23,4 +23,6 @@ int main()
assert(ec.value() == static_cast<int>(std::errc::not_enough_memory));
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_condition ec;
@@ -29,4 +29,6 @@ int main()
assert(ec.value() == 8);
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_condition ec;
@@ -26,4 +26,6 @@ int main()
assert(ec.value() == 0);
assert(ec.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/lt.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,11 +16,13 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const std::error_condition ec1(6, std::generic_category());
const std::error_condition ec2(7, std::generic_category());
assert(ec1 < ec2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/make_error_condition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/make_error_condition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/make_error_condition.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/make_error_condition.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const std::error_condition ec1 = std::make_error_condition(std::errc::message_size);
assert(ec1.value() == static_cast<int>(std::errc::message_size));
assert(ec1.category() == std::generic_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/bool.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/bool.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const std::error_condition ec(6, std::generic_category());
@@ -26,4 +26,6 @@ int main()
const std::error_condition ec(0, std::generic_category());
assert(!static_cast<bool>(ec));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/category.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_condition ec(6, std::generic_category());
assert(ec.category() == std::generic_category());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/message.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/message.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/message.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/message.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,8 +16,10 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_condition ec(6, std::generic_category());
assert(ec.message() == std::generic_category().message(6));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/value.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::error_condition ec(6, std::system_category());
assert(ec.value() == 6);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.overview/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.overview/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.overview/types.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.overview/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,9 +14,11 @@
#include <system_error>
#include "test_macros.h"
-int main()
+int main(int, char**)
{
std::error_condition x = std::errc(0);
TEST_IGNORE_NODISCARD x.category(); // returns a std::error_condition &
TEST_IGNORE_NODISCARD x.message(); // returns a std::string
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/enabled_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/enabled_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/enabled_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/enabled_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,10 +17,12 @@
#include "poisoned_hash_helper.hpp"
-int main() {
+int main(int, char**) {
test_library_hash_specializations_available();
{
test_hash_enabled_for_type<std::error_code>();
test_hash_enabled_for_type<std::error_condition>();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,9 +36,11 @@ test(int i)
((void)result); // Prevent unused warning
}
-int main()
+int main(int, char**)
{
test(0);
test(2);
test(10);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,9 +36,11 @@ test(int i)
((void)result); // Prevent unused warning
}
-int main()
+int main(int, char**)
{
test(0);
test(2);
test(10);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/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/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
std::system_error se(static_cast<int>(std::errc::not_a_directory),
std::generic_category(), "some text");
assert(se.code() == std::make_error_code(std::errc::not_a_directory));
std::string what_message(se.what());
assert(what_message.find("Not a directory") != std::string::npos);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_const_char_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_const_char_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_const_char_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_const_char_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
std::string what_arg("test message");
std::system_error se(make_error_code(std::errc::not_a_directory), what_arg.c_str());
@@ -26,4 +26,6 @@ int main()
std::string what_message(se.what());
assert(what_message.find(what_arg) != std::string::npos);
assert(what_message.find("Not a directory") != std::string::npos);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_string.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
std::string what_arg("test message");
std::system_error se(make_error_code(std::errc::not_a_directory), what_arg);
@@ -26,4 +26,6 @@ int main()
std::string what_message(se.what());
assert(what_message.find(what_arg) != std::string::npos);
assert(what_message.find("Not a directory") != std::string::npos);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
std::system_error se(static_cast<int>(std::errc::not_a_directory),
std::generic_category());
assert(se.code() == std::make_error_code(std::errc::not_a_directory));
std::string what_message(se.what());
assert(what_message.find("Not a directory") != std::string::npos);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_const_char_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_const_char_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_const_char_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_const_char_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
std::string what_arg("test message");
std::system_error se(static_cast<int>(std::errc::not_a_directory),
@@ -27,4 +27,6 @@ int main()
std::string what_message(se.what());
assert(what_message.find(what_arg) != std::string::npos);
assert(what_message.find("Not a directory") != std::string::npos);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_string.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <string>
#include <cassert>
-int main()
+int main(int, char**)
{
std::string what_arg("test message");
std::system_error se(static_cast<int>(std::errc::not_a_directory),
@@ -27,4 +27,6 @@ int main()
std::string what_message(se.what());
assert(what_message.find(what_arg) != std::string::npos);
assert(what_message.find("Not a directory") != std::string::npos);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.overview/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.overview/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.overview/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.overview/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/experimental/algorithms/alg.search/search.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/algorithms/alg.search/search.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/algorithms/alg.search/search.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/algorithms/alg.search/search.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,11 +35,13 @@ struct MySearcher {
};
-int main() {
+int main(int, char**) {
typedef int * RI;
static_assert((std::is_same<RI, decltype(std::experimental::search(RI(), RI(), MySearcher()))>::value), "" );
RI it(nullptr);
assert(it == std::experimental::search(it, it, MySearcher()));
assert(searcher_called == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/filesystem/fs.req.macros/feature_macro.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/filesystem/fs.req.macros/feature_macro.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/filesystem/fs.req.macros/feature_macro.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/filesystem/fs.req.macros/feature_macro.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,4 +25,6 @@
#endif
#endif
-int main() { }
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/filesystem/fs.req.namespace/namespace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/filesystem/fs.req.namespace/namespace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/filesystem/fs.req.namespace/namespace.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/filesystem/fs.req.namespace/namespace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,9 +15,11 @@
#include <experimental/filesystem>
#include <type_traits>
-int main() {
+int main(int, char**) {
static_assert(std::is_same<
std::experimental::filesystem::path,
std::experimental::filesystem::v1::path
>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/default.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -121,7 +121,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/experimental/func/func.searchers/func.searchers.boyer_moore/hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/hash.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/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/experimental/func/func.searchers/func.searchers.boyer_moore/hash.pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/hash.pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/hash.pred.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/hash.pred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -135,7 +135,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/experimental/func/func.searchers/func.searchers.boyer_moore/pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/pred.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/pred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -126,7 +126,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/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/default.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -121,7 +121,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/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/hash.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -116,7 +116,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/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/hash.pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/hash.pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/hash.pred.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/hash.pred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -129,7 +129,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/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/pred.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/pred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -123,7 +123,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/experimental/func/func.searchers/func.searchers.default/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/default.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.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/experimental/func/func.searchers/func.searchers.default/default.pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/default.pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/default.pred.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.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/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/make_default_searcher.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/make_default_searcher.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/make_default_searcher.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/make_default_searcher.pass.cpp Mon Feb 4 12:31:13 2019
@@ -67,7 +67,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*> >();
@@ -77,4 +77,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/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/make_default_searcher.pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/make_default_searcher.pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/make_default_searcher.pred.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/make_default_searcher.pred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -74,7 +74,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*> >();
@@ -84,4 +84,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/experimental/func/func.searchers/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/func.searchers/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/func.searchers/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/func.searchers/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/experimental/func/header.functional.synop/includes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/header.functional.synop/includes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/header.functional.synop/includes.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/header.functional.synop/includes.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,9 @@
#include <experimental/functional>
-int main()
+int main(int, char**)
{
std::function<int(int)> x;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/func/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/func/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/func/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/func/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/experimental/iterator/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/iterator/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/iterator/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/iterator/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -8,4 +8,6 @@
#include <experimental/iterator>
-int main () {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.cons/ostream_joiner.cons.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.cons/ostream_joiner.cons.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.cons/ostream_joiner.cons.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.cons/ostream_joiner.cons.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
namespace exp = std::experimental;
-int main () {
+int main(int, char**) {
const char eight = '8';
const std::string nine = "9";
const std::wstring ten = L"10";
@@ -54,4 +54,6 @@ int main () {
{ exp::ostream_joiner<std::wstring, wchar_t> oj(std::wcout, ten); }
{ exp::ostream_joiner<int, wchar_t> oj(std::wcout, eleven); }
- }
+
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.creation/make_ostream_joiner.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.creation/make_ostream_joiner.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.creation/make_ostream_joiner.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.creation/make_ostream_joiner.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,7 @@ void test (Delim &&d, Iter first, Iter l
assert(sstream.str() == expected);
}
-int main () {
+int main(int, char**) {
const char chars[] = "0123456789";
const int ints [] = { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
@@ -49,4 +49,6 @@ int main () {
test('x', ints, ints+10, "10x11x12x13x14x15x16x17x18x19");
test("Z", chars, chars+10, "0Z1Z2Z3Z4Z5Z6Z7Z8Z9");
test("z", ints, ints+10, "10z11z12z13z14z15z16z17z18z19");
- }
+
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.assign.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -67,7 +67,7 @@ void test (Delim &&d, Iter first, Iter l
assert(sstream.str() == expected);
}
-int main () {
+int main(int, char**) {
{
const char chars[] = "0123456789";
const int ints [] = { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
@@ -116,4 +116,6 @@ int main () {
test(mutating_delimiter(), chars, chars+10, L"0 1!2\"3#4$5%6&7'8(9");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.postincrement.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.postincrement.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.postincrement.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.postincrement.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ void test ( exp::ostream_joiner<Delim, C
assert( &ret == &oj );
}
-int main () {
+int main(int, char**) {
{ exp::ostream_joiner<char> oj(std::cout, '8'); test(oj); }
{ exp::ostream_joiner<std::string> oj(std::cout, std::string("9")); test(oj); }
@@ -42,4 +42,6 @@ int main () {
{ exp::ostream_joiner<std::string, wchar_t> oj(std::wcout, std::string("9")); test(oj); }
{ exp::ostream_joiner<std::wstring, wchar_t> oj(std::wcout, std::wstring(L"10")); test(oj); }
{ exp::ostream_joiner<int, wchar_t> oj(std::wcout, 11); test(oj); }
- }
+
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.pretincrement.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.pretincrement.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.pretincrement.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.pretincrement.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ void test ( exp::ostream_joiner<Delim, C
assert( &ret == &oj );
}
-int main () {
+int main(int, char**) {
{ exp::ostream_joiner<char> oj(std::cout, '8'); test(oj); }
{ exp::ostream_joiner<std::string> oj(std::cout, std::string("9")); test(oj); }
@@ -42,4 +42,6 @@ int main () {
{ exp::ostream_joiner<std::string, wchar_t> oj(std::wcout, std::string("9")); test(oj); }
{ exp::ostream_joiner<std::wstring, wchar_t> oj(std::wcout, std::wstring(L"10")); test(oj); }
{ exp::ostream_joiner<int, wchar_t> oj(std::wcout, 11); test(oj); }
- }
+
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.star.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.star.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.star.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ostream_joiner.op.star.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ void test ( exp::ostream_joiner<Delim, C
assert( &ret == &oj );
}
-int main () {
+int main(int, char**) {
{ exp::ostream_joiner<char> oj(std::cout, '8'); test(oj); }
{ exp::ostream_joiner<std::string> oj(std::cout, std::string("9")); test(oj); }
@@ -42,4 +42,6 @@ int main () {
{ exp::ostream_joiner<std::string, wchar_t> oj(std::wcout, std::string("9")); test(oj); }
{ exp::ostream_joiner<std::wstring, wchar_t> oj(std::wcout, std::wstring(L"10")); test(oj); }
{ exp::ostream_joiner<int, wchar_t> oj(std::wcout, 11); test(oj); }
- }
+
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.pass.cpp Mon Feb 4 12:31:13 2019
@@ -50,8 +50,10 @@ void do_test() {
}
}
-int main()
+int main(int, char**)
{
do_test<coro::coroutine_handle<>>();
do_test<coro::coroutine_handle<int>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ void do_test(uintptr_t LHSVal, uintptr_t
}
}
-int main()
+int main(int, char**)
{
std::pair<uintptr_t, uintptr_t> const TestCases[] = {
{0, 0},
@@ -56,4 +56,6 @@ int main()
do_test<coro::coroutine_handle<>>(TC.first, TC.second);
do_test<coro::coroutine_handle<int>>(TC.first, TC.second);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ void do_test(uintptr_t LHSVal, uintptr_t
}
}
-int main()
+int main(int, char**)
{
std::pair<uintptr_t, uintptr_t> const TestCases[] = {
{0, 0},
@@ -65,4 +65,6 @@ int main()
do_test<coro::coroutine_handle<>>(TC.first, TC.second);
do_test<coro::coroutine_handle<int>>(TC.first, TC.second);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,8 +36,10 @@ void do_test(coro::coroutine_handle<Prom
}
}
-int main()
+int main(int, char**)
{
do_test(coro::coroutine_handle<>{});
do_test(coro::coroutine_handle<int>{});
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -46,8 +46,10 @@ void do_test() {
}
}
-int main()
+int main(int, char**)
{
do_test<coro::coroutine_handle<>>();
do_test<coro::coroutine_handle<int>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,8 +45,10 @@ void do_test() {
}
}
-int main()
+int main(int, char**)
{
do_test<coro::coroutine_handle<>>();
do_test<coro::coroutine_handle<int>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,8 +43,10 @@ void do_test() {
}
}
-int main()
+int main(int, char**)
{
do_test<coro::coroutine_handle<>>();
do_test<coro::coroutine_handle<int>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.fail.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
namespace coro = std::experimental;
-int main()
+int main(int, char**)
{
{
using H = coro::coroutine_handle<>;
@@ -42,4 +42,6 @@ int main()
// expected-error at experimental/coroutine:* 1 {{coroutine_handle<promise_type>::from_address cannot be called with non-void pointers}}
H::from_address((int*)nullptr); // expected-note {{requested here}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,8 +38,10 @@ void do_test() {
}
}
-int main()
+int main(int, char**)
{
do_test<coro::coroutine_handle<>>();
do_test<coro::coroutine_handle<int>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,7 +47,7 @@ void do_test(uintptr_t LHSVal, uintptr_t
}
}
-int main()
+int main(int, char**)
{
std::pair<uintptr_t, uintptr_t> const TestCases[] = {
{0, 0},
@@ -59,4 +59,6 @@ int main()
do_test<coro::coroutine_handle<>>(TC.first, TC.second);
do_test<coro::coroutine_handle<int>>(TC.first, TC.second);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ static_assert(std::is_same<decltype(coro
// // 18.11.2.10 noop address
// constexpr void* address() const noexcept;
-int main()
+int main(int, char**)
{
auto h = coro::noop_coroutine();
coro::coroutine_handle<> base = h;
@@ -65,10 +65,12 @@ int main()
assert(h.address() == base.address());
assert(h.address() != nullptr);
assert(coro::coroutine_handle<>::from_address(h.address()) == base);
+
+ return 0;
}
#else
-int main() {}
+int main(int, char**) { return 0; }
#endif // __has_builtin(__builtin_coro_noop)
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.pass.cpp Mon Feb 4 12:31:13 2019
@@ -75,9 +75,11 @@ void do_test(coro::coroutine_handle<Prom
}
}
-int main()
+int main(int, char**)
{
do_test(coro::coroutine_handle<int>{});
do_test(coro::coroutine_handle<const int>{});
do_runtime_test();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,8 +53,10 @@ void do_test(coro::coroutine_handle<Prom
}
}
-int main()
+int main(int, char**)
{
do_test(coro::coroutine_handle<>{});
do_test(coro::coroutine_handle<int>{});
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.pass.cpp Mon Feb 4 12:31:13 2019
@@ -72,8 +72,10 @@ void do_test(coro::coroutine_handle<Prom
}
}
-int main()
+int main(int, char**)
{
do_test(coro::coroutine_handle<>{});
do_test(coro::coroutine_handle<int>{});
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,10 +41,12 @@ void check_type() {
static_assert(std::is_same<P, Expect>::value, "");
};
-int main()
+int main(int, char**)
{
check_type<A*, A>();
check_type<int*, A, int>();
check_type<B*, B>();
check_type<void, C>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -60,7 +60,7 @@ void check_no_type() {
static_assert(!has_promise_type<Traits>(), "");
}
-int main()
+int main(int, char**)
{
{
check_type<A*, A>();
@@ -73,4 +73,6 @@ int main()
check_no_type<E>();
check_no_type<C, int>();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ constexpr bool check_suspend_constexpr()
return true;
}
-int main()
+int main(int, char**)
{
using H = coro::coroutine_handle<>;
using S = SuspendT;
@@ -69,4 +69,6 @@ int main()
// suppress unused warnings for the global constexpr test variable
((void)constexpr_sa);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ constexpr bool check_suspend_constexpr()
}
-int main()
+int main(int, char**)
{
using H = coro::coroutine_handle<>;
using S = SuspendT;
@@ -71,4 +71,6 @@ int main()
// suppress unused warnings for the global constexpr test variable
((void)constexpr_sn);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp Mon Feb 4 12:31:13 2019
@@ -59,10 +59,12 @@ coro_t f(int n) {
coro_t g() { B val = co_await B{}; }
-int main() {
+int main(int, char**) {
last_value = -1;
f(0);
assert(last_value == 0);
f(1);
assert(last_value == 42);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,7 @@ coro_t g() {
g_resumed = true;
}
-int main() {
+int main(int, char**) {
assert(!f_started && !f_resumed && !g_started && !g_resumed);
auto fret = f();
assert(f_started && !f_resumed);
@@ -65,4 +65,6 @@ int main() {
assert(f_started && !f_resumed);
g();
assert(g_started && g_resumed);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/expected.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/expected.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/expected.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/expected.pass.cpp Mon Feb 4 12:31:13 2019
@@ -75,7 +75,7 @@ expected<int> f2() {
co_return 200;
}
-int main() {
+int main(int, char**) {
auto c1 = f1();
assert(f1_started && f1_resumed);
assert(c1.value() == 100);
@@ -85,4 +85,6 @@ int main() {
assert(f2_started && !f2_resumed);
assert(c2.value() == 0);
assert(c2.error() == 42);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -108,9 +108,11 @@ coro2 d() {
assert(dtor_called == 1);
}
-int main() {
+int main(int, char**) {
a();
b();
c();
d();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/generator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/generator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/generator.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/generator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -95,8 +95,10 @@ void test_mini_generator() {
assert(sum == 10);
}
-int main() {
+int main(int, char**) {
test_count();
test_range();
test_mini_generator();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/go.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/go.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/go.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/go.pass.cpp Mon Feb 4 12:31:13 2019
@@ -164,7 +164,7 @@ goroutine pusher(channel& left, channel&
const int N = 100;
channel* c = new channel[N + 1];
-int main() {
+int main(int, char**) {
for (int i = 0; i < N; ++i)
goroutine::go(pusher(c[i], c[i + 1]));
@@ -172,4 +172,6 @@ int main() {
int result = c[N].sync_pull();
assert(result == 100);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.pass.cpp Mon Feb 4 12:31:13 2019
@@ -80,7 +80,9 @@ int Do(int acc, int n, func<int> f) {
return acc;
}
-int main() {
+int main(int, char**) {
int result = Do(1, 10, [](int a, int b) {return a + b;});
assert(result == 46);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.pass.cpp Mon Feb 4 12:31:13 2019
@@ -72,11 +72,13 @@ float fyield(int x) { yielded_values.pus
void Do1(func<int> f) { yield(f()); }
void Do2(func<double> f) { yield(static_cast<int>(f())); }
-int main() {
+int main(int, char**) {
Do1([] { return yield(43); });
assert((yielded_values == std::vector<int>{43, 44}));
yielded_values = {};
Do2([] { return fyield(44); });
assert((yielded_values == std::vector<int>{44, 46}));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/includes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/includes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/includes.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/includes.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,10 +15,11 @@
#include <experimental/coroutine>
-int main(){
+int main(int, char**) {
// std::nothrow is not implicitly defined by the compiler when the include is
// missing, unlike other parts of <new>. Therefore we use std::nothrow to
// test for #include <new>
(void)std::nothrow;
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,9 +20,11 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef ex::polymorphic_allocator<void> T;
static_assert(!std::is_copy_assignable<T>::value, "");
static_assert(!std::is_move_assignable<T>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef ex::polymorphic_allocator<void> A1;
{
@@ -44,4 +44,6 @@ int main()
assert(a.resource() == a2.resource());
assert(a2.resource() == (ex::memory_resource*)42);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/default.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
{
static_assert(
@@ -45,4 +45,6 @@ int main()
assert(a.resource() == &R1);
assert(a2.resource() == ex::new_delete_resource());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/memory_resource_convert.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/memory_resource_convert.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/memory_resource_convert.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/memory_resource_convert.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
{
typedef ex::polymorphic_allocator<void> A;
@@ -41,4 +41,6 @@ int main()
A const a(&R);
assert(a.resource() == &R);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/other_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/other_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/other_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/other_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef ex::polymorphic_allocator<void> A1;
typedef ex::polymorphic_allocator<char> A2;
@@ -53,4 +53,6 @@ int main()
assert(a.resource() == a2.resource());
assert(a2.resource() == (ex::memory_resource*)42);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef ex::polymorphic_allocator<void> A1;
typedef ex::polymorphic_allocator<int> A2;
@@ -130,4 +130,6 @@ int main()
assert(d1.checkIsEqualCalledEq(0));
assert(d2.checkIsEqualCalledEq(1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/not_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/not_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/not_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/not_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef ex::polymorphic_allocator<void> A1;
typedef ex::polymorphic_allocator<int> A2;
@@ -101,4 +101,6 @@ int main()
assert(d1.checkIsEqualCalledEq(0));
assert(d2.checkIsEqualCalledEq(1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/allocate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/allocate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/allocate.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/allocate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -80,7 +80,7 @@ void testAllocForSizeThrows() {
}
#endif // TEST_HAS_NO_EXCEPTIONS
-int main()
+int main(int, char**)
{
{
ex::polymorphic_allocator<int> a;
@@ -108,4 +108,6 @@ int main()
testAllocForSizeThrows<13>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ struct default_constructible
int x{0};
};
-int main()
+int main(int, char**)
{
// pair<default_constructible, default_constructible> as T()
{
@@ -49,4 +49,6 @@ int main()
assert(ptr->second.x == 42);
std::free(ptr);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_const_lvalue_pair.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_const_lvalue_pair.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_const_lvalue_pair.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_const_lvalue_pair.pass.cpp Mon Feb 4 12:31:13 2019
@@ -118,7 +118,7 @@ void test_pmr_not_uses_allocator(std::pa
template <class Tp>
struct Print;
-int main()
+int main(int, char**)
{
using ERT = std::experimental::erased_type;
using PMR = ex::memory_resource*;
@@ -139,4 +139,6 @@ int main()
test_pmr_not_uses_allocator<PMR>(p);
test_pmr_uses_allocator<PMA>(p);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -114,7 +114,7 @@ void test_pmr_not_uses_allocator(std::pa
}
}
-int main()
+int main(int, char**)
{
using ERT = std::experimental::erased_type;
using PMR = ex::memory_resource*;
@@ -135,4 +135,6 @@ int main()
test_pmr_not_uses_allocator<PMR>(std::move(p));
test_pmr_uses_allocator<PMA>(std::move(p));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_values.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_values.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_values.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_values.pass.cpp Mon Feb 4 12:31:13 2019
@@ -121,7 +121,7 @@ void test_pmr_not_uses_allocator(TT&& t,
}
}
-int main()
+int main(int, char**)
{
using ERT = std::experimental::erased_type;
using PMR = ex::memory_resource*;
@@ -140,4 +140,6 @@ int main()
test_pmr_not_uses_allocator<PMR>(std::move(x), y);
test_pmr_uses_allocator<PMA>(std::move(x), y);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp Mon Feb 4 12:31:13 2019
@@ -111,7 +111,7 @@ void test_pmr_not_uses_allocator(std::tu
}
}
-int main()
+int main(int, char**)
{
using ERT = std::experimental::erased_type;
using PMR = ex::memory_resource*;
@@ -159,4 +159,6 @@ int main()
test_pmr_uses_allocator<PMA>( t1, std::move(t2));
test_pmr_uses_allocator<PMA>(std::move(t2), t1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair_evil.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair_evil.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair_evil.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair_evil.pass.cpp Mon Feb 4 12:31:13 2019
@@ -120,7 +120,7 @@ void test_evil()
}
}
-int main()
+int main(int, char**)
{
test_evil<WidgetV0, WidgetV0>();
test_evil<WidgetV0, WidgetV1>();
@@ -138,4 +138,6 @@ int main()
test_evil<WidgetV3, WidgetV1>();
test_evil<WidgetV3, WidgetV2>();
test_evil<WidgetV3, WidgetV3>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_types.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -187,7 +187,7 @@ void test_non_pmr_uses_alloc(AllocObj co
}
}
-int main()
+int main(int, char**)
{
using ET = std::experimental::erased_type;
using PMR = ex::memory_resource*;
@@ -223,4 +223,6 @@ int main()
test_non_pmr_uses_alloc<STDA>(std_alloc, cvalue, std::move(value));
test_non_pmr_uses_alloc<TESTA>(test_alloc, cvalue, std::move(value));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/deallocate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/deallocate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/deallocate.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/deallocate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ void testForSizeAndAlign() {
}
}
-int main()
+int main(int, char**)
{
{
ex::polymorphic_allocator<int> a;
@@ -58,4 +58,6 @@ int main()
testForSizeAndAlign<73, MA>();
testForSizeAndAlign<13, MA>();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/destroy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/destroy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/destroy.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/destroy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ struct destroyable
~destroyable() { --count; }
};
-int main()
+int main(int, char**)
{
typedef ex::polymorphic_allocator<double> A;
{
@@ -48,4 +48,6 @@ int main()
assert(count == 0);
std::free(ptr);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/resource.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/resource.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/resource.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/resource.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef ex::polymorphic_allocator<void> A;
{
@@ -53,4 +53,6 @@ int main()
assert(a.resource() == mptr);
assert(a.resource() == ex::get_default_resource());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/select_on_container_copy_construction.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/select_on_container_copy_construction.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/select_on_container_copy_construction.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/select_on_container_copy_construction.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef ex::polymorphic_allocator<void> A;
{
@@ -49,4 +49,6 @@ int main()
assert(other.resource() == mptr);
assert(a.resource() == nullptr);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.overview/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.overview/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.overview/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.overview/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -6,4 +6,6 @@
//
//===----------------------------------------------------------------------===//
-int main () {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -6,4 +6,6 @@
//
//===----------------------------------------------------------------------===//
-int main () {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef CountingAllocator<char> AllocT;
typedef ex::resource_adaptor<AllocT> R;
@@ -49,4 +49,6 @@ int main()
assert(P.move_constructed == 0);
assert(r.get_allocator() == a);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_move.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef CountingAllocator<char> AllocT;
typedef ex::resource_adaptor<AllocT> R;
@@ -40,4 +40,6 @@ int main()
assert(P.move_constructed == 1);
assert(r.get_allocator() == AllocT{P});
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/default.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
{
typedef CountingAllocator<char> AllocT; // Not default constructible
@@ -36,4 +36,6 @@ int main()
static_assert(std::is_default_constructible<R>::value, "");
R r; ((void)r);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_allocate_and_deallocate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_allocate_and_deallocate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_allocate_and_deallocate.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_allocate_and_deallocate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -106,9 +106,11 @@ void check_alloc_max_size() {
#endif
}
-int main()
+int main(int, char**)
{
check_allocate_deallocate<CountingAllocator<char>>();
check_allocate_deallocate<MinAlignedAllocator<char>>();
check_alloc_max_size();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_is_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_is_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_is_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_is_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
using std::size_t;
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef CountingAllocator<char> Alloc1;
@@ -79,4 +79,6 @@ int main()
assert(!m1.is_equal(m2));
assert(!m2.is_equal(m1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.overview/overview.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.overview/overview.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.overview/overview.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.overview/overview.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
typedef ex::resource_adaptor<std::allocator<void>> R;
typedef ex::resource_adaptor<std::allocator<long>> R2;
@@ -35,4 +35,6 @@ int main()
static_assert(std::is_copy_assignable<R>::value, "");
static_assert(std::is_move_assignable<R>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_deque_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_deque_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_deque_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_deque_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,11 +26,13 @@
namespace pmr = std::experimental::pmr;
-int main()
+int main(int, char**)
{
using StdDeque = std::deque<int, pmr::polymorphic_allocator<int>>;
using PmrDeque = pmr::deque<int>;
static_assert(std::is_same<StdDeque, PmrDeque>::value, "");
PmrDeque d;
assert(d.get_allocator().resource() == pmr::get_default_resource());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_forward_list_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_forward_list_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_forward_list_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_forward_list_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,11 +26,13 @@
namespace pmr = std::experimental::pmr;
-int main()
+int main(int, char**)
{
using StdForwardList = std::forward_list<int, pmr::polymorphic_allocator<int>>;
using PmrForwardList = pmr::forward_list<int>;
static_assert(std::is_same<StdForwardList, PmrForwardList>::value, "");
PmrForwardList d;
assert(d.get_allocator().resource() == pmr::get_default_resource());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_list_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_list_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_list_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_list_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,11 +26,13 @@
namespace pmr = std::experimental::pmr;
-int main()
+int main(int, char**)
{
using StdList = std::list<int, pmr::polymorphic_allocator<int>>;
using PmrList = pmr::list<int>;
static_assert(std::is_same<StdList, PmrList>::value, "");
PmrList d;
assert(d.get_allocator().resource() == pmr::get_default_resource());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_map_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_map_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_map_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_map_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
namespace pmr = std::experimental::pmr;
-int main()
+int main(int, char**)
{
using K = int;
using V = char;
@@ -65,4 +65,6 @@ int main()
pmr::multimap<int, int> m;
assert(m.get_allocator().resource() == pmr::get_default_resource());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_regex_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_regex_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_regex_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_regex_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ void test_match_result_typedef() {
static_assert(std::is_same<PmrMR, PmrTypedef>::value, "");
}
-int main()
+int main(int, char**)
{
{
test_match_result_typedef<const char*, pmr::cmatch>();
@@ -53,4 +53,6 @@ int main()
pmr::smatch s;
assert(s.get_allocator().resource() == pmr::get_default_resource());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_set_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_set_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_set_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_set_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
namespace pmr = std::experimental::pmr;
-int main()
+int main(int, char**)
{
using V = char;
using DC = std::less<V>;
@@ -63,4 +63,6 @@ int main()
pmr::multiset<int> m;
assert(m.get_allocator().resource() == pmr::get_default_resource());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_string_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_string_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_string_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_string_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -50,7 +50,7 @@ void test_basic_string_alias() {
static_assert(std::is_same<StdStr, PmrStr>::value, "");
}
-int main()
+int main(int, char**)
{
{
test_string_typedef<char, pmr::string>();
@@ -69,4 +69,6 @@ int main()
pmr::string s;
assert(s.get_allocator().resource() == pmr::get_default_resource());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_unordered_map_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_unordered_map_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_unordered_map_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_unordered_map_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ struct MyHash : std::hash<T> {};
template <class T>
struct MyPred : std::equal_to<T> {};
-int main()
+int main(int, char**)
{
using K = int;
using V = char;
@@ -83,4 +83,6 @@ int main()
pmr::unordered_multimap<int, int> m;
assert(m.get_allocator().resource() == pmr::get_default_resource());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_unordered_set_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_unordered_set_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_unordered_set_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_unordered_set_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ struct MyHash : std::hash<T> {};
template <class T>
struct MyPred : std::equal_to<T> {};
-int main()
+int main(int, char**)
{
using V = char;
using DH = std::hash<V>;
@@ -81,4 +81,6 @@ int main()
pmr::unordered_multiset<int> m;
assert(m.get_allocator().resource() == pmr::get_default_resource());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_vector_synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_vector_synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_vector_synop.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.aliases/header_vector_synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,11 +26,13 @@
namespace pmr = std::experimental::pmr;
-int main()
+int main(int, char**)
{
using StdVector = std::vector<int, pmr::polymorphic_allocator<int>>;
using PmrVector = pmr::vector<int>;
static_assert(std::is_same<StdVector, PmrVector>::value, "");
PmrVector d;
assert(d.get_allocator().resource() == pmr::get_default_resource());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.global/default_resource.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.global/default_resource.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.global/default_resource.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.global/default_resource.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@
using namespace std::experimental::pmr;
-int main() {
+int main(int, char**) {
TestResource R;
{ // Test (A) and (B)
memory_resource* p = get_default_resource();
@@ -70,4 +70,6 @@ int main() {
static_assert(noexcept(set_default_resource(nullptr)),
"set_default_resource() must be noexcept");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.global/new_delete_resource.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.global/new_delete_resource.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.global/new_delete_resource.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.global/new_delete_resource.pass.cpp Mon Feb 4 12:31:13 2019
@@ -92,10 +92,12 @@ void test_allocate_deallocate()
}
-int main()
+int main(int, char**)
{
static_assert(noexcept(ex::new_delete_resource()), "Must be noexcept");
test_return();
test_equality();
test_allocate_deallocate();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.global/null_memory_resource.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.global/null_memory_resource.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.global/null_memory_resource.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.global/null_memory_resource.pass.cpp Mon Feb 4 12:31:13 2019
@@ -108,10 +108,12 @@ void test_deallocate()
assert(globalMemCounter.checkDeleteArrayCalledEq(0));
}
-int main()
+int main(int, char**)
{
test_return();
test_equality();
test_allocate();
test_deallocate();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.synop/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource.synop/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource.synop/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource.synop/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/experimental/memory/memory.resource/construct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource/construct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource/construct.fail.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource/construct.fail.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,9 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
ex::memory_resource m; // expected-error {{variable type 'ex::memory_resource' is an abstract class}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.eq/equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.eq/equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.eq/equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.eq/equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
// check return types
{
@@ -72,4 +72,6 @@ int main()
assert(r1.checkIsEqualCalledEq(1));
assert(r2.checkIsEqualCalledEq(1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.eq/not_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.eq/not_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.eq/not_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.eq/not_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
namespace ex = std::experimental::pmr;
-int main()
+int main(int, char**)
{
// check return types
{
@@ -71,4 +71,6 @@ int main()
assert(!(mr2 != mr1));
assert(r1.checkIsEqualCalledEq(0));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.overview/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.overview/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.overview/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.overview/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -6,4 +6,6 @@
//
//===----------------------------------------------------------------------===//
-int main () {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.priv/protected_members.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.priv/protected_members.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.priv/protected_members.fail.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.priv/protected_members.fail.cpp Mon Feb 4 12:31:13 2019
@@ -18,9 +18,11 @@
namespace ex = std::experimental::pmr;
-int main() {
+int main(int, char**) {
ex::memory_resource *m = ex::new_delete_resource();
m->do_allocate(0, 0); // expected-error{{'do_allocate' is a protected member}}
m->do_deallocate(nullptr, 0, 0); // expected-error{{'do_deallocate' is a protected member}}
m->do_is_equal(*m); // expected-error{{'do_is_equal' is a protected member}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/allocate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/allocate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/allocate.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/allocate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
using std::experimental::pmr::memory_resource;
-int main()
+int main(int, char**)
{
TestResource R(42);
auto& P = R.getController();
@@ -85,4 +85,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/deallocate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/deallocate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/deallocate.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/deallocate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
using std::experimental::pmr::memory_resource;
-int main()
+int main(int, char**)
{
NullResource R(42);
auto& P = R.getController();
@@ -70,4 +70,6 @@ int main()
assert(P.dealloc_count == 2);
assert(P.checkDealloc(p, s, a));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/dtor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/dtor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
using std::experimental::pmr::memory_resource;
-int main()
+int main(int, char**)
{
static_assert(
std::has_virtual_destructor<memory_resource>::value
@@ -55,4 +55,6 @@ int main()
assert(TR::resource_constructed == 1);
assert(TR::resource_destructed == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/is_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/is_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/is_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/memory.resource/memory.resource.public/is_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
using std::experimental::pmr::memory_resource;
-int main()
+int main(int, char**)
{
{
memory_resource const* r1 = nullptr;
@@ -89,4 +89,6 @@ int main()
assert(P2.checkIsEqualCalledEq(1));
assert(P1.checkIsEqualCalledEq(1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/memory/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/memory/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/memory/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/memory/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/experimental/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -6,4 +6,6 @@
//
//===----------------------------------------------------------------------===//
-int main () {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/simd/simd.abi/vector_extension.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.abi/vector_extension.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.abi/vector_extension.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.abi/vector_extension.pass.cpp Mon Feb 4 12:31:13 2019
@@ -63,4 +63,6 @@ static_assert(std::is_same<ex::simd_abi:
ex::__simd_abi<ex::_StorageKind::_Array, 16>>::value,
"");
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/simd/simd.access/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.access/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.access/default.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.access/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -210,7 +210,9 @@ void test_access() {
}
}
-int main() {
+int main(int, char**) {
test_access<ex::native_simd<int>>();
test_access<ex::fixed_size_simd<int, 4>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/simd/simd.casts/simd_cast.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.casts/simd_cast.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.casts/simd_cast.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.casts/simd_cast.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,4 +42,6 @@ static_assert(
ex::simd<int64_t, ex::simd_abi::scalar>>::value,
"");
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/simd/simd.casts/static_simd_cast.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.casts/static_simd_cast.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.casts/static_simd_cast.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.casts/static_simd_cast.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,4 +37,6 @@ static_assert(
ex::simd<float, ex::simd_abi::scalar>>::value,
"");
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/simd/simd.cons/broadcast.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.cons/broadcast.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.cons/broadcast.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.cons/broadcast.pass.cpp Mon Feb 4 12:31:13 2019
@@ -78,8 +78,10 @@ void test_broadcast() {
}
}
-int main() {
+int main(int, char**) {
test_broadcast<ex::native_simd<int>>();
test_broadcast<ex::fixed_size_simd<int, 4>>();
test_broadcast<ex::fixed_size_simd<int, 15>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/simd/simd.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,10 +18,12 @@
namespace ex = std::experimental::parallelism_v2;
-int main() {
+int main(int, char**) {
static_assert(ex::native_simd<int32_t>().size() > 0, "");
static_assert(ex::fixed_size_simd<int32_t, 4>().size() == 4, "");
static_assert(ex::fixed_size_simd<int32_t, 5>().size() == 5, "");
static_assert(ex::fixed_size_simd<int32_t, 1>().size() == 1, "");
static_assert(ex::fixed_size_simd<char, 32>().size() == 32, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/simd/simd.cons/generator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.cons/generator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.cons/generator.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.cons/generator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -82,9 +82,11 @@ void test_generator() {
}
}
-int main() {
+int main(int, char**) {
// TODO: adjust the tests when this assertion fails.
assert(ex::native_simd<int32_t>::size() >= 4);
test_generator<ex::native_simd<int32_t>>();
test_generator<ex::fixed_size_simd<int32_t, 4>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/simd/simd.cons/load.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.cons/load.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.cons/load.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.cons/load.pass.cpp Mon Feb 4 12:31:13 2019
@@ -107,11 +107,13 @@ void test_converting_load_ctor() {
assert(a[3] == 8);
}
-int main() {
+int main(int, char**) {
// TODO: adjust the tests when this assertion fails.
assert(ex::native_simd<int32_t>::size() >= 4);
test_load_ctor<ex::native_simd<int32_t>>();
test_load_ctor<ex::fixed_size_simd<int32_t, 4>>();
test_converting_load_ctor<ex::native_simd<int32_t>>();
test_converting_load_ctor<ex::fixed_size_simd<int32_t, 4>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/simd/simd.mem/load.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.mem/load.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.mem/load.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.mem/load.pass.cpp Mon Feb 4 12:31:13 2019
@@ -111,11 +111,13 @@ void test_converting_load() {
assert(a[3] == 8);
}
-int main() {
+int main(int, char**) {
// TODO: adjust the tests when this assertion fails.
assert(ex::native_simd<int32_t>::size() >= 4);
test_load<ex::native_simd<int32_t>>();
test_load<ex::fixed_size_simd<int32_t, 4>>();
test_converting_load<ex::native_simd<int32_t>>();
test_converting_load<ex::fixed_size_simd<int32_t, 4>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/simd/simd.mem/store.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.mem/store.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.mem/store.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.mem/store.pass.cpp Mon Feb 4 12:31:13 2019
@@ -85,10 +85,12 @@ void test_converting_store() {
assert(buffer[3] == 8.);
}
-int main() {
+int main(int, char**) {
// TODO: adjust the tests when this assertion fails.
test_store<ex::native_simd<int32_t>>();
test_store<ex::fixed_size_simd<int32_t, 4>>();
test_converting_store<ex::native_simd<int32_t>>();
test_converting_store<ex::fixed_size_simd<int32_t, 4>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/simd/simd.traits/abi_for_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.traits/abi_for_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.traits/abi_for_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.traits/abi_for_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,4 +28,6 @@ static_assert(std::is_same<ex::abi_for_s
ex::simd_abi::fixed_size<4>>::value,
"");
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/simd/simd.traits/is_abi_tag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.traits/is_abi_tag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.traits/is_abi_tag.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.traits/is_abi_tag.pass.cpp Mon Feb 4 12:31:13 2019
@@ -109,4 +109,6 @@ static_assert(!ex::is_abi_tag_v<ex::simd
static_assert(!ex::is_abi_tag_v<ex::simd_mask<int>>, "");
static_assert(!ex::is_abi_tag_v<ex::simd_mask<float>>, "");
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd.pass.cpp Mon Feb 4 12:31:13 2019
@@ -125,4 +125,6 @@ static_assert(!ex::is_simd_v<ex::simd_ma
static_assert(!ex::is_simd_v<ex::simd_mask<float>>, "");
static_assert(!ex::is_simd_v<UserType>, "");
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd_flag_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd_flag_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd_flag_type.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd_flag_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,4 +47,6 @@ static_assert(!ex::is_simd_flag_type_v<U
static_assert(!ex::is_simd_flag_type_v<ex::simd<int8_t>>, "");
static_assert(!ex::is_simd_flag_type_v<ex::simd_mask<int8_t>>, "");
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd_mask.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd_mask.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd_mask.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/simd/simd.traits/is_simd_mask.pass.cpp Mon Feb 4 12:31:13 2019
@@ -148,4 +148,6 @@ static_assert(!ex::is_simd_mask_v<ex::si
static_assert(!ex::is_simd_mask_v<ex::simd<float>>, "");
static_assert(!ex::is_simd_mask_v<UserType>, "");
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/detected_or.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/detected_or.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/detected_or.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/detected_or.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,9 @@ void test() {
static_assert( std::is_same<Res, typename ex::detected_or_t<double, hasFoo, T> >::value, "" );
}
-int main () {
+int main(int, char**) {
test<yesFoo, int>();
test<noFoo, double>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/detected_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/detected_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/detected_t.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/detected_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,8 +40,10 @@ void test() {
static_assert( std::is_same<Res, typename ex::detected_t<callFoo, T>>::value, "" );
}
-int main () {
+int main(int, char**) {
test<yesFoo, int>();
test<noFoo, ex::nonesuch>(); // lookup failure returns nonesuch
test<wrongFoo, std::string>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,8 +29,10 @@ void test() {
static_assert( b == ex::is_detected_v<copy_assign_t, T>, "" );
}
-int main () {
+int main(int, char**) {
test<int, true>();
test<std::string, true>();
test<not_assignable, false>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected_convertible.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected_convertible.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected_convertible.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected_convertible.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,9 +41,11 @@ void test() {
static_assert( b == ex::is_detected_convertible_v<int, callFoo, T>, "" );
}
-int main () {
+int main(int, char**) {
test<yesFoo, true>();
test<noFoo, false>();
test<wrongFoo, false>();
test<convertibleFoo, true>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected_exact.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected_exact.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected_exact.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/is_detected_exact.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,9 +40,11 @@ void test() {
static_assert( b == ex::is_detected_exact_v<int, callFoo, T>, "" );
}
-int main () {
+int main(int, char**) {
test<yesFoo, true>();
test<noFoo, false>();
test<wrongFoo, false>();
test<convertibleFoo, false>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/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/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,4 +20,6 @@ using std::experimental::propagate_const
typedef propagate_const<X> P;
-int main() { static_assert(!std::is_assignable<P, const P &>::value, ""); }
+int main(int, char**) { static_assert(!std::is_assignable<P, const P &>::value, "");
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_convertible_element_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_convertible_element_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_convertible_element_type.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_convertible_element_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<CopyConstructibleFromX> PY;
@@ -30,4 +30,6 @@ int main() {
p = x1;
assert(*p==1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_convertible_propagate_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_convertible_propagate_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_convertible_propagate_const.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_convertible_propagate_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,4 +21,6 @@ using std::experimental::propagate_const
typedef propagate_const<X> PX;
typedef propagate_const<CopyConstructibleFromX> PY;
-int main() { static_assert(!std::is_assignable<PY, const PX &>::value, ""); }
+int main(int, char**) { static_assert(!std::is_assignable<PY, const PX &>::value, "");
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_element_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_element_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_element_type.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/assign_element_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
@@ -30,4 +30,6 @@ int main() {
p = x1;
assert(*p==1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
@@ -28,4 +28,6 @@ int main() {
p2=std::move(p1);
assert(*p2==1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<X> PX;
typedef propagate_const<MoveConstructibleFromX> PY;
@@ -29,4 +29,6 @@ int main() {
py1=std::move(px2);
assert(*py1==2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible_propagate_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible_propagate_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible_propagate_const.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible_propagate_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<X> PX;
typedef propagate_const<MoveConstructibleFromX> PY;
@@ -29,4 +29,6 @@ int main() {
py1=std::move(px2);
assert(*py1==2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_element_type.explicit.ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_element_type.explicit.ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_element_type.explicit.ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_element_type.explicit.ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@ using std::experimental::propagate_const
typedef propagate_const<ExplicitCopyConstructibleFromX> P;
-int main() {
+int main(int, char**) {
static_assert(!std::is_convertible<P, X>::value, "");
static_assert(std::is_constructible<P, X>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_element_type.non-explicit.ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_element_type.non-explicit.ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_element_type.non-explicit.ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_element_type.non-explicit.ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,9 @@ void f(const P& p)
assert(*p==2);
}
-int main() {
+int main(int, char**) {
f(X(2));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.copy_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.copy_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.copy_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.copy_ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,5 +21,7 @@ using std::experimental::propagate_const
typedef propagate_const<X> PX;
typedef propagate_const<CopyConstructibleFromX> PY;
-int main() { static_assert(!std::is_constructible<PX, PY>::value, ""); }
+int main(int, char**) { static_assert(!std::is_constructible<PX, PY>::value, "");
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.explicit.move_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.explicit.move_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.explicit.move_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.explicit.move_ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,9 @@ using std::experimental::propagate_const
typedef propagate_const<X> PX;
typedef propagate_const<ExplicitMoveConstructibleFromX> PY;
-int main() {
+int main(int, char**) {
static_assert(!std::is_convertible<PY, PX &&>::value, "");
static_assert(std::is_constructible<PY, PX &&>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.move_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.move_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.move_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.move_ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,10 +21,12 @@ using std::experimental::propagate_const
typedef propagate_const<MoveConstructibleFromX> PY;
typedef propagate_const<X> PX;
-int main() {
+int main(int, char**) {
PX px(1);
PY py(std::move(px));
assert(*py==1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/copy_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/copy_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/copy_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/copy_ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,4 +20,6 @@ using std::experimental::propagate_const
typedef propagate_const<X> P;
-int main() { static_assert(!std::is_constructible<P, const P &>::value, ""); }
+int main(int, char**) { static_assert(!std::is_constructible<P, const P &>::value, "");
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/element_type.explicit.ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/element_type.explicit.ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/element_type.explicit.ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/element_type.explicit.ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@ using std::experimental::propagate_const
typedef propagate_const<ExplicitX> P;
-int main() {
+int main(int, char**) {
static_assert(!std::is_convertible<P, int>::value, "");
static_assert(std::is_constructible<P, int>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/element_type.non-explicit.ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/element_type.non-explicit.ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/element_type.non-explicit.ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/element_type.non-explicit.ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,4 +24,6 @@ void f(const P&)
{
}
-int main() { f(2); }
+int main(int, char**) { f(2);
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/move_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/move_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/move_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/move_ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
P p1(2);
P p2(std::move(p1));
assert(*p2 == 2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/dereference.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/dereference.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/dereference.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/dereference.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,9 @@ constexpr P f()
return p;
}
-int main() {
+int main(int, char**) {
constexpr P p = f();
static_assert(*p==2,"");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/explicit_operator_element_type_ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/explicit_operator_element_type_ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/explicit_operator_element_type_ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/explicit_operator_element_type_ptr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,4 +20,6 @@ using std::experimental::propagate_const
typedef propagate_const<X> P;
-int main() { static_assert(!std::is_convertible<P, int *>::value, ""); }
+int main(int, char**) { static_assert(!std::is_convertible<P, int *>::value, "");
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/get.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/get.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/get.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/get.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,9 @@ constexpr P f()
return p;
}
-int main() {
+int main(int, char**) {
constexpr P p = f();
static_assert(*(p.get())==2,"");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/op_arrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/op_arrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/op_arrow.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/op_arrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,9 @@ constexpr P f()
return p;
}
-int main() {
+int main(int, char**) {
constexpr P p = f();
static_assert(*(p.operator->())==2,"");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/operator_element_type_ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/operator_element_type_ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/operator_element_type_ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/operator_element_type_ptr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<XWithImplicitIntStarConversion> P;
@@ -31,4 +31,6 @@ int main() {
*ptr_1 = 2;
assert(*ptr_1==2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/dereference.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/dereference.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/dereference.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/dereference.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
constexpr P p(1);
static_assert(*p==1,"");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/explicit_operator_element_type_ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/explicit_operator_element_type_ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/explicit_operator_element_type_ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/explicit_operator_element_type_ptr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,6 +20,8 @@ using std::experimental::propagate_const
typedef propagate_const<X> P;
-int main() {
+int main(int, char**) {
static_assert(!std::is_convertible<const P, const int *>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/get.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/get.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/get.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/get.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
constexpr P p(1);
static_assert(*(p.get())==1, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/op_arrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/op_arrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/op_arrow.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/op_arrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
using std::experimental::propagate_const;
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
constexpr P p(1);
static_assert(*(p.operator->())==1,"");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/operator_element_type_ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/operator_element_type_ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/operator_element_type_ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/operator_element_type_ptr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,4 +24,6 @@ constexpr P p(1);
constexpr const int *ptr_1 = p;
-int main() { assert(*ptr_1 == 1); }
+int main(int, char**) { assert(*ptr_1 == 1);
+ return 0;
+}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.class/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,11 +21,13 @@ using std::experimental::propagate_const
bool swap_called = false;
void swap(X &, X &) { swap_called = true; }
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
P p1(1);
P p2(2);
p1.swap(p2);
assert(swap_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/hash.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ template <> struct hash<X>
};
} // namespace std
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
@@ -40,4 +40,6 @@ int main() {
auto h = std::hash<P>();
assert(h(p)==99);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/equal_to.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/equal_to.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/equal_to.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/equal_to.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@ using std::experimental::propagate_const
constexpr bool operator==(const X &x1, const X &x2) { return x1.i_ == x2.i_; }
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
@@ -32,4 +32,6 @@ int main() {
assert(c(p1_1,p2_1));
assert(!c(p1_1,p3_2));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@ using std::experimental::propagate_const
constexpr bool operator>(const X &x1, const X &x2) { return x1.i_ > x2.i_; }
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
@@ -34,4 +34,6 @@ int main() {
assert(!c(p2_1,p1_1));
assert(!c(p1_1,p3_2));
assert(c(p3_2,p1_1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@ using std::experimental::propagate_const
constexpr bool operator>=(const X &x1, const X &x2) { return x1.i_ >= x2.i_; }
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
@@ -34,4 +34,6 @@ int main() {
assert(c(p2_1,p1_1));
assert(!c(p1_1,p3_2));
assert(c(p3_2,p1_1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@ using std::experimental::propagate_const
constexpr bool operator<(const X &x1, const X &x2) { return x1.i_ < x2.i_; }
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
@@ -34,4 +34,6 @@ int main() {
assert(!c(p2_1,p1_1));
assert(c(p1_1,p3_2));
assert(!c(p3_2,p1_1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@ using std::experimental::propagate_const
constexpr bool operator<=(const X &x1, const X &x2) { return x1.i_ <= x2.i_; }
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
@@ -34,4 +34,6 @@ int main() {
assert(c(p2_1,p1_1));
assert(c(p1_1,p3_2));
assert(!c(p3_2,p1_1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/not_equal_to.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/not_equal_to.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/not_equal_to.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/not_equal_to.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@ using std::experimental::propagate_const
constexpr bool operator!=(const X &x1, const X &x2) { return x1.i_ != x2.i_; }
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
@@ -32,4 +32,6 @@ int main() {
assert(!c(p1_1,p2_1));
assert(c(p1_1,p3_2));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ constexpr bool operator==(const nullptr_
return false;
}
-int main() {
+int main(int, char**) {
constexpr X x1_1(1);
constexpr X x2_1(1);
constexpr X x3_2(2);
@@ -60,4 +60,6 @@ int main() {
static_assert(!(p1_1==nullptr),"");
static_assert(!(nullptr==p1_1),"");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/greater_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/greater_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/greater_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/greater_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ constexpr bool operator>=(const X &lhs,
return lhs.i_ >= rhs.i_;
}
-int main() {
+int main(int, char**) {
constexpr X x1_1(1);
constexpr X x2_1(1);
constexpr X x3_2(2);
@@ -50,4 +50,6 @@ int main() {
static_assert(x1_1 >= p2_1, "");
static_assert(!(x1_1 >= p3_2), "");
static_assert(x3_2 >= p1_1, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/greater_than.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/greater_than.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/greater_than.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/greater_than.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ constexpr bool operator>(const X &lhs, c
return lhs.i_ > rhs.i_;
}
-int main() {
+int main(int, char**) {
constexpr X x1_1(1);
constexpr X x2_1(1);
constexpr X x3_2(2);
@@ -46,4 +46,6 @@ int main() {
static_assert(!(x1_1 > p2_1), "");
static_assert(x3_2 > p1_1, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/less_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/less_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/less_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/less_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ constexpr bool operator<=(const X &lhs,
return lhs.i_ <= rhs.i_;
}
-int main() {
+int main(int, char**) {
constexpr X x1_1(1);
constexpr X x2_1(1);
constexpr X x3_2(2);
@@ -51,4 +51,6 @@ int main() {
static_assert(x1_1 <= p3_2, "");
static_assert(!(x3_2 <= p1_1), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/less_than.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/less_than.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/less_than.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/less_than.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ constexpr bool operator<(const X &lhs, c
return lhs.i_ < rhs.i_;
}
-int main() {
+int main(int, char**) {
constexpr X x1_1(1);
constexpr X x2_1(1);
constexpr X x3_2(2);
@@ -46,4 +46,6 @@ int main() {
static_assert(!(p1_1 < x1_1), "");
static_assert(p1_1 < x3_2, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/not_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/not_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/not_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/not_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ constexpr bool operator!=(const nullptr_
return true;
}
-int main() {
+int main(int, char**) {
constexpr X x1_1(1);
constexpr X x2_1(1);
constexpr X x3_2(2);
@@ -58,4 +58,6 @@ int main() {
static_assert(p1_1!=nullptr,"");
static_assert(nullptr!=p1_1,"");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,10 +21,12 @@ using std::experimental::propagate_const
bool swap_called = false;
void swap(X &, X &) { swap_called = true; }
-int main() {
+int main(int, char**) {
typedef propagate_const<X> P;
P p1(1);
P p2(2);
swap(p1, p2);
assert(swap_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -10,8 +10,10 @@
#include <experimental/utility>
-int main()
+int main(int, char**)
{
std::experimental::erased_type e;
((void)e);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/experimental/utilities/utility/utility.synop/includes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/utilities/utility/utility.synop/includes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/utilities/utility/utility.synop/includes.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/utilities/utility/utility.synop/includes.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,6 +14,8 @@
# error "<experimental/utility> must include <utility>"
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/c.files/cinttypes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/c.files/cinttypes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/c.files/cinttypes.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/c.files/cinttypes.pass.cpp Mon Feb 4 12:31:13 2019
@@ -877,7 +877,7 @@ template <class T> void test()
((void)t); // Prevent unused warning
}
-int main()
+int main(int, char**)
{
test<std::int8_t >();
test<std::int16_t>();
@@ -927,4 +927,6 @@ int main()
static_assert((std::is_same<decltype(std::strtoumax("", (char**)0, 0)), std::uintmax_t>::value), "");
static_assert((std::is_same<decltype(std::wcstoimax(L"", (wchar_t**)0, 0)), std::intmax_t>::value), "");
static_assert((std::is_same<decltype(std::wcstoumax(L"", (wchar_t**)0, 0)), std::uintmax_t>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/c.files/cstdio.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/c.files/cstdio.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/c.files/cstdio.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/c.files/cstdio.pass.cpp Mon Feb 4 12:31:13 2019
@@ -85,7 +85,7 @@
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
-int main()
+int main(int, char**)
{
std::FILE* fp = 0;
std::fpos_t fpos = std::fpos_t();
@@ -154,4 +154,6 @@ int main()
static_assert((std::is_same<decltype(std::puts("")), int>::value), "");
static_assert((std::is_same<decltype(std::vprintf(" ",va)), int>::value), "");
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/c.files/gets.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/c.files/gets.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/c.files/gets.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/c.files/gets.fail.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,9 @@
#include <cstdio>
-int main()
+int main(int, char**)
{
(void) std::gets((char *) NULL);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -50,4 +50,6 @@ int main()
assert(f2.sgetc() == L'2');
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -52,4 +52,6 @@ int main()
assert(f2.sgetc() == L'2');
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -52,4 +52,6 @@ int main()
assert(f2.sgetc() == L'2');
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::filebuf f;
@@ -26,4 +26,6 @@ int main()
std::wfilebuf f;
assert(!f.is_open());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -50,4 +50,6 @@ int main()
assert(f2.sgetc() == L'2');
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
namespace fs = std::filesystem;
-int main() {
+int main(int, char**) {
fs::path p = get_temp_file_name();
{
@@ -52,4 +52,6 @@ int main() {
assert(f.sbumpc() == L'3');
}
remove(p.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -47,4 +47,6 @@ int main()
assert(f.sbumpc() == L'3');
}
remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ struct test_buf
virtual int_type overflow(int_type c = traits_type::eof()) {return base::overflow(c);}
};
-int main()
+int main(int, char**)
{
{
test_buf<char> f;
@@ -140,4 +140,6 @@ int main()
assert(f.sbumpc() == -1);
}
std::remove("overflow.dat");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/pbackfail.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/pbackfail.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/pbackfail.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/pbackfail.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ struct test_buf
virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);}
};
-int main()
+int main(int, char**)
{
{
test_buf<char> f;
@@ -60,4 +60,6 @@ int main()
assert(f.sgetc() == '2');
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
char buf[10];
@@ -62,4 +62,6 @@ int main()
assert(f.sgetc() == L'l');
}
std::remove("seekoff.dat");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ struct test_buf
virtual int_type underflow() {return base::underflow();}
};
-int main()
+int main(int, char**)
{
{
test_buf<char> f;
@@ -121,4 +121,6 @@ int main()
assert(f.sbumpc() == 0x4E53);
assert(f.sbumpc() == static_cast<Traits::int_type>(-1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include <fstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_streambuf<char>, std::basic_filebuf<char> >::value), "");
static_assert((std::is_same<std::basic_filebuf<char>::char_type, char>::value), "");
@@ -30,4 +30,6 @@ int main()
static_assert((std::is_same<std::basic_filebuf<char>::int_type, std::char_traits<char>::int_type>::value), "");
static_assert((std::is_same<std::basic_filebuf<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_filebuf<char>::off_type, std::char_traits<char>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,7 @@ std::pair<std::string, std::string> get_
return names;
}
-int main()
+int main(int, char**)
{
std::pair<std::string, std::string> temp_files = get_temp_file_names();
std::string& temp1 = temp_files.first;
@@ -87,4 +87,6 @@ int main()
}
std::remove(temp1.c_str());
std::remove(temp2.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -46,4 +46,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.assign/nonmember_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ std::pair<std::string, std::string> get_
return names;
}
-int main()
+int main(int, char**)
{
std::pair<std::string, std::string> temp_files = get_temp_file_names();
std::string& temp1 = temp_files.first;
@@ -89,4 +89,6 @@ int main()
}
std::remove(temp1.c_str());
std::remove(temp2.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
{
std::fstream fs;
@@ -24,4 +24,6 @@ int main()
{
std::wfstream fs;
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -44,4 +44,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
namespace fs = std::filesystem;
-int main() {
+int main(int, char**) {
fs::path p = get_temp_file_name();
{
std::fstream fs(p, std::ios_base::in | std::ios_base::out |
@@ -45,4 +45,6 @@ int main() {
assert(x == 3.25);
}
std::remove(p.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -40,4 +40,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -42,4 +42,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/close.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/close.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/close.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/close.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -38,4 +38,6 @@ int main()
assert(!fs.is_open());
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_path.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_path.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_path.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_path.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include <cassert>
#include "platform_support.h"
-int main() {
+int main(int, char**) {
std::filesystem::path p = get_temp_file_name();
{
std::fstream stream;
@@ -48,4 +48,6 @@ int main() {
assert(x == 3.25);
}
std::remove(p.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -46,4 +46,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/open_string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -46,4 +46,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/rdbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/rdbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/rdbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream.members/rdbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::fstream fs;
@@ -26,4 +26,6 @@ int main()
std::wfstream fs;
assert(fs.rdbuf());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/fstream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include <fstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_iostream<char>, std::basic_fstream<char> >::value), "");
static_assert((std::is_same<std::basic_fstream<char>::char_type, char>::value), "");
@@ -30,4 +30,6 @@ int main()
static_assert((std::is_same<std::basic_fstream<char>::int_type, std::char_traits<char>::int_type>::value), "");
static_assert((std::is_same<std::basic_fstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_fstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fs1("test.dat");
@@ -38,4 +38,6 @@ int main()
fs2 >> x;
assert(x == 3.25);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fso("test.dat");
@@ -36,4 +36,6 @@ int main()
fs >> x;
assert(x == 3.25);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fs1("test.dat");
@@ -39,4 +39,6 @@ int main()
fs2 >> x;
assert(x == 3.25);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
{
std::ifstream fs;
@@ -24,4 +24,6 @@ int main()
{
std::wifstream fs;
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fso("test.dat");
@@ -34,4 +34,6 @@ int main()
fs >> x;
assert(x == 3.25);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
namespace fs = std::filesystem;
-int main() {
+int main(int, char**) {
{
fs::path p;
static_assert(!std::is_convertible<fs::path, std::ifstream>::value,
@@ -49,4 +49,6 @@ int main() {
// std::wifstream(const fs::path&, std::ios_base::openmode) is tested in
// test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp
// which creates writable files.
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fs("test.dat");
@@ -36,4 +36,6 @@ int main()
// std::wifstream(const char*, std::ios_base::openmode) is tested in
// test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp
// which creates writable files.
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.cons/string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fs(std::string("test.dat"));
@@ -36,4 +36,6 @@ int main()
// std::wifstream(const std::string&, std::ios_base::openmode) is tested in
// test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp
// which creates writable files.
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/close.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/close.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/close.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/close.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fs;
@@ -34,4 +34,6 @@ int main()
fs.close();
assert(!fs.is_open());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_path.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_path.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_path.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_path.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <filesystem>
#include <cassert>
-int main() {
+int main(int, char**) {
{
std::ifstream fs;
assert(!fs.is_open());
@@ -44,4 +44,6 @@ int main() {
fs >> c;
assert(c == L'r');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fs;
@@ -42,4 +42,6 @@ int main()
fs >> c;
assert(c == L'r');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/open_string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fs;
@@ -42,4 +42,6 @@ int main()
fs >> c;
assert(c == L'r');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/rdbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/rdbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/rdbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream.members/rdbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fs("test.dat");
@@ -28,4 +28,6 @@ int main()
std::wfilebuf* fb = fs.rdbuf();
assert(fb->sgetc() == L'r');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ifstream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include <fstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_istream<char>, std::basic_ifstream<char> >::value), "");
static_assert((std::is_same<std::basic_ifstream<char>::char_type, char>::value), "");
@@ -30,4 +30,6 @@ int main()
static_assert((std::is_same<std::basic_ifstream<char>::int_type, std::char_traits<char>::int_type>::value), "");
static_assert((std::is_same<std::basic_ifstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_ifstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,7 @@ std::pair<std::string, std::string> get_
return names;
}
-int main()
+int main(int, char**)
{
std::pair<std::string, std::string> temp_files = get_temp_file_names();
std::string& temp1 = temp_files.first;
@@ -95,4 +95,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp2.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -48,4 +48,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ std::pair<std::string, std::string> get_
return names;
}
-int main()
+int main(int, char**)
{
std::pair<std::string, std::string> temp_files = get_temp_file_names();
std::string& temp1 = temp_files.first;
@@ -96,4 +96,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp2.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <fstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
{
std::ofstream fs;
@@ -24,4 +24,6 @@ int main()
{
std::wofstream fs;
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -46,4 +46,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
namespace fs = std::filesystem;
-int main() {
+int main(int, char**) {
fs::path p = get_temp_file_name();
{
static_assert(!std::is_convertible<fs::path, std::ofstream>::value,
@@ -65,4 +65,6 @@ int main() {
assert(x == 3.25);
}
std::remove(p.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -54,4 +54,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -54,4 +54,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -38,4 +38,6 @@ int main()
assert(!fs.is_open());
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_path.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_path.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_path.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_path.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
namespace fs = std::filesystem;
-int main() {
+int main(int, char**) {
fs::path p = get_temp_file_name();
{
std::ofstream fs;
@@ -58,4 +58,6 @@ int main() {
assert(c == L'a');
}
std::remove(p.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -54,4 +54,6 @@ int main()
assert(c == L'a');
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/open_string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -54,4 +54,6 @@ int main()
assert(c == L'a');
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/rdbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/rdbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/rdbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream.members/rdbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -32,4 +32,6 @@ int main()
assert(fb->sputc(L'r') == L'r');
}
std::remove(temp.c_str());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/ofstream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include <fstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_ostream<char>, std::basic_ofstream<char> >::value), "");
static_assert((std::is_same<std::basic_ofstream<char>::char_type, char>::value), "");
@@ -30,4 +30,6 @@ int main()
static_assert((std::is_same<std::basic_ofstream<char>::int_type, std::char_traits<char>::int_type>::value), "");
static_assert((std::is_same<std::basic_ofstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_ofstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/file.streams/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/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/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <type_traits>
#include <cassert>
-int main() {
+int main(int, char**) {
using namespace fs;
// Default
{
@@ -27,4 +27,6 @@ int main() {
directory_entry e;
assert(e.path() == path());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <type_traits>
#include <cassert>
-int main() {
+int main(int, char**) {
using namespace fs;
// Default
{
@@ -28,4 +28,6 @@ int main() {
const directory_entry e;
assert(e.path() == path());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp Mon Feb 4 12:31:13 2019
@@ -74,7 +74,9 @@ void test_comparisons_simple() {
}
}
-int main() {
+int main(int, char**) {
test_comparison_signatures();
test_comparisons_simple();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp Mon Feb 4 12:31:13 2019
@@ -81,7 +81,9 @@ void test_path_conversion() {
}
}
-int main() {
+int main(int, char**) {
test_path_method();
test_path_conversion();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/default_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/default_ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/default_ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/default_ctor.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_nothrow_default_constructible<fs::directory_iterator>::value, "");
}
@@ -31,4 +31,6 @@ int main() {
const fs::directory_iterator d2;
assert(d1 == d2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.directory_iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.directory_iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.directory_iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.directory_iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_macros.h"
-int main() {
+int main(int, char**) {
using namespace fs;
using D = directory_iterator;
ASSERT_SAME_TYPE(D::value_type, directory_entry);
@@ -33,4 +33,6 @@ int main() {
ASSERT_SAME_TYPE(D::pointer, const directory_entry*);
ASSERT_SAME_TYPE(D::reference, const directory_entry&);
ASSERT_SAME_TYPE(D::iterator_category, std::input_iterator_tag);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_convertible.hpp"
-int main() {
+int main(int, char**) {
using namespace fs;
// Default ctor
{
@@ -56,4 +56,6 @@ int main() {
assert(f.type() == file_type::regular);
assert(f.permissions() == perms::owner_read);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include <cassert>
-int main() {
+int main(int, char**) {
using namespace fs;
file_status st;
@@ -45,4 +45,6 @@ int main() {
st.permissions(perms::owner_read);
assert(st.permissions() == perms::owner_read);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include <cassert>
-int main() {
+int main(int, char**) {
using namespace fs;
const file_status st(file_type::regular, perms::owner_read);
@@ -41,4 +41,6 @@ int main() {
"operation must return perms");
assert(st.permissions() == perms::owner_read);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.filesystem_error/filesystem_error.members.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.filesystem_error/filesystem_error.members.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.filesystem_error/filesystem_error.members.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.filesystem_error/filesystem_error.members.pass.cpp Mon Feb 4 12:31:13 2019
@@ -94,8 +94,10 @@ void test_signatures()
}
}
-int main() {
+int main(int, char**) {
static_assert(std::is_base_of<std::system_error, fs::filesystem_error>::value, "");
test_constructors();
test_signatures();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.itr/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.itr/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.itr/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.itr/iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -97,8 +97,10 @@ void checkBeginEndBasic() {
}
-int main() {
+int main(int, char**) {
using namespace fs;
checkIteratorConcepts();
checkBeginEndBasic(); // See path.decompose.pass.cpp for more tests.
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp Mon Feb 4 12:31:13 2019
@@ -311,7 +311,7 @@ void test_sfinae()
}
}
-int main()
+int main(int, char**)
{
using namespace fs;
for (auto const & TC : Cases) {
@@ -335,4 +335,6 @@ int main()
doAppendSourceAllocTest<wchar_t>(TC);
}
test_sfinae();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/braced_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/braced_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/braced_init.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/braced_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,9 +22,11 @@
#include "count_new.hpp"
-int main() {
+int main(int, char**) {
using namespace fs;
path p("abc");
p = {};
assert(p.native() == "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_macros.h"
-int main() {
+int main(int, char**) {
using namespace fs;
static_assert(std::is_copy_assignable<path>::value, "");
static_assert(!std::is_nothrow_copy_assignable<path>::value, "should not be noexcept");
@@ -32,4 +32,6 @@ int main() {
assert(p.native() == s);
assert(p2.native() == s);
assert(&pref == &p2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "count_new.hpp"
-int main() {
+int main(int, char**) {
using namespace fs;
static_assert(std::is_nothrow_move_assignable<path>::value, "");
assert(globalMemCounter.checkOutstandingNewEq(0));
@@ -38,4 +38,6 @@ int main() {
assert(p.native() != s); // Testing moved from state
assert(&pref == &p2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp Mon Feb 4 12:31:13 2019
@@ -228,7 +228,7 @@ void RunStringMoveTest(const char* Expec
}
}
-int main() {
+int main(int, char**) {
for (auto const& MS : PathList) {
RunTestCase<char>(MS);
RunTestCase<wchar_t>(MS);
@@ -237,4 +237,6 @@ int main() {
RunStringMoveTest(MS);
}
test_sfinae();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -184,7 +184,9 @@ void test_compare_elements() {
}
}
-int main() {
+int main(int, char**) {
test_compare_basic();
test_compare_elements();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.concat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.concat.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.concat.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.concat.pass.cpp Mon Feb 4 12:31:13 2019
@@ -325,7 +325,7 @@ void test_sfinae() {
}
}
-int main()
+int main(int, char**)
{
using namespace fs;
for (auto const & TC : Cases) {
@@ -384,4 +384,6 @@ int main()
doConcatECharTest<char32_t>(TC);
}
test_sfinae();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_macros.h"
-int main() {
+int main(int, char**) {
using namespace fs;
static_assert(std::is_copy_constructible<path>::value, "");
static_assert(!std::is_nothrow_copy_constructible<path>::value, "should not be noexcept");
@@ -30,4 +30,6 @@ int main() {
path p2(p);
assert(p.native() == s);
assert(p2.native() == s);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,9 +21,11 @@
#include "test_macros.h"
-int main() {
+int main(int, char**) {
using namespace fs;
static_assert(std::is_nothrow_default_constructible<path>::value, "");
const path p;
assert(p.empty());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "count_new.hpp"
-int main() {
+int main(int, char**) {
using namespace fs;
static_assert(std::is_nothrow_move_constructible<path>::value, "");
assert(globalMemCounter.checkOutstandingNewEq(0));
@@ -36,4 +36,6 @@ int main() {
assert(p2.native() == s);
assert(p.native() != s); // Testing moved from state
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/source.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/source.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/source.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.construct/source.pass.cpp Mon Feb 4 12:31:13 2019
@@ -117,7 +117,7 @@ void test_sfinae() {
}
}
-int main() {
+int main(int, char**) {
for (auto const& MS : PathList) {
RunTestCase<char>(MS);
RunTestCase<wchar_t>(MS);
@@ -125,4 +125,6 @@ int main() {
RunTestCase<char32_t>(MS);
}
test_sfinae();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.decompose/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.decompose/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.decompose/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.decompose/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
fs::path c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.decompose/path.decompose.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.decompose/path.decompose.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.decompose/path.decompose.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.decompose/path.decompose.pass.cpp Mon Feb 4 12:31:13 2019
@@ -208,8 +208,10 @@ void decompFilenameTest()
}
}
-int main()
+int main(int, char**)
{
decompPathTest();
decompFilenameTest();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_normal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_normal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_normal.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_normal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#include "filesystem_test_helper.hpp"
-int main() {
+int main(int, char**) {
// clang-format off
struct {
std::string input;
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "filesystem_test_helper.hpp"
-int main() {
+int main(int, char**) {
// clang-format off
struct {
std::string input;
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ MultiStringType longString = MKSTR("abcd
// generic_string<C, T, A> forwards to string<C, T, A>. Tests for
// string<C, T, A>() are in "path.native.op/string_alloc.pass.cpp".
// generic_string is minimally tested here.
-int main()
+int main(int, char**)
{
using namespace fs;
using CharT = wchar_t;
@@ -51,4 +51,6 @@ int main()
assert(Alloc::alloc_count > 0);
assert(Alloc::outstanding_alloc() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/named_overloads.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/named_overloads.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/named_overloads.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/named_overloads.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
MultiStringType longString = MKSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/123456789/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
-int main()
+int main(int, char**)
{
using namespace fs;
auto const& MS = longString;
@@ -57,4 +57,6 @@ int main()
std::u32string s = p.generic_u32string();
assert(s == (const char32_t*)MS);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "filesystem_test_helper.hpp"
-int main() {
+int main(int, char**) {
using namespace fs;
{
path p;
@@ -40,4 +40,6 @@ int main() {
p2.clear();
assert(p2.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/make_preferred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/make_preferred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/make_preferred.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/make_preferred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,7 @@ const MakePreferredTestcase TestCases[]
, {"\\foo\\/bar\\/baz\\"}
};
-int main()
+int main(int, char**)
{
// This operation is an identity operation on linux.
using namespace fs;
@@ -50,4 +50,6 @@ int main()
assert(p.native() == TC.value);
assert(&Ref == &p);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/remove_filename.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/remove_filename.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/remove_filename.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/remove_filename.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,7 @@ const RemoveFilenameTestcase TestCases[]
, {"bar/../baz/./file.txt", "bar/../baz/./"}
};
-int main()
+int main(int, char**)
{
using namespace fs;
for (auto const & TC : TestCases) {
@@ -69,4 +69,6 @@ int main()
assert(&Ref == &p);
assert(!p.has_filename());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_extension.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_extension.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_extension.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_extension.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,7 +51,7 @@ const ReplaceExtensionTestcase NoArgCase
, {"foo..cpp", "foo.", ""}
};
-int main()
+int main(int, char**)
{
using namespace fs;
for (auto const & TC : TestCases) {
@@ -68,4 +68,6 @@ int main()
assert(p == TC.expect);
assert(&Ref == &p);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_filename.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_filename.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_filename.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_filename.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,7 +47,7 @@ const ReplaceFilenameTestcase TestCases[
, {"/foo\\baz/bong", "/foo\\baz/bar", "bar"}
};
-int main()
+int main(int, char**)
{
using namespace fs;
for (auto const & TC : TestCases) {
@@ -67,4 +67,6 @@ int main()
ASSERT_EQ(p, p2);
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.modifiers/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ const SwapTestcase TestCases[] =
#undef LONG_STR1
#undef LONG_STR2
-int main()
+int main(int, char**)
{
using namespace fs;
{
@@ -76,4 +76,6 @@ int main()
}
assert(p1 == Val);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/c_str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/c_str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/c_str.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/c_str.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "filesystem_test_helper.hpp"
-int main()
+int main(int, char**)
{
using namespace fs;
const char* const value = "hello world";
@@ -38,4 +38,6 @@ int main()
assert(p.c_str() == str_value);
assert(p.native().c_str() == p.c_str());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/named_overloads.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/named_overloads.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/named_overloads.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/named_overloads.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
MultiStringType longString = MKSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/123456789/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
-int main()
+int main(int, char**)
{
using namespace fs;
auto const& MS = longString;
@@ -58,4 +58,6 @@ int main()
std::u32string s = p.u32string();
assert(s == (const char32_t*)MS);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/native.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/native.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/native.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/native.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "filesystem_test_helper.hpp"
-int main()
+int main(int, char**)
{
using namespace fs;
const char* const value = "hello world";
@@ -35,4 +35,6 @@ int main()
path p(value);
assert(p.native() == value);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/operator_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/operator_string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/operator_string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/operator_string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "filesystem_test_helper.hpp"
-int main()
+int main(int, char**)
{
using namespace fs;
using string_type = path::string_type;
@@ -42,4 +42,6 @@ int main()
assert(s == value);
assert(p == value);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/string_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/string_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/string_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.native.obs/string_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -116,7 +116,7 @@ void doLongStringTest(MultiStringType co
/////////////////////////////////////////////////////////////////////////////
}
-int main()
+int main(int, char**)
{
using namespace fs;
{
@@ -133,4 +133,6 @@ int main()
doLongStringTest<char16_t>(S);
doLongStringTest<char32_t>(S);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.query/tested_in_path_decompose.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.query/tested_in_path_decompose.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.query/tested_in_path_decompose.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.member/path.query/tested_in_path_decompose.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,4 +28,6 @@
// bool is_relative() const;
// tested in path.decompose
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/append_op.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/append_op.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/append_op.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/append_op.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,9 @@ struct ConvToPath {
}
};
-int main() {
+int main(int, char**) {
ConvToPath LHS, RHS;
(void)(LHS / RHS); // expected-error {{invalid operands to binary expression}}
+
+ return 0;
}
\ No newline at end of file
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/append_op.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/append_op.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/append_op.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/append_op.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "filesystem_test_helper.hpp"
// This is mainly tested via the member append functions.
-int main()
+int main(int, char**)
{
using namespace fs;
path p1("abc");
@@ -30,4 +30,6 @@ int main()
path p4 = p1 / "def";
assert(p4 == "abc/def");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops.fail.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@ struct ConvToPath {
}
};
-int main() {
+int main(int, char**) {
ConvToPath LHS, RHS;
(void)(LHS == RHS); // expected-error {{invalid operands to binary expression}}
(void)(LHS != RHS); // expected-error {{invalid operands to binary expression}}
@@ -29,4 +29,6 @@ int main() {
(void)(LHS <= RHS); // expected-error {{invalid operands to binary expression}}
(void)(LHS > RHS); // expected-error {{invalid operands to binary expression}}
(void)(LHS >= RHS); // expected-error {{invalid operands to binary expression}}
+
+ return 0;
}
\ No newline at end of file
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops_tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops_tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops_tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops_tested_elsewhere.pass.cpp Mon Feb 4 12:31:13 2019
@@ -10,4 +10,6 @@
// The comparison operators are tested as part of [path.compare]
// in class.path/path.members/path.compare.pass.cpp
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/hash_value_tested_elswhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/hash_value_tested_elswhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/hash_value_tested_elswhere.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/hash_value_tested_elswhere.pass.cpp Mon Feb 4 12:31:13 2019
@@ -10,4 +10,6 @@
// The "hash_value" function is tested as part of [path.compare]
// in class.path/path.members/path.compare.pass.cpp
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "filesystem_test_helper.hpp"
-int main()
+int main(int, char**)
{
using namespace fs;
const char* In1 = "abcd/efg";
@@ -48,4 +48,6 @@ int main()
path p = fs::u8path(In3, In3End);
assert(p == In1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.io.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.io.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.io.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.io.pass.cpp Mon Feb 4 12:31:13 2019
@@ -88,10 +88,12 @@ void test_LWG2989() {
static_assert(!is_istreamable<decltype(std::wcin), std::string>::value, "");
}
-int main() {
+int main(int, char**) {
doIOTest<char>();
doIOTest<wchar_t>();
//doIOTest<char16_t>();
//doIOTest<char32_t>();
test_LWG2989();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.io.unicode_bug.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.io.unicode_bug.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.io.unicode_bug.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/path.io.unicode_bug.pass.cpp Mon Feb 4 12:31:13 2019
@@ -62,7 +62,9 @@ void doIOTest() {
}
-int main() {
+int main(int, char**) {
doIOTest<char16_t>();
doIOTest<char32_t>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/path.nonmember/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
// NOTE: this is tested in path.members/path.modifiers via the member swap.
-int main()
+int main(int, char**)
{
using namespace fs;
const char* value1 = "foo/bar/baz";
@@ -45,4 +45,6 @@ int main()
assert(p1.native() == value1);
assert(p2.native() == value2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/class.path/synop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/class.path/synop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/class.path/synop.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/class.path/synop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "test_macros.h"
-int main() {
+int main(int, char**) {
using namespace fs;
ASSERT_SAME_TYPE(path::value_type, char);
ASSERT_SAME_TYPE(path::string_type, std::basic_string<path::value_type>);
@@ -34,4 +34,6 @@ int main() {
const char* dummy = &path::preferred_separator;
((void)dummy);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
constexpr fs::copy_options ME(int val) { return static_cast<fs::copy_options>(val); }
-int main() {
+int main(int, char**) {
typedef fs::copy_options E;
static_assert(std::is_enum<E>::value, "");
@@ -59,4 +59,6 @@ int main() {
E::create_symlinks == ME(128) &&
E::create_hard_links == ME(256),
"Expected enumeration values do not match");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
constexpr fs::directory_options ME(int val) { return static_cast<fs::directory_options>(val); }
-int main() {
+int main(int, char**) {
typedef fs::directory_options E;
static_assert(std::is_enum<E>::value, "");
@@ -41,4 +41,6 @@ int main() {
E::skip_permission_denied == ME(2),
"Expected enumeration values do not match");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
constexpr fs::file_type ME(int val) { return static_cast<fs::file_type>(val); }
-int main() {
+int main(int, char**) {
typedef fs::file_type E;
static_assert(std::is_enum<E>::value, "");
@@ -43,4 +43,6 @@ int main() {
E::socket == ME(7) &&
E::unknown == ME(8),
"Expected enumeration values do not match");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.path.format.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.path.format.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.path.format.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.path.format.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_macros.h"
-int main() {
+int main(int, char**) {
typedef fs::path::format E;
static_assert(std::is_enum<E>::value, "");
@@ -34,4 +34,6 @@ int main() {
E::auto_format != E::generic_format &&
E::native_format != E::generic_format,
"Expected enumeration values are not unique");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.perm_options.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.perm_options.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.perm_options.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.perm_options.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ constexpr fs::perm_options ME(int val) {
return static_cast<fs::perm_options>(val);
}
-int main() {
+int main(int, char**) {
typedef fs::perm_options E;
static_assert(std::is_enum<E>::value, "");
@@ -44,4 +44,6 @@ int main() {
E::remove == ME(4) &&
E::nofollow == ME(8),
"Expected enumeration values do not match");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
constexpr fs::perms ME(int val) { return static_cast<fs::perms>(val); }
-int main() {
+int main(int, char**) {
typedef fs::perms E;
static_assert(std::is_enum<E>::value, "");
@@ -60,4 +60,6 @@ int main() {
E::mask == ME(07777) &&
E::unknown == ME(0xFFFF),
"Expected enumeration values do not match");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.error.report/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.error.report/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.error.report/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.error.report/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/input.output/filesystems/fs.filesystem.synopsis/file_time_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.filesystem.synopsis/file_time_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.filesystem.synopsis/file_time_type.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.filesystem.synopsis/file_time_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,9 @@ void test_time_point_resolution_and_rang
ASSERT_SAME_TYPE(Period, std::nano);
}
-int main() {
+int main(int, char**) {
test_trivial_clock();
test_time_point_resolution_and_range();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "filesystem_test_helper.hpp"
-int main() {
+int main(int, char**) {
// clang-format off
struct {
std::string input;
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.req.macros/feature_macro.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.req.macros/feature_macro.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.req.macros/feature_macro.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.req.macros/feature_macro.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,4 +25,6 @@
#endif
#endif
-int main() { }
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.req.namespace/namespace.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.req.namespace/namespace.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.req.namespace/namespace.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.req.namespace/namespace.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ using namespace std::filesystem;
// expected-error at -5 {{expected namespace name}}
#endif
-int main() {
+int main(int, char**) {
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,9 +17,11 @@
using namespace std::filesystem;
-int main() {
+int main(int, char**) {
static_assert(std::is_same<
path,
std::filesystem::path
>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/input.output.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/input.output.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/input.output.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/input.output.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/input.output/iostream.format/ext.manip/get_money.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_money.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_money.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_money.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ public:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" -$1,234,567.89");
@@ -72,4 +72,6 @@ int main()
is >> std::get_money(x, true);
assert(x == -123456789);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_time.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_time.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_time.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_time.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ public:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" Sat Dec 31 23:55:59 2061");
@@ -72,4 +72,6 @@ int main()
assert(is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_money.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_money.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_money.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_money.pass.cpp Mon Feb 4 12:31:13 2019
@@ -50,7 +50,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -88,4 +88,6 @@ int main()
os << std::put_money(x, true);
assert(sb.str() == L"-USD 1,234,567.89");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp Mon Feb 4 12:31:13 2019
@@ -50,7 +50,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -83,4 +83,6 @@ int main()
os << std::put_time(&t, L"%a %b %d %H:%M:%S %Y");
assert(sb.str() == L"Sat Dec 31 23:55:59 2061");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct test_iostream
void swap(test_iostream& s) {base::swap(s);}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb1;
@@ -81,4 +81,6 @@ int main()
assert(is2.precision() == 6);
assert(is2.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ struct test_iostream
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb1;
@@ -86,4 +86,6 @@ int main()
assert(is2.precision() == 6);
assert(is2.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ struct test_iostream
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -72,4 +72,6 @@ int main()
assert(is.precision() == 6);
assert(is.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@ struct testbuf
testbuf() {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -51,4 +51,6 @@ int main()
assert(is.getloc().name() == "C");
assert(is.gcount() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.dest/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.dest/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.dest/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.dest/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/input.output/iostream.format/input.streams/iostreamclass/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/iostreamclass/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include <istream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_istream<char>, std::basic_iostream<char> >::value), "");
static_assert((std::is_base_of<std::basic_ostream<char>, std::basic_iostream<char> >::value), "");
@@ -33,4 +33,6 @@ int main()
static_assert((std::is_same<std::basic_iostream<char>::int_type, std::char_traits<char>::int_type>::value), "");
static_assert((std::is_same<std::basic_iostream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_iostream<char>::off_type, std::char_traits<char>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -76,4 +76,6 @@ int main()
assert(!is.eof());
assert( is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -97,4 +97,6 @@ int main()
assert( is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -76,4 +76,6 @@ int main()
assert(!is.eof());
assert( is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(!is.eof());
assert(!is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.reqmts/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.reqmts/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.reqmts/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.reqmts/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/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/basic_ios.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/basic_ios.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/basic_ios.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/basic_ios.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,11 +27,13 @@ f(std::basic_ios<CharT>& is)
return is;
}
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
is >> f;
assert(f_called == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/chart.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/chart.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/chart.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/chart.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" ");
@@ -83,4 +83,6 @@ int main()
assert(!is.fail());
assert(c == L'c');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ios_base.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ios_base.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ios_base.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ios_base.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,11 +25,13 @@ f(std::ios_base& is)
return is;
}
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
is >> f;
assert(f_called == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/istream.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/istream.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/istream.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/istream.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,11 +27,13 @@ f(std::basic_istream<CharT>& is)
return is;
}
-int main()
+int main(int, char**)
{
{
std::istream is((std::streambuf*)0);
is >> f;
assert(f_called == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/signed_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/signed_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/signed_char.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/signed_char.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" ");
@@ -66,4 +66,6 @@ int main()
assert(!is.fail());
assert(c == 'c');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/signed_char_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/signed_char_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/signed_char_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/signed_char_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" abcdefghijk ");
@@ -103,4 +103,6 @@ int main()
assert(std::string((char*)s) == "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -55,7 +55,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb("testing...");
@@ -65,4 +65,6 @@ int main()
assert(sb2.str() == "testing...");
assert(is.gcount() == 10);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/unsigned_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/unsigned_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/unsigned_char.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/unsigned_char.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" ");
@@ -66,4 +66,6 @@ int main()
assert(!is.fail());
assert(c == 'c');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/unsigned_char_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/unsigned_char_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/unsigned_char_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/unsigned_char_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" abcdefghijk ");
@@ -103,4 +103,6 @@ int main()
assert(std::string((char*)s) == "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/wchar_t_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/wchar_t_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/wchar_t_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/wchar_t_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" abcdefghijk ");
@@ -114,4 +114,6 @@ int main()
assert(std::string(s) == "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.formatted/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/input.output/iostream.format/input.streams/istream.manip/ws.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.manip/ws.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.manip/ws.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.manip/ws.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 123");
@@ -75,4 +75,6 @@ int main()
assert(is.eof());
assert(is.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,7 +47,7 @@ struct A{};
bool called = false;
void operator>>(std::istream&, A&&){ called = true; }
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 123");
@@ -68,4 +68,6 @@ int main()
assert(&out == &ss);
assert(called);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" ");
@@ -96,4 +96,6 @@ int main()
assert(c == L'c');
assert(is.gcount() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" ");
@@ -99,4 +99,6 @@ int main()
assert(c == L'c');
assert(is.gcount() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" \n \n ");
@@ -158,4 +158,6 @@ int main()
assert(is.gcount() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" * * ");
@@ -158,4 +158,6 @@ int main()
assert(is.gcount() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,7 +52,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb("testing\n...");
@@ -84,4 +84,6 @@ int main()
assert(!is.fail());
assert(is.gcount() == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb("testing*...");
@@ -85,4 +85,6 @@ int main()
assert(!is.fail());
assert(is.gcount() == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" \n \n ");
@@ -142,4 +142,6 @@ int main()
assert(is.gcount() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" * * ");
@@ -142,4 +142,6 @@ int main()
assert(is.gcount() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 1\n2345\n6");
@@ -72,4 +72,6 @@ int main()
assert(!is.fail());
assert(is.gcount() == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore_0xff.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore_0xff.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore_0xff.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore_0xff.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
int bad=-1;
std::ostringstream os;
@@ -30,4 +30,6 @@ int main()
is.ignore(ignoreLen);
std::istringstream::pos_type b=is.tellg();
assert((b-a)==ignoreLen);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 1\n2345\n6");
@@ -65,4 +65,6 @@ int main()
assert(!is.fail());
assert(is.gcount() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/putback.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/putback.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/putback.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/putback.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 123456789");
@@ -85,4 +85,6 @@ int main()
assert(is.bad());
assert(is.gcount() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 123456789");
@@ -77,4 +77,6 @@ int main()
assert( is.fail());
assert(is.gcount() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/readsome.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/readsome.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/readsome.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/readsome.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 1234567890");
@@ -81,4 +81,6 @@ int main()
assert(std::wstring(s, 1) == L"0");
assert(is.readsome(s, 5) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 123456789");
@@ -71,4 +71,6 @@ int main()
assert(is.good());
assert(!is.eof());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,7 +52,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 123456789");
@@ -83,4 +83,6 @@ int main()
assert(is.good());
assert(!is.eof());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/sync.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/sync.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/sync.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/sync.pass.cpp Mon Feb 4 12:31:13 2019
@@ -46,7 +46,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 123456789");
@@ -60,4 +60,6 @@ int main()
assert(is.sync() == 0);
assert(sync_called == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/tellg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/tellg.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/tellg.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/tellg.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,7 +47,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 123456789");
@@ -59,4 +59,6 @@ int main()
std::wistream is(&sb);
assert(is.tellg() == 5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/unget.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/unget.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/unget.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unformatted/unget.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ public:
CharT* egptr() const {return base::egptr();}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb(" 123456789");
@@ -77,4 +77,6 @@ int main()
assert(is.bad());
assert(is.gcount() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct test_istream
void swap(test_istream& s) {base::swap(s);}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb1;
@@ -81,4 +81,6 @@ int main()
assert(is2.precision() == 6);
assert(is2.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.assign/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.assign/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.assign/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.assign/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ struct test_istream
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb1;
@@ -86,4 +86,6 @@ int main()
assert(is2.precision() == 6);
assert(is2.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/copy.fail.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,9 @@ struct test_istream
};
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ struct test_istream
: base(std::move(s)) {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -70,4 +70,6 @@ int main()
assert(is.precision() == 6);
assert(is.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream.cons/streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@ struct testbuf
testbuf() {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -51,4 +51,6 @@ int main()
assert(is.getloc().name() == "C");
assert(is.gcount() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::istream is((testbuf<char>*)0);
@@ -124,4 +124,6 @@ int main()
assert(sync_called == 0);
assert(sb.gptr() == sb.eback());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include <istream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_ios<char>, std::basic_istream<char> >::value), "");
static_assert((std::is_same<std::basic_istream<char>::char_type, char>::value), "");
@@ -31,4 +31,6 @@ int main()
static_assert((std::is_same<std::basic_istream<char>::int_type, std::char_traits<char>::int_type>::value), "");
static_assert((std::is_same<std::basic_istream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_istream<char>::off_type, std::char_traits<char>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/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/input.output/iostream.format/output.streams/ostream.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct test_ostream
void swap(test_ostream& s) {base::swap(s);}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb1;
@@ -81,4 +81,6 @@ int main()
assert(os2.precision() == 6);
assert(os2.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.assign/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.assign/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.assign/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.assign/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ struct test_ostream
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb1;
@@ -86,4 +86,6 @@ int main()
assert(os2.precision() == 6);
assert(os2.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ struct test_ostream
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -68,4 +68,6 @@ int main()
assert(os.precision() == 6);
assert(os.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.cons/streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.cons/streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.cons/streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.cons/streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@ struct testbuf
testbuf() {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -49,4 +49,6 @@ int main()
assert(os.precision() == 6);
assert(os.getloc().name() == "C");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/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/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.reqmts/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.reqmts/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.reqmts/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.reqmts/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/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/bool.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/bool.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -87,4 +87,6 @@ int main()
os << b;
assert(sb.str() == "false");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/double.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/double.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/double.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/double.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "-10.5");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/float.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/float.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/float.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/float.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "-10.5");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/int.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/int.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "fffffff6");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "fffffff6");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long_double.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long_double.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long_double.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long_double.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "-10.5");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long_long.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long_long.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long_long.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long_long.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "fffffffffffffff6");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ static void test(std::ios_base::fmtflags
assert(ss.str() == expected);
}
-int main()
+int main(int, char**)
{
const std::ios_base::fmtflags o = std::ios_base::oct;
const std::ios_base::fmtflags d = std::ios_base::dec;
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -58,7 +58,7 @@ void test_hex(const char *expected)
assert(str == expected);
}
-int main()
+int main(int, char**)
{
test_octal<uint16_t>( "177777");
@@ -110,4 +110,6 @@ int main()
test_hex<unsigned long long>("FFFFFFFFFFFFFFFF");
test_hex< long long>("FFFFFFFFFFFFFFFF");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -87,4 +87,6 @@ int main()
os << n;
assert(os.good());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/short.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/short.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/short.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/short.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "fff6");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_int.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_int.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "fff6");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "fffffff6");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long_long.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long_long.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long_long.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long_long.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "fffffffffffffff6");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_short.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_short.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_short.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_short.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -79,4 +79,6 @@ int main()
os << n;
assert(sb.str() == "fff6");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/CharT.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/CharT.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/CharT.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/CharT.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::wostream os((std::wstreambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == L"a ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/CharT_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/CharT_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/CharT_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/CharT_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::wostream os((std::wstreambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == L"123 ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == "a ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == "123 ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_to_wide.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_to_wide.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_to_wide.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_to_wide.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::wostream os((std::wstreambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == L"a ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_to_wide_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_to_wide_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_to_wide_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/char_to_wide_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::wostream os((std::wstreambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == L"123 ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/signed_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/signed_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/signed_char.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/signed_char.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == "a ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/signed_char_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/signed_char_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/signed_char_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/signed_char_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == "123 ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/unsigned_char.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/unsigned_char.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/unsigned_char.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/unsigned_char.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == "a ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/unsigned_char_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/unsigned_char_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/unsigned_char_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/unsigned_char_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -84,4 +84,6 @@ int main()
assert(sb.str() == "123 ");
assert(os.width() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/basic_ios.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/basic_ios.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/basic_ios.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/basic_ios.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,7 @@ f(std::basic_ios<CharT>& os)
return os;
}
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -66,4 +66,6 @@ int main()
os << f;
assert( (os.flags() & std::ios_base::uppercase));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ios_base.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ios_base.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ios_base.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ios_base.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -57,4 +57,6 @@ int main()
os << std::uppercase;
assert( (os.flags() & std::ios_base::uppercase));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ostream.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ostream.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ostream.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ostream.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,7 @@ f(std::basic_ostream<CharT>& os)
return os;
}
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -65,4 +65,6 @@ int main()
os << f;
assert(sb.str() == "testing...");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -55,7 +55,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -65,4 +65,6 @@ int main()
os << &sb2;
assert(sb.str() == "testing...");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/endl.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/endl.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/endl.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/endl.pass.cpp Mon Feb 4 12:31:13 2019
@@ -58,7 +58,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -76,4 +76,6 @@ int main()
assert(sync_called == 2);
assert(os.good());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/ends.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/ends.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/ends.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/ends.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -67,4 +67,6 @@ int main()
assert(sb.str().back() == 0);
assert(os.good());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/flush.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/flush.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/flush.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.manip/flush.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -54,4 +54,6 @@ int main()
assert(sync_called == 2);
assert(os.good());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.rvalue/CharT_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.rvalue/CharT_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.rvalue/CharT_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.rvalue/CharT_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,7 +54,7 @@ protected:
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -66,4 +66,6 @@ int main()
std::wostream(&sb) << L"123";
assert(sb.str() == L"123");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/seekp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/seekp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/seekp.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/seekp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
seekpos_called = 0;
@@ -64,4 +64,6 @@ int main()
assert(seekpos_called == 1);
assert(os.rdstate() == std::ios_base::eofbit);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/seekp2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/seekp2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/seekp2.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/seekp2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
seekoff_called = 0;
@@ -66,4 +66,6 @@ int main()
assert(seekoff_called == 1);
assert(os.rdstate() == std::ios_base::eofbit);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/tellp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/tellp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/tellp.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.seeks/tellp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -50,4 +50,6 @@ int main()
assert(os.tellp() == 10);
assert(seekoff_called == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/flush.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/flush.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/flush.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/flush.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -50,4 +50,6 @@ int main()
assert(os.bad());
assert(sync_called == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/put.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/put.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/put.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/put.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::wostream os((std::wstreambuf*)0);
@@ -72,4 +72,6 @@ int main()
assert(sb.str() == "a");
assert(os.good());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/write.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/write.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/write.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream.unformatted/write.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::wostream os((std::wstreambuf*)0);
@@ -72,4 +72,6 @@ int main()
assert(sb.str() == s);
assert(os.good());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include <ostream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_ios<char>, std::basic_ostream<char> >::value), "");
static_assert((std::is_same<std::basic_ostream<char>::char_type, char>::value), "");
@@ -31,4 +31,6 @@ int main()
static_assert((std::is_same<std::basic_ostream<char>::int_type, std::char_traits<char>::int_type>::value), "");
static_assert((std::is_same<std::basic_ostream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_ostream<char>::off_type, std::char_traits<char>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream_sentry/construct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream_sentry/construct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream_sentry/construct.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream_sentry/construct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -57,4 +57,6 @@ int main()
assert(bool(s));
assert(sync_called == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream_sentry/destruct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream_sentry/destruct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream_sentry/destruct.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/output.streams/ostream_sentry/destruct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
std::ostream os((std::streambuf*)0);
@@ -75,4 +75,6 @@ int main()
assert(sync_called == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp Mon Feb 4 12:31:13 2019
@@ -123,7 +123,7 @@ void test_padding () {
}
-int main()
+int main(int, char**)
{
both_ways ( "" ); // This is a compilation check
@@ -173,8 +173,12 @@ int main()
assert ( unquote ( "" ) == "" ); // nothing there
assert ( unquote ( L"" ) == L"" ); // nothing there
test_padding ();
- }
+
+ return 0;
+}
#else
-int main() {}
+int main(int, char**) {
+ return 0;
+}
#endif
Modified: libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted_char.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted_char.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted_char.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted_char.fail.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ void round_trip ( const char *p ) {
-int main()
+int main(int, char**)
{
round_trip ( "Hi Mom" );
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted_traits.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted_traits.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted_traits.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/quoted.manip/quoted_traits.fail.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ void round_trip ( const char *p ) {
-int main()
+int main(int, char**)
{
round_trip ( "Hi Mom" );
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/std.manip/resetiosflags.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/std.manip/resetiosflags.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/std.manip/resetiosflags.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/std.manip/resetiosflags.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@ struct testbuf
testbuf() {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -52,4 +52,6 @@ int main()
os << std::resetiosflags(std::ios_base::skipws);
assert(!(os.flags() & std::ios_base::skipws));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/std.manip/setbase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/std.manip/setbase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/std.manip/setbase.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/std.manip/setbase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@ struct testbuf
testbuf() {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -72,4 +72,6 @@ int main()
os << std::setbase(15);
assert((os.flags() & std::ios_base::basefield) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/std.manip/setfill.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/std.manip/setfill.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/std.manip/setfill.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/std.manip/setfill.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@ struct testbuf
testbuf() {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -35,4 +35,6 @@ int main()
os << std::setfill(L'*');
assert(os.fill() == L'*');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/std.manip/setiosflags.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/std.manip/setiosflags.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/std.manip/setiosflags.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/std.manip/setiosflags.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@ struct testbuf
testbuf() {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -52,4 +52,6 @@ int main()
os << std::setiosflags(std::ios_base::oct);
assert(os.flags() & std::ios_base::oct);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/std.manip/setprecision.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/std.manip/setprecision.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/std.manip/setprecision.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/std.manip/setprecision.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@ struct testbuf
testbuf() {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -48,4 +48,6 @@ int main()
os << std::setprecision(10);
assert(os.precision() == 10);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.format/std.manip/setw.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/std.manip/setw.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/std.manip/setw.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/std.manip/setw.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@ struct testbuf
testbuf() {}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb;
@@ -48,4 +48,6 @@ int main()
os << std::setw(10);
assert(os.width() == 10);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.forward/iosfwd.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.forward/iosfwd.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.forward/iosfwd.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.forward/iosfwd.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@ template <class Ptr> void test()
((void)p); // Prevent unused warning
}
-int main()
+int main(int, char**)
{
test<std::char_traits<char>* >();
test<std::char_traits<wchar_t>* >();
@@ -119,4 +119,6 @@ int main()
test<std::fpos<std::mbstate_t>*>();
test<std::streampos* >();
test<std::wstreampos* >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <iostream>
#include <cassert>
-int main()
+int main(int, char**)
{
#if 0
std::cerr << "Hello World!\n";
@@ -25,4 +25,6 @@ int main()
#endif
assert(std::cerr.flags() & std::ios_base::unitbuf);
#endif // 0
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cin.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cin.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
-int main()
+int main(int, char**)
{
#if 0
std::cout << "Hello World!\n";
@@ -30,4 +30,6 @@ int main()
assert(std::cin.tie() == &std::cout);
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,11 +12,13 @@
#include <iostream>
-int main()
+int main(int, char**)
{
#if 0
std::clog << "Hello World!\n";
#else
(void)std::clog;
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cout.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cout.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cout.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.objects/narrow.stream.objects/cout.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include <iostream>
-int main()
+int main(int, char**)
{
#if 0
std::cout << "Hello World!\n";
@@ -25,4 +25,6 @@ int main()
#else // 0
(void)std::cout;
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcerr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcerr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcerr.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcerr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <iostream>
#include <cassert>
-int main()
+int main(int, char**)
{
#if 0
std::wcerr << L"Hello World!\n";
@@ -25,4 +25,6 @@ int main()
#endif
assert(std::wcerr.flags() & std::ios_base::unitbuf);
#endif // 0
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcin.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcin.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
-int main()
+int main(int, char**)
{
#if 0
std::wcout << L"Hello World!\n";
@@ -30,4 +30,6 @@ int main()
assert(std::wcin.tie() == &std::wcout);
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,11 +12,13 @@
#include <iostream>
-int main()
+int main(int, char**)
{
#if 0
std::wclog << L"Hello World!\n";
#else
(void)std::wclog;
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,11 +14,13 @@
#include <iostream>
-int main()
+int main(int, char**)
{
#if 0
std::wcout << L"Hello World!\n";
#else
(void)std::wcout;
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.members/state.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.members/state.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.members/state.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.members/state.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,9 +15,11 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
std::fpos<int> f;
f.state(3);
assert(f.state() == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/addition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/addition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/addition.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/addition.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
typedef std::fpos<std::mbstate_t> P;
P p(5);
@@ -24,4 +24,6 @@ int main()
assert(q == P(11));
p += o;
assert(p == q);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/ctor_int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/ctor_int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/ctor_int.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/ctor_int.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,9 +15,11 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
typedef std::fpos<std::mbstate_t> P;
P p(5);
assert(p == P(5));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/difference.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/difference.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/difference.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/difference.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
typedef std::fpos<std::mbstate_t> P;
P p(11);
P q(6);
std::streamoff o = p - q;
assert(o == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/eq_int.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/eq_int.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/eq_int.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/eq_int.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
typedef std::fpos<std::mbstate_t> P;
P p(5);
P q(6);
assert(p == p);
assert(p != q);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/offset.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/offset.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/offset.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/offset.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,10 +15,12 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
typedef std::fpos<std::mbstate_t> P;
P p(std::streamoff(7));
std::streamoff offset(p);
assert(offset == 7);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/streamsize.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/streamsize.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/streamsize.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/streamsize.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,11 +13,13 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
std::streamoff o(5);
std::streamsize sz(o);
assert(sz == 5);
std::streamoff o2(sz);
assert(o == o2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/subtraction.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/subtraction.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/subtraction.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/subtraction.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
typedef std::fpos<std::mbstate_t> P;
P p(11);
@@ -24,4 +24,6 @@ int main()
assert(q == P(5));
p -= o;
assert(p == q);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/fpos/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/fpos/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/fpos/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/fpos/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/input.output/iostreams.base/ios.base/fmtflags.state/flags.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/flags.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/flags.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/flags.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,8 +25,10 @@ public:
}
};
-int main()
+int main(int, char**)
{
const test t;
assert(t.flags() == (test::skipws | test::dec));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/flags_fmtflags.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/flags_fmtflags.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/flags_fmtflags.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/flags_fmtflags.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,11 +25,13 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
assert(t.flags() == (test::skipws | test::dec));
test::fmtflags f = t.flags(test::hex | test::right);
assert(f == (test::skipws | test::dec));
assert(t.flags() == (test::hex | test::right));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/precision.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/precision.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/precision.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/precision.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,8 +25,10 @@ public:
}
};
-int main()
+int main(int, char**)
{
const test t;
assert(t.precision() == 6);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/precision_streamsize.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/precision_streamsize.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/precision_streamsize.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/precision_streamsize.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,11 +25,13 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
assert(t.precision() == 6);
std::streamsize p = t.precision(10);
assert(p == 6);
assert(t.precision() == 10);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/setf_fmtflags.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/setf_fmtflags.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/setf_fmtflags.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/setf_fmtflags.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,11 +25,13 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
assert(t.flags() == (test::skipws | test::dec));
test::fmtflags f = t.setf(test::hex | test::right);
assert(f == (test::skipws | test::dec));
assert(t.flags() == (test::skipws | test::dec | test::hex | test::right));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/setf_fmtflags_mask.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/setf_fmtflags_mask.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/setf_fmtflags_mask.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/setf_fmtflags_mask.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,11 +25,13 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
assert(t.flags() == (test::skipws | test::dec));
test::fmtflags f = t.setf(test::hex | test::right, test::dec | test::right);
assert(f == (test::skipws | test::dec));
assert(t.flags() == (test::skipws | test::right));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/unsetf_mask.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/unsetf_mask.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/unsetf_mask.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/unsetf_mask.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,10 +25,12 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
assert(t.flags() == (test::skipws | test::dec));
t.unsetf(test::dec | test::right);
assert(t.flags() == test::skipws);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/width.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/width.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/width.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/width.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,8 +25,10 @@ public:
}
};
-int main()
+int main(int, char**)
{
const test t;
assert(t.width() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/width_streamsize.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/width_streamsize.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/width_streamsize.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/fmtflags.state/width_streamsize.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,11 +25,13 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
assert(t.width() == 0);
std::streamsize w = t.width(4);
assert(w == 0);
assert(t.width() == 4);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ void f1(std::ios_base::event ev, std::io
}
}
-int main()
+int main(int, char**)
{
test t;
std::ios_base& b = t;
@@ -52,4 +52,6 @@ int main()
b.register_callback(f1, 4);
std::locale l = b.imbue(std::locale(LOCALE_en_US_UTF_8));
assert(f1_called == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.cons/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.cons/dtor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.cons/dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.cons/dtor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -70,7 +70,7 @@ void f3(std::ios_base::event ev, std::io
}
}
-int main()
+int main(int, char**)
{
{
test t;
@@ -82,4 +82,6 @@ int main()
assert(f1_called);
assert(f2_called);
assert(f3_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/getloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/getloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/getloc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/getloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,8 +26,10 @@ public:
}
};
-int main()
+int main(int, char**)
{
const test t;
assert(t.getloc().name() == std::string("C"));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -74,7 +74,7 @@ void f3(std::ios_base::event ev, std::io
}
}
-int main()
+int main(int, char**)
{
test t;
std::ios_base& b = t;
@@ -87,4 +87,6 @@ int main()
assert(f1_called);
assert(f2_called);
assert(f3_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/iword.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/iword.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/iword.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/iword.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
std::ios_base& b = t;
@@ -41,4 +41,6 @@ int main()
for (int j = 0; j <= i; ++j)
assert(b.iword(j) == j);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/pword.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/pword.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/pword.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/pword.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ public:
}
};
-int main()
+int main(int, char**)
{
test t;
std::ios_base& b = t;
@@ -42,4 +42,6 @@ int main()
for (std::intptr_t j = 0; j <= i; ++j)
assert(b.pword(j) == (void*)j);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/xalloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/xalloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/xalloc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.storage/xalloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
assert(std::ios_base::xalloc() == 0);
assert(std::ios_base::xalloc() == 1);
assert(std::ios_base::xalloc() == 2);
assert(std::ios_base::xalloc() == 3);
assert(std::ios_base::xalloc() == 4);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.members.static/sync_with_stdio.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.members.static/sync_with_stdio.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.members.static/sync_with_stdio.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.members.static/sync_with_stdio.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
assert( std::ios_base::sync_with_stdio(false));
assert(!std::ios_base::sync_with_stdio(false));
@@ -23,4 +23,6 @@ int main()
assert( std::ios_base::sync_with_stdio(false));
assert(!std::ios_base::sync_with_stdio());
assert( std::ios_base::sync_with_stdio());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/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/input.output/iostreams.base/ios.base/ios.types/ios_failure/ctor_char_pointer_error_code.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ctor_char_pointer_error_code.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ctor_char_pointer_error_code.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ctor_char_pointer_error_code.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::string what_arg("io test message");
@@ -37,4 +37,6 @@ int main()
assert(what_message.find(std::iostream_category().message(static_cast<int>
(std::io_errc::stream))) != std::string::npos);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ctor_string_error_code.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ctor_string_error_code.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ctor_string_error_code.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ctor_string_error_code.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <system_error>
#include <cassert>
-int main()
+int main(int, char**)
{
// LWG2462 std::ios_base::failure is overspecified
static_assert((std::is_base_of<std::system_error, std::ios_base::failure>::value), "");
@@ -40,4 +40,6 @@ int main()
assert(what_message.find(std::iostream_category().message(static_cast<int>
(std::io_errc::stream))) != std::string::npos);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
assert(std::ios_base::boolalpha);
assert(std::ios_base::dec);
@@ -77,4 +77,6 @@ int main()
| std::ios_base::hex));
assert(std::ios_base::floatfield == (std::ios_base::scientific
| std::ios_base::fixed));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_iostate/iostate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_iostate/iostate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_iostate/iostate.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_iostate/iostate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
assert(std::ios_base::badbit);
assert(std::ios_base::eofbit);
@@ -32,4 +32,6 @@ int main()
);
assert(std::ios_base::goodbit == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_openmode/openmode.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_openmode/openmode.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_openmode/openmode.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_openmode/openmode.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
assert(std::ios_base::app);
assert(std::ios_base::ate);
@@ -38,4 +38,6 @@ int main()
& std::ios_base::out
& std::ios_base::trunc) == 0
);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_seekdir/seekdir.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_seekdir/seekdir.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_seekdir/seekdir.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_seekdir/seekdir.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,9 +17,11 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
assert(std::ios_base::beg != std::ios_base::cur);
assert(std::ios_base::beg != std::ios_base::end);
assert(std::ios_base::cur != std::ios_base::end);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/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/input.output/iostreams.base/ios.base/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -10,6 +10,8 @@
#include <ios>
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.cons/ctor_streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.cons/ctor_streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.cons/ctor_streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.cons/ctor_streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <streambuf>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::streambuf* sb = 0;
@@ -44,4 +44,6 @@ int main()
assert(ios.fill() == ' ');
assert(ios.getloc() == std::locale());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp Mon Feb 4 12:31:13 2019
@@ -110,7 +110,7 @@ void g3(std::ios_base::event ev, std::io
}
}
-int main()
+int main(int, char**)
{
testbuf sb1;
std::ios ios1(&sb1);
@@ -190,4 +190,6 @@ int main()
assert(ios1.tie() == (std::ostream*)2);
assert(ios1.fill() == '2');
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/fill.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/fill.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/fill.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/fill.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::ios ios(0);
assert(ios.fill() == ' ');
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/fill_char_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/fill_char_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/fill_char_type.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/fill_char_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ios ios(0);
assert(ios.fill() == ' ');
char c = ios.fill('*');
assert(c == ' ');
assert(ios.fill() == '*');
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -68,7 +68,7 @@ void f3(std::ios_base::event ev, std::io
}
}
-int main()
+int main(int, char**)
{
{
std::ios ios(0);
@@ -99,4 +99,6 @@ int main()
assert(f2_called);
assert(f3_called);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -77,7 +77,7 @@ void g3(std::ios_base::event ev, std::io
}
}
-int main()
+int main(int, char**)
{
testios ios1;
testbuf sb2;
@@ -136,4 +136,6 @@ int main()
assert(ios2.rdbuf() == &sb2);
assert(ios2.tie() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/narrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/narrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/narrow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/narrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,9 +15,11 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::wios ios(0);
assert(ios.narrow(L'c', '*') == 'c');
assert(ios.narrow(L'\u203C', '*') == '*');
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <streambuf>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const std::ios ios(0);
@@ -27,4 +27,6 @@ int main()
const std::ios ios(sb);
assert(ios.rdbuf() == sb);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf_streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf_streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf_streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf_streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <streambuf>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ios ios(0);
assert(ios.rdbuf() == 0);
@@ -30,4 +30,6 @@ int main()
assert(sb2 == (std::streambuf*)1);
assert(ios.rdbuf() == 0);
assert(ios.bad());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/set_rdbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/set_rdbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/set_rdbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/set_rdbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ struct testios
void set_rdbuf(std::streambuf* x) {std::ios::set_rdbuf(x);}
};
-int main()
+int main(int, char**)
{
testbuf sb1;
testbuf sb2;
@@ -60,4 +60,6 @@ int main()
#endif
ios.set_rdbuf(0);
assert(ios.rdbuf() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -70,7 +70,7 @@ void g3(std::ios_base::event, std::ios_b
g3_called = true;
}
-int main()
+int main(int, char**)
{
testbuf sb1;
testios ios1(&sb1);
@@ -164,4 +164,6 @@ int main()
ios2.imbue(std::locale("C"));
assert(f1_called);
assert(f2_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/tie.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/tie.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/tie.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/tie.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::basic_ios<char> ios(0);
assert(ios.tie() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/tie_ostream.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/tie_ostream.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/tie_ostream.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/tie_ostream.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ios ios(0);
std::ostream* os = (std::ostream*)1;
std::ostream* r = ios.tie(os);
assert(r == 0);
assert(ios.tie() == os);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/widen.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/widen.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/widen.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/widen.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
const std::ios ios(0);
assert(ios.widen('c') == 'c');
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/bad.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/bad.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/bad.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/bad.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
{
std::ios ios(0);
@@ -37,4 +37,6 @@ int main()
ios.setstate(std::ios::badbit);
assert(ios.bad());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/bool.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/bool.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
std::ios ios(0);
assert(static_cast<bool>(ios) == !ios.fail());
@@ -30,4 +30,6 @@ int main()
#if TEST_STD_VER >= 11
static_assert((!std::is_convertible<std::ios, bool>::value), "");
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
{
std::ios ios(0);
@@ -66,4 +66,6 @@ int main()
ios.clear(std::ios::eofbit);
assert(ios.rdstate() == std::ios::eofbit);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/eof.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/eof.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/eof.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/eof.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
{
std::ios ios(0);
@@ -33,4 +33,6 @@ int main()
ios.setstate(std::ios::eofbit);
assert(ios.eof());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/exceptions.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/exceptions.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/exceptions.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/exceptions.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
{
const std::ios ios(0);
@@ -29,4 +29,6 @@ int main()
const std::ios ios(&sb);
assert(ios.exceptions() == std::ios::goodbit);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/exceptions_iostate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/exceptions_iostate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/exceptions_iostate.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/exceptions_iostate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
{
std::ios ios(0);
@@ -48,4 +48,6 @@ int main()
ios.exceptions(std::ios::badbit);
assert(ios.exceptions() == std::ios::badbit);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/fail.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/fail.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/fail.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/fail.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
{
std::ios ios(0);
@@ -37,4 +37,6 @@ int main()
ios.setstate(std::ios::failbit);
assert(ios.fail());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/good.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/good.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/good.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/good.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
{
std::ios ios(0);
@@ -31,4 +31,6 @@ int main()
ios.setstate(std::ios::eofbit);
assert(!ios.good());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/not.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/not.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/not.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/not.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,10 +15,12 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ios ios(0);
assert(!ios == ios.fail());
ios.setstate(std::ios::failbit);
assert(!ios == ios.fail());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/rdstate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/rdstate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/rdstate.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/rdstate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,10 +15,12 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ios ios(0);
assert(ios.rdstate() == std::ios::badbit);
ios.setstate(std::ios::failbit);
assert(ios.rdstate() == (std::ios::failbit | std::ios::badbit));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/setstate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/setstate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/setstate.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/iostate.flags/setstate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
{
std::ios ios(0);
@@ -65,4 +65,6 @@ int main()
ios.setstate(std::ios::failbit);
assert(ios.rdstate() == (std::ios::eofbit | std::ios::failbit));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include <ios>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::ios_base, std::basic_ios<char> >::value), "");
static_assert((std::is_same<std::basic_ios<char>::char_type, char>::value), "");
@@ -29,4 +29,6 @@ int main()
static_assert((std::is_same<std::basic_ios<char>::int_type, std::char_traits<char>::int_type>::value), "");
static_assert((std::is_same<std::basic_ios<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_ios<char>::off_type, std::char_traits<char>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/is_error_code_enum_io_errc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/is_error_code_enum_io_errc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/is_error_code_enum_io_errc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/is_error_code_enum_io_errc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,10 +15,12 @@
#include <ios>
#include "test_macros.h"
-int main()
+int main(int, char**)
{
static_assert(std::is_error_code_enum <std::io_errc>::value, "");
#if TEST_STD_VER > 14
static_assert(std::is_error_code_enum_v<std::io_errc>, "");
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/internal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/internal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/internal.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/internal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::internal(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::internal);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/left.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/left.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/left.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/left.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::left(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::left);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/right.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/right.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/right.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/adjustfield.manip/right.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::right(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::right);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/dec.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/dec.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/dec.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/dec.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::dec(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::dec);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/hex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/hex.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/hex.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/hex.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::hex(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::hex);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/oct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/oct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/oct.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/oct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::oct(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::oct);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/iostream_category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/iostream_category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/iostream_category.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/iostream_category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,9 +14,11 @@
#include <cassert>
#include <string>
-int main()
+int main(int, char**)
{
const std::error_category& e_cat1 = std::iostream_category();
std::string m1 = e_cat1.name();
assert(m1 == "iostream");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_code.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_code.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_code.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_code.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,11 +13,13 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::error_code ec = make_error_code(std::io_errc::stream);
assert(ec.value() == static_cast<int>(std::io_errc::stream));
assert(ec.category() == std::iostream_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_condition.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_condition.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_condition.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_condition.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,11 +13,13 @@
#include <ios>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const std::error_condition ec1 = std::make_error_condition(std::io_errc::stream);
assert(ec1.value() == static_cast<int>(std::io_errc::stream));
assert(ec1.category() == std::iostream_category());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/defaultfloat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/defaultfloat.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/defaultfloat.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/defaultfloat.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
assert(&r == &ios);
assert(!(ios.flags() & std::ios::fixed));
assert(!(ios.flags() & std::ios::scientific));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/fixed.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/fixed.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/fixed.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/fixed.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::fixed(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::fixed);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/hexfloat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/hexfloat.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/hexfloat.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/hexfloat.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
assert(&r == &ios);
assert(ios.flags() & std::ios::fixed);
assert(ios.flags() & std::ios::scientific);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/scientific.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/scientific.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/scientific.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/floatfield.manip/scientific.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::scientific(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::scientific);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/boolalpha.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/boolalpha.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/boolalpha.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/boolalpha.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::boolalpha(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::boolalpha);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noboolalpha.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noboolalpha.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noboolalpha.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noboolalpha.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
std::ios_base& r = std::noboolalpha(ios);
assert(&r == &ios);
assert(!(ios.flags() & std::ios::boolalpha));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
std::ios_base& r = std::noshowbase(ios);
assert(&r == &ios);
assert(!(ios.flags() & std::ios::showbase));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpoint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpoint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpoint.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpoint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
std::ios_base& r = std::noshowpoint(ios);
assert(&r == &ios);
assert(!(ios.flags() & std::ios::showpoint));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpos.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpos.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpos.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpos.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
std::ios_base& r = std::noshowpos(ios);
assert(&r == &ios);
assert(!(ios.flags() & std::ios::showpos));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noskipws.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noskipws.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noskipws.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noskipws.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
std::ios_base& r = std::noskipws(ios);
assert(&r == &ios);
assert(!(ios.flags() & std::ios::skipws));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nounitbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nounitbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nounitbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nounitbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
std::ios_base& r = std::nounitbuf(ios);
assert(&r == &ios);
assert(!(ios.flags() & std::ios::unitbuf));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nouppercase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nouppercase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nouppercase.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nouppercase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
std::ios_base& r = std::nouppercase(ios);
assert(&r == &ios);
assert(!(ios.flags() & std::ios::uppercase));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showbase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showbase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showbase.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showbase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::showbase(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::showbase);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpoint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpoint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpoint.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpoint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::showpoint(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::showpoint);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::showpos(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::showpos);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/skipws.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/skipws.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/skipws.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/skipws.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::skipws(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::skipws);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/unitbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/unitbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/unitbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/unitbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::unitbuf(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::unitbuf);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/uppercase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/uppercase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/uppercase.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/uppercase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,11 +18,13 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
std::ios_base& r = std::uppercase(ios);
assert(&r == &ios);
assert(ios.flags() & std::ios::uppercase);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/std.ios.manip/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/input.output/iostreams.base/stream.types/streamoff.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/stream.types/streamoff.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/stream.types/streamoff.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/stream.types/streamoff.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,8 +13,10 @@
#include <ios>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert(std::is_integral<std::streamoff>::value, "");
static_assert(std::is_signed<std::streamoff>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.base/stream.types/streamsize.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/stream.types/streamsize.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/stream.types/streamsize.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/stream.types/streamsize.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,8 +13,10 @@
#include <ios>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert(std::is_integral<std::streamsize>::value, "");
static_assert(std::is_signed<std::streamsize>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/iostreams.requirements/iostream.limits.imbue/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.requirements/iostream.limits.imbue/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.requirements/iostream.limits.imbue/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.requirements/iostream.limits.imbue/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/input.output/iostreams.requirements/iostreams.limits.pos/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.requirements/iostreams.limits.pos/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.requirements/iostreams.limits.pos/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.requirements/iostreams.limits.pos/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/input.output/iostreams.requirements/iostreams.threadsafety/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.requirements/iostreams.threadsafety/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.requirements/iostreams.threadsafety/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.requirements/iostreams.threadsafety/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/input.output/iostreams.requirements/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.requirements/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.requirements/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.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/input.output/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/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/input.output/stream.buffers/streambuf.reqts/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf.reqts/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf.reqts/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf.reqts/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/input.output/stream.buffers/streambuf/streambuf.cons/copy.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.fail.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,9 @@
std::streambuf &get();
-int main()
+int main(int, char**)
{
std::streambuf sb = get(); // expected-error {{calling a protected constructor}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -82,4 +82,6 @@ int main()
test<wchar_t> t;
test<wchar_t> t2 = t;
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.fail.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.fail.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,9 @@
#include <streambuf>
-int main()
+int main(int, char**)
{
std::basic_streambuf<char> sb;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -54,4 +54,6 @@ int main()
test<wchar_t> t;
assert(t.getloc().name() == LOCALE_en_US_UTF_8);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/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/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekoff.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekoff.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekoff.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekoff.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,11 +24,13 @@ struct test
test() {}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
assert(t.pubseekoff(0, std::ios_base::beg) == -1);
assert(t.pubseekoff(0, std::ios_base::beg, std::ios_base::app) == -1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekpos.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekpos.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekpos.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekpos.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,10 +24,12 @@ struct test
test() {}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
assert(t.pubseekpos(0, std::ios_base::app) == -1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsetbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsetbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsetbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsetbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,10 +23,12 @@ struct test
test() {}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
assert(t.pubsetbuf(0, 0) == &t);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsync.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsync.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsync.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsync.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,10 +23,12 @@ struct test
test() {}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
assert(t.pubsync() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -48,4 +48,6 @@ int main()
LOCALE_en_US_UTF_8);
assert(t.getloc().name() == LOCALE_fr_FR_UTF_8);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/in_avail.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/in_avail.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/in_avail.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/in_avail.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -48,4 +48,6 @@ int main()
t.setg(in, in+2, in+5);
assert(t.in_avail() == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sbumpc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sbumpc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sbumpc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sbumpc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
test t;
@@ -52,4 +52,6 @@ int main()
assert(t.sbumpc() == 'B');
assert(uflow_called == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sgetc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sgetc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sgetc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sgetc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
test t;
@@ -52,4 +52,6 @@ int main()
assert(t.sgetc() == 'A');
assert(underflow_called == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sgetn.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sgetn.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sgetn.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/sgetn.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,10 +31,12 @@ protected:
}
};
-int main()
+int main(int, char**)
{
test t;
assert(xsgetn_called == 0);
assert(t.sgetn(0, 0) == 10);
assert(xsgetn_called == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/snextc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/snextc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/snextc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/snextc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
test t;
@@ -52,4 +52,6 @@ int main()
assert(t.snextc() == 'C');
assert(uflow_called == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/sputbackc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/sputbackc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/sputbackc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/sputbackc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
test t;
@@ -52,4 +52,6 @@ int main()
assert(t.sputbackc('A') == 'a');
assert(pbackfail_called == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/sungetc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/sungetc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/sungetc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/sungetc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
test t;
@@ -52,4 +52,6 @@ int main()
assert(t.sungetc() == 'a');
assert(pbackfail_called == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/sputc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/sputc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/sputc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/sputc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,7 +42,7 @@ protected:
}
};
-int main()
+int main(int, char**)
{
{
test t;
@@ -59,4 +59,6 @@ int main()
assert(out[0] == 'A');
assert(out[1] == 'B');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/sputn.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/sputn.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/sputn.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/sputn.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,10 +31,12 @@ protected:
}
};
-int main()
+int main(int, char**)
{
test t;
assert(xsputn_called == 0);
assert(t.sputn(0, 0) == 5);
assert(xsputn_called == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/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/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -50,7 +50,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -89,4 +89,6 @@ int main()
test<wchar_t> t2;
t2 = t;
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -59,7 +59,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -98,4 +98,6 @@ int main()
test<wchar_t> t2;
t2.swap(t);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/gbump.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/gbump.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/gbump.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/gbump.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -55,4 +55,6 @@ int main()
t.setg(in, in+1, in+sizeof(in)/sizeof(in[0]));
t.gbump(3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/setg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/setg.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/setg.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/setg.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -45,4 +45,6 @@ int main()
wchar_t in[] = L"ABC";
t.setg(in, in+1, in+sizeof(in)/sizeof(in[0]));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -57,4 +57,6 @@ int main()
t.pbump(3);
t.pbump(1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ struct SB : std::stringbuf
const char* pubpptr() const { return pptr(); }
};
-int main()
+int main(int, char**)
{
#ifndef TEST_HAS_NO_EXCEPTIONS
try {
@@ -40,4 +40,6 @@ int main()
catch (const std::length_error &) {} // maybe the string can't take 2GB
catch (const std::bad_alloc &) {} // maybe we don't have enough RAM
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/setp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/setp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/setp.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/setp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test<char> t;
@@ -45,4 +45,6 @@ int main()
wchar_t in[] = L"ABC";
t.setp(in, in+sizeof(in)/sizeof(in[0]));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/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/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.buffer/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.buffer/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.buffer/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.buffer/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/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/showmanyc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/showmanyc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/showmanyc.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/showmanyc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,8 +25,10 @@ struct test
test() {}
};
-int main()
+int main(int, char**)
{
test<char> t;
assert(t.in_avail() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/uflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/uflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/uflow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/uflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,8 +25,10 @@ struct test
};
-int main()
+int main(int, char**)
{
test t;
assert(t.sgetc() == -1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/underflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/underflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/underflow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/underflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,8 +22,10 @@ struct test
test() {}
};
-int main()
+int main(int, char**)
{
test t;
assert(t.sgetc() == -1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/xsgetn.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/xsgetn.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/xsgetn.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/xsgetn.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
test t;
char input[7] = "123456";
@@ -38,4 +38,6 @@ int main()
char output[sizeof(input)] = {0};
assert(t.sgetn(output, 10) == 7);
assert(std::strcmp(input, output) == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.locales/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.locales/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.locales/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.locales/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/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.pback/pbackfail.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.pback/pbackfail.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.pback/pbackfail.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.pback/pbackfail.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,8 +24,10 @@ struct test
test() {}
};
-int main()
+int main(int, char**)
{
test t;
assert(t.sputbackc('A') == -1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/overflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/overflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/overflow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/overflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,8 +22,10 @@ struct test
test() {}
};
-int main()
+int main(int, char**)
{
test t;
assert(t.sputc('A') == -1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/xsputn.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/xsputn.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/xsputn.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/xsputn.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ struct test
}
};
-int main()
+int main(int, char**)
{
{
test t;
@@ -41,4 +41,6 @@ int main()
assert(t.sputn(in, sizeof(in)) == sizeof(in));
assert(std::strcmp(in, out) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include <streambuf>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_same<std::streambuf::char_type, char>::value), "");
static_assert((std::is_same<std::streambuf::traits_type, std::char_traits<char> >::value), "");
@@ -35,4 +35,6 @@ int main()
static_assert((std::is_same<std::wstreambuf::int_type, std::char_traits<wchar_t>::int_type>::value), "");
static_assert((std::is_same<std::wstreambuf::pos_type, std::char_traits<wchar_t>::pos_type>::value), "");
static_assert((std::is_same<std::wstreambuf::off_type, std::char_traits<wchar_t>::off_type>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream ss0(" 123 456");
@@ -52,4 +52,6 @@ int main()
ss0 >> i;
assert(i == 321);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream ss0(" 123 456");
@@ -82,4 +82,6 @@ int main()
s1 >> s;
assert(s == L"Dddddddddddddddddd");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.assign/nonmember_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream ss0(" 123 456");
@@ -55,4 +55,6 @@ int main()
ss0 >> i;
assert(i == 321);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream ss;
@@ -42,4 +42,6 @@ int main()
assert(ss.good());
assert(ss.str() == L"");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream ss0(" 123 456");
@@ -44,4 +44,6 @@ int main()
ss >> i;
assert(i == 456);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.cons/string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream ss(" 123 456");
@@ -63,4 +63,6 @@ int main()
ss >> i;
assert(i == 456);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.members/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.members/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.members/str.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/istringstream/istringstream.members/str.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream ss(" 123 456");
@@ -52,4 +52,6 @@ int main()
ss >> i;
assert(i == 789);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/istringstream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/istringstream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/istringstream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/istringstream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include <sstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_istream<char>, std::basic_istringstream<char> >::value), "");
static_assert((std::is_same<std::basic_istringstream<char>::char_type, char>::value), "");
@@ -32,4 +32,6 @@ int main()
static_assert((std::is_same<std::basic_istringstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_istringstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
static_assert((std::is_same<std::basic_istringstream<char>::allocator_type, std::allocator<char> >::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream ss0(" 123 456");
@@ -44,4 +44,6 @@ int main()
ss0 << i << ' ' << 567;
assert(ss0.str() == L"234 567");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream ss0(" 123 456");
@@ -42,4 +42,6 @@ int main()
ss << i << ' ' << 567;
assert(ss.str() == L"234 5676");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.assign/nonmember_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream ss0(" 123 456");
@@ -44,4 +44,6 @@ int main()
ss0 << i << ' ' << 567;
assert(ss0.str() == L"234 567");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream ss;
@@ -42,4 +42,6 @@ int main()
assert(ss.good());
assert(ss.str() == L"");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream ss0(" 123 456");
@@ -40,4 +40,6 @@ int main()
ss << i << ' ' << 567;
assert(ss.str() == L"234 5676");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.cons/string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream ss(" 123 456");
@@ -55,4 +55,6 @@ int main()
ss << i << ' ' << 567;
assert(ss.str() == L"234 5676");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.members/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.members/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.members/str.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/ostringstream/ostringstream.members/str.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream ss(" 123 456");
@@ -48,4 +48,6 @@ int main()
ss << L"abc";
assert(ss.str() == L"abc9");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/ostringstream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/ostringstream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/ostringstream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/ostringstream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include <sstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_ostream<char>, std::basic_ostringstream<char> >::value), "");
static_assert((std::is_same<std::basic_ostringstream<char>::char_type, char>::value), "");
@@ -32,4 +32,6 @@ int main()
static_assert((std::is_same<std::basic_ostringstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_ostringstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
static_assert((std::is_same<std::basic_ostringstream<char>::allocator_type, std::allocator<char> >::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringbuf buf1("testing");
@@ -60,4 +60,6 @@ int main()
assert(buf.str() == L"testing");
assert(buf1.str() == L"");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringbuf buf1("testing");
@@ -54,4 +54,6 @@ int main()
buf = move(buf1);
assert(buf.str() == L"testing");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.assign/nonmember_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringbuf buf1("testing");
@@ -62,4 +62,6 @@ int main()
assert(buf.str() == L"testing");
assert(buf1.str() == L"");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ struct testbuf
}
};
-int main()
+int main(int, char**)
{
{
std::stringbuf buf;
@@ -49,4 +49,6 @@ int main()
testbuf<wchar_t> buf;
buf.check();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringbuf buf1("testing");
@@ -48,4 +48,6 @@ int main()
std::wstringbuf buf(move(buf1));
assert(buf.str() == L"testing");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringbuf buf("testing");
@@ -43,4 +43,6 @@ int main()
std::wstringbuf buf(L"testing", std::ios_base::out);
assert(buf.str() == L"testing");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.members/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.members/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.members/str.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.members/str.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringbuf buf("testing");
@@ -30,4 +30,6 @@ int main()
buf.str(L"another test");
assert(buf.str() == L"another test");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ struct testbuf
void pbump(int n) {base::pbump(n);}
};
-int main()
+int main(int, char**)
{
{ // sanity check
testbuf<char> tb("");
@@ -97,4 +97,6 @@ int main()
assert(sb.sputc('2') == '2');
assert(sb.str() == "abc12");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ struct testbuf
void pbump(int n) {base::pbump(n);}
};
-int main()
+int main(int, char**)
{
{ // sanity check
testbuf<char> tb("");
@@ -92,4 +92,6 @@ int main()
assert(sb.pbackfail(std::char_traits<wchar_t>::eof()) == std::char_traits<wchar_t>::eof());
assert(sb.str() == L"133");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/seekoff.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/seekoff.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/seekoff.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/seekoff.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringbuf sb(std::ios_base::in);
@@ -163,4 +163,6 @@ int main()
assert(sb.sputc(L'c') == L'c');
assert(sb.str() == L"0123456c89");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/seekpos.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/seekpos.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/seekpos.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/seekpos.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringbuf sb("0123456789", std::ios_base::in);
@@ -73,4 +73,6 @@ int main()
assert(sb.sputc(L'3') == L'3');
assert(sb.str() == L"0123456789");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/setbuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/setbuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/setbuf.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/setbuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringbuf sb("0123456789");
@@ -28,4 +28,6 @@ int main()
assert(sb.pubsetbuf(0, 0) == &sb);
assert(sb.str() == L"0123456789");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/underflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/underflow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/underflow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/underflow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ struct testbuf
void pbump(int n) {base::pbump(n);}
};
-int main()
+int main(int, char**)
{
{
testbuf<char> sb("123");
@@ -66,4 +66,6 @@ int main()
assert(sb.underflow() == L'4');
assert(sb.underflow() == L'4');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringbuf/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringbuf/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringbuf/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringbuf/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include <sstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_streambuf<char>, std::basic_stringbuf<char> >::value), "");
static_assert((std::is_same<std::basic_stringbuf<char>::char_type, char>::value), "");
@@ -32,4 +32,6 @@ int main()
static_assert((std::is_same<std::basic_stringbuf<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_stringbuf<char>::off_type, std::char_traits<char>::off_type>::value), "");
static_assert((std::is_same<std::basic_stringbuf<char>::allocator_type, std::allocator<char> >::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringstream ss;
@@ -42,4 +42,6 @@ int main()
assert(ss.good());
assert(ss.str() == L"");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringstream ss0(" 123 456 ");
@@ -48,4 +48,6 @@ int main()
ss << i << ' ' << 123;
assert(ss.str() == L"456 1236 ");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/move2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/move2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/move2.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/move2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include <cassert>
#include <cstddef>
-int main()
+int main(int, char**)
{
std::vector<std::istringstream> vecis;
vecis.push_back(std::istringstream());
@@ -34,4 +34,6 @@ int main()
vecis[n].seekg(0, std::ios_base::beg);
assert(vecis[n].str().size() == 31);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct NoDefaultAllocator : std::allocat
};
-int main()
+int main(int, char**)
{
{
std::stringstream ss(" 123 456 ");
@@ -64,4 +64,6 @@ int main()
// This test is not required by the standard, but *where else* could it get the allocator?
assert(sb.str().get_allocator() == s.get_allocator());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringstream ss0(" 123 456 ");
@@ -52,4 +52,6 @@ int main()
ss0 << i << ' ' << 123;
assert(ss0.str() == L"456 123");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/move.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringstream ss0(" 123 456 ");
@@ -50,4 +50,6 @@ int main()
ss << i << ' ' << 123;
assert(ss.str() == L"456 1236 ");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/nonmember_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/nonmember_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/nonmember_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/nonmember_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringstream ss0(" 123 456 ");
@@ -55,4 +55,6 @@ int main()
ss0 << i << ' ' << 123;
assert(ss0.str() == L"456 123");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream.members/str.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.members/str.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream.members/str.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream.members/str.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::stringstream ss(" 123 456 ");
@@ -63,4 +63,6 @@ int main()
ss.write("\xd1", 1);
assert(ss.str().length() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream/types.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include <sstream>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::basic_iostream<char>, std::basic_stringstream<char> >::value), "");
static_assert((std::is_same<std::basic_stringstream<char>::char_type, char>::value), "");
@@ -32,4 +32,6 @@ int main()
static_assert((std::is_same<std::basic_stringstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
static_assert((std::is_same<std::basic_stringstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
static_assert((std::is_same<std::basic_stringstream<char>::allocator_type, std::allocator<char> >::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.container/data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.container/data.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.container/data.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.container/data.pass.cpp Mon Feb 4 12:31:13 2019
@@ -61,7 +61,7 @@ void test_const_array( const T (&array)[
assert ( std::data(array) == &array[0]);
}
-int main()
+int main(int, char**)
{
std::vector<int> v; v.push_back(1);
std::array<int, 1> a; a[0] = 3;
@@ -83,4 +83,6 @@ int main()
static constexpr int arrA [] { 1, 2, 3 };
test_const_array ( arrA );
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.container/empty.array.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.container/empty.array.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.container/empty.array.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.container/empty.array.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
int c[5];
std::empty(c); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.container/empty.container.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.container/empty.container.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.container/empty.container.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.container/empty.container.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::vector<int> c;
std::empty(c); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.container/empty.initializer_list.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.container/empty.initializer_list.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.container/empty.initializer_list.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.container/empty.initializer_list.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::initializer_list<int> c = { 4 };
std::empty(c); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.container/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.container/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.container/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.container/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -60,7 +60,7 @@ void test_const_array( const T (&array)[
assert (!std::empty(array));
}
-int main()
+int main(int, char**)
{
std::vector<int> v; v.push_back(1);
std::list<int> l; l.push_back(2);
@@ -85,4 +85,6 @@ int main()
static constexpr int arrA [] { 1, 2, 3 };
test_const_array ( arrA );
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.container/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.container/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.container/size.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.container/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -63,7 +63,7 @@ void test_const_array( const T (&array)[
assert ( std::size(array) == Sz );
}
-int main()
+int main(int, char**)
{
std::vector<int> v; v.push_back(1);
std::list<int> l; l.push_back(2);
@@ -87,4 +87,6 @@ int main()
static constexpr int arrA [] { 1, 2, 3 };
test_const_array ( arrA );
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -72,10 +72,12 @@ test5()
static_assert((std::is_same<typename It::iterator_category, std::input_iterator_tag>::value), "");
}
-int main()
+int main(int, char**)
{
test2<A>();
test3<A>();
test4<A>();
test5<A>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,7 +42,7 @@ constepxr_test(It i, typename std::itera
}
#endif
-int main()
+int main(int, char**)
{
{
const char* s = "1234567890";
@@ -68,4 +68,6 @@ int main()
static_assert( constepxr_test(s+5, -5, s), "" );
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ constexpr_test(It first, It last, typena
}
#endif
-int main()
+int main(int, char**)
{
{
const char* s = "1234567890";
@@ -57,4 +57,6 @@ int main()
static_assert( constexpr_test(s, s+10, 10), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/next.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/next.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/next.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/next.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,7 +51,7 @@ constexpr_test(It i, It x)
}
#endif
-int main()
+int main(int, char**)
{
{
const char* s = "1234567890";
@@ -83,4 +83,6 @@ int main()
static_assert( constexpr_test(s, s+1), "" );
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ constexpr_test(It i, It x)
}
#endif
-int main()
+int main(int, char**)
{
{
const char* s = "1234567890";
@@ -74,4 +74,6 @@ int main()
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
struct A {};
-int main()
+int main(int, char**)
{
typedef std::iterator_traits<const A*> It;
static_assert((std::is_same<It::difference_type, std::ptrdiff_t>::value), "");
@@ -31,4 +31,6 @@ int main()
static_assert((std::is_same<It::pointer, const A*>::value), "");
static_assert((std::is_same<It::reference, const A&>::value), "");
static_assert((std::is_same<It::iterator_category, std::random_access_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
struct A {};
-int main()
+int main(int, char**)
{
typedef std::iterator_traits<const volatile A*> It;
static_assert((std::is_same<It::difference_type, std::ptrdiff_t>::value), "");
@@ -24,4 +24,6 @@ int main()
static_assert((std::is_same<It::pointer, const volatile A*>::value), "");
static_assert((std::is_same<It::reference, const volatile A&>::value), "");
static_assert((std::is_same<It::iterator_category, std::random_access_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -63,7 +63,7 @@ struct NotAnIteratorNoCategory
// typedef std::forward_iterator_tag iterator_category;
};
-int main()
+int main(int, char**)
{
{
typedef std::iterator_traits<NotAnIteratorEmpty> T;
@@ -118,4 +118,6 @@ int main()
typedef T::reference RT; // expected-error-re {{no type named 'reference' in 'std::{{.+}}::iterator_traits<{{.+}}>}}
typedef T::iterator_category CT; // expected-error-re {{no type named 'iterator_category' in 'std::{{.+}}::iterator_traits<{{.+}}>}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,8 +30,10 @@ public:
static const bool value = sizeof(test<T>(0)) == 1;
};
-int main()
+int main(int, char**)
{
typedef std::iterator_traits<not_an_iterator> It;
static_assert(!(has_value_type<It>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ struct test_iterator
typedef std::forward_iterator_tag iterator_category;
};
-int main()
+int main(int, char**)
{
typedef std::iterator_traits<test_iterator> It;
static_assert((std::is_same<It::difference_type, int>::value), "");
@@ -40,4 +40,6 @@ int main()
static_assert((std::is_same<It::pointer, A*>::value), "");
static_assert((std::is_same<It::reference, A&>::value), "");
static_assert((std::is_same<It::iterator_category, std::forward_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
struct A {};
-int main()
+int main(int, char**)
{
typedef std::iterator_traits<A*> It;
static_assert((std::is_same<It::difference_type, std::ptrdiff_t>::value), "");
@@ -31,4 +31,6 @@ int main()
static_assert((std::is_same<It::pointer, A*>::value), "");
static_assert((std::is_same<It::reference, A&>::value), "");
static_assert((std::is_same<It::iterator_category, std::random_access_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
struct A {};
-int main()
+int main(int, char**)
{
typedef std::iterator_traits<volatile A*> It;
static_assert((std::is_same<It::difference_type, std::ptrdiff_t>::value), "");
@@ -24,4 +24,6 @@ int main()
static_assert((std::is_same<It::pointer, volatile A*>::value), "");
static_assert((std::is_same<It::reference, volatile A&>::value), "");
static_assert((std::is_same<It::iterator_category, std::random_access_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/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/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <iterator>
#include <type_traits>
-int main()
+int main(int, char**)
{
std::bidirectional_iterator_tag tag;
((void)tag); // Prevent unused warning
@@ -21,4 +21,6 @@ int main()
std::bidirectional_iterator_tag>::value), "");
static_assert((!std::is_base_of<std::output_iterator_tag,
std::bidirectional_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <iterator>
#include <type_traits>
-int main()
+int main(int, char**)
{
std::forward_iterator_tag tag;
((void)tag); // Prevent unused warning
@@ -21,4 +21,6 @@ int main()
std::forward_iterator_tag>::value), "");
static_assert((!std::is_base_of<std::output_iterator_tag,
std::forward_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,10 +13,12 @@
#include <iterator>
#include <type_traits>
-int main()
+int main(int, char**)
{
std::input_iterator_tag tag;
((void)tag); // Prevent unused warning
static_assert((!std::is_base_of<std::output_iterator_tag,
std::input_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,10 +13,12 @@
#include <iterator>
#include <type_traits>
-int main()
+int main(int, char**)
{
std::output_iterator_tag tag;
((void)tag); // Prevent unused warning
static_assert((!std::is_base_of<std::input_iterator_tag,
std::output_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <iterator>
#include <type_traits>
-int main()
+int main(int, char**)
{
std::random_access_iterator_tag tag;
((void)tag); // Prevent unused warning
@@ -21,4 +21,6 @@ int main()
std::random_access_iterator_tag>::value), "");
static_assert((!std::is_base_of<std::output_iterator_tag,
std::random_access_iterator_tag>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.range/begin-end.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.range/begin-end.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.range/begin-end.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.range/begin-end.fail.cpp Mon Feb 4 12:31:13 2019
@@ -40,11 +40,13 @@ namespace Foo {
}
-int main(){
+int main(int, char**) {
// Bug #28927 - shouldn't find these via ADL
TEST_IGNORE_NODISCARD std::cbegin (Foo::FakeContainer());
TEST_IGNORE_NODISCARD std::cend (Foo::FakeContainer());
TEST_IGNORE_NODISCARD std::crbegin(Foo::FakeContainer());
TEST_IGNORE_NODISCARD std::crend (Foo::FakeContainer());
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp Mon Feb 4 12:31:13 2019
@@ -135,7 +135,7 @@ void test_const_array( const T (&array)[
#endif
}
-int main(){
+int main(int, char**) {
std::vector<int> v; v.push_back(1);
std::list<int> l; l.push_back(2);
std::array<int, 1> a; a[0] = 3;
@@ -197,4 +197,6 @@ int main(){
static_assert ( *std::crbegin(c) == 4, "" );
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/iterator.requirements/bidirectional.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.requirements/bidirectional.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.requirements/bidirectional.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.requirements/bidirectional.iterators/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/iterators/iterator.requirements/forward.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.requirements/forward.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.requirements/forward.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.requirements/forward.iterators/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/iterators/iterator.requirements/input.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.requirements/input.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.requirements/input.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.requirements/input.iterators/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/iterators/iterator.requirements/iterator.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.requirements/iterator.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.requirements/iterator.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.requirements/iterator.iterators/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/iterators/iterator.requirements/iterator.requirements.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.requirements/iterator.requirements.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.requirements/iterator.requirements.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.requirements/iterator.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/iterators/iterator.requirements/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.requirements/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.requirements/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.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/iterators/iterator.requirements/output.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.requirements/output.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.requirements/output.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.requirements/output.iterators/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/iterators/iterator.requirements/random.access.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.requirements/random.access.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.requirements/random.access.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.requirements/random.access.iterators/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/iterators/iterator.synopsis/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.synopsis/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.synopsis/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.synopsis/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/iterators/iterators.general/gcc_workaround.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterators.general/gcc_workaround.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterators.general/gcc_workaround.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterators.general/gcc_workaround.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,4 +17,6 @@ void f(const std::string &s) { TEST_IGNO
void AppendTo(const std::vector<char> &v) { TEST_IGNORE_NODISCARD v.begin(); }
-int main() {}
+int main(int, char**) {
+ return 0;
+}
Modified: libcxx/trunk/test/std/iterators/iterators.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterators.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterators.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterators.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/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.fail.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,9 @@
#include <iterator>
#include <vector>
-int main()
+int main(int, char**)
{
std::back_insert_iterator<std::vector<int> > i = std::vector<int>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,8 +23,10 @@ test(C c)
std::back_insert_iterator<C> i(c);
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op%2B%2B/post.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/post.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/post.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,8 +28,10 @@ test(C c)
assert(c.back() == 0);
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/pre.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op%2B%2B/pre.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/pre.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/pre.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,8 +26,10 @@ test(C c)
assert(&r == &i);
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/lv_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op%3D/lv_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/lv_value.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/lv_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,9 @@ public:
{return x.data_ == y.data_;}
};
-int main()
+int main(int, char**)
{
test(std::vector<Copyable>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/rv_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op%3D/rv_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/rv_value.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/rv_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,9 @@ test(C c)
assert(c.back() == typename C::value_type());
}
-int main()
+int main(int, char**)
{
test(std::vector<std::unique_ptr<int> >());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,8 +26,10 @@ test(C c)
assert(&r == &i);
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ test(C c)
assert(c.back() == 0);
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.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/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,7 +52,9 @@ test()
static_assert((std::is_same<typename R::iterator_category, std::output_iterator_tag>::value), "");
}
-int main()
+int main(int, char**)
{
test<std::vector<int> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.fail.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,9 @@
#include <iterator>
#include <list>
-int main()
+int main(int, char**)
{
std::front_insert_iterator<std::list<int> > i = std::list<int>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,8 +23,10 @@ test(C c)
std::front_insert_iterator<C> i(c);
}
-int main()
+int main(int, char**)
{
test(std::list<int>());
test(nasty_list<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op%2B%2B/post.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/post.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/post.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,8 +28,10 @@ test(C c)
assert(c.back() == 0);
}
-int main()
+int main(int, char**)
{
test(std::list<int>());
test(nasty_list<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/pre.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op%2B%2B/pre.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/pre.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/pre.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,8 +26,10 @@ test(C c)
assert(&r == &i);
}
-int main()
+int main(int, char**)
{
test(std::list<int>());
test(nasty_list<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/lv_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op%3D/lv_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/lv_value.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/lv_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,8 +39,10 @@ public:
{return x.data_ == y.data_;}
};
-int main()
+int main(int, char**)
{
test(std::list<Copyable>());
test(nasty_list<Copyable>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/rv_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op%3D/rv_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/rv_value.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/rv_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,9 @@ test(C c)
assert(c.front() == typename C::value_type());
}
-int main()
+int main(int, char**)
{
test(std::list<std::unique_ptr<int> >());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,8 +26,10 @@ test(C c)
assert(&r == &i);
}
-int main()
+int main(int, char**)
{
test(std::list<int>());
test(nasty_list<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ test(C c)
assert(c.front() == 0);
}
-int main()
+int main(int, char**)
{
test(std::list<int>());
test(nasty_list<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.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/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,9 @@ test()
static_assert((std::is_same<typename R::iterator_category, std::output_iterator_tag>::value), "");
}
-int main()
+int main(int, char**)
{
test<std::vector<int> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,8 +23,10 @@ test(C c)
std::insert_iterator<C> i(c, c.begin());
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op%2B%2B/post.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/post.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/post.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,8 +28,10 @@ test(C c)
assert(c.back() == 0);
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/pre.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op%2B%2B/pre.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/pre.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/pre.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,8 +26,10 @@ test(C c)
assert(&r == &i);
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/lv_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op%3D/lv_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/lv_value.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/lv_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ insert3at(C& c, typename C::iterator i,
c.insert(++i, x3);
}
-int main()
+int main(int, char**)
{
{
typedef std::vector<int> C;
@@ -81,4 +81,6 @@ int main()
insert3at(c2, c2.begin()+3, 'a', 'b', 'c');
test(c1, 3, 'a', 'b', 'c', c2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/rv_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op%3D/rv_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/rv_value.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/rv_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,7 +52,7 @@ struct do_nothing
void operator()(void*) const {}
};
-int main()
+int main(int, char**)
{
{
typedef std::unique_ptr<int, do_nothing> Ptr;
@@ -91,4 +91,6 @@ int main()
insert3at(c2, c2.begin()+3, Ptr(x+3), Ptr(x+4), Ptr(x+5));
test(std::move(c1), 3, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,8 +26,10 @@ test(C c)
assert(&r == &i);
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@ test(C c)
assert(c.back() == 0);
}
-int main()
+int main(int, char**)
{
test(std::vector<int>());
test(nasty_vector<int>());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iter.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/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -58,7 +58,9 @@ test()
static_assert((std::is_same<typename R::iterator_category, std::output_iterator_tag>::value), "");
}
-int main()
+int main(int, char**)
{
test<std::vector<int> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/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/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i)
assert(std::make_move_iterator(i) == r);
}
-int main()
+int main(int, char**)
{
{
char s[] = "1234567890";
@@ -53,4 +53,6 @@ int main()
static_assert(iter.base() == p);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/minus.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/minus.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/minus.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/minus.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ test(It l, It r, typename std::iterator_
assert(r1 - r2 == x);
}
-int main()
+int main(int, char**)
{
char s[] = "1234567890";
test(random_access_iterator<char*>(s+5), random_access_iterator<char*>(s), 5);
@@ -49,4 +49,6 @@ int main()
static_assert( it2 - it1 == 1, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/plus.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/plus.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/plus.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/plus.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ test(It i, typename std::iterator_traits
assert(rr.base() == x);
}
-int main()
+int main(int, char**)
{
char s[] = "1234567890";
test(random_access_iterator<char*>(s+5), 5, random_access_iterator<char*>(s+10));
@@ -49,4 +49,6 @@ int main()
static_assert(it2 == it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.%2B/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, typename std::iterator_traits
assert(rr.base() == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 5, random_access_iterator<const char*>(s+10));
@@ -48,4 +48,6 @@ int main()
static_assert(it2 == it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+=/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.%2B%3D/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+=/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+=/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ test(It i, typename std::iterator_traits
assert(&rr == &r);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 5, random_access_iterator<const char*>(s+10));
@@ -49,4 +49,6 @@ int main()
static_assert(it2 == it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, typename std::iterator_traits
assert(rr.base() == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 5, random_access_iterator<const char*>(s));
@@ -48,4 +48,6 @@ int main()
static_assert(it2 != it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-=/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-%3D/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-=/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-=/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ test(It i, typename std::iterator_traits
assert(&rr == &r);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 5, random_access_iterator<const char*>(s));
@@ -45,4 +45,6 @@ int main()
static_assert(it1 == it2, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_eq.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_eq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 == r2) == x);
}
-int main()
+int main(int, char**)
{
char s[] = "1234567890";
test(input_iterator<char*>(s), input_iterator<char*>(s), true);
@@ -58,4 +58,6 @@ int main()
static_assert(!(it2 == it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 > r2) == x);
}
-int main()
+int main(int, char**)
{
char s[] = "1234567890";
test(random_access_iterator<char*>(s), random_access_iterator<char*>(s), false);
@@ -54,4 +54,6 @@ int main()
static_assert( (it2 > it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 >= r2) == x);
}
-int main()
+int main(int, char**)
{
char s[] = "1234567890";
test(random_access_iterator<char*>(s), random_access_iterator<char*>(s), true);
@@ -54,4 +54,6 @@ int main()
static_assert( (it2 >= it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lt.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lt.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 < r2) == x);
}
-int main()
+int main(int, char**)
{
char s[] = "1234567890";
test(random_access_iterator<char*>(s), random_access_iterator<char*>(s), false);
@@ -54,4 +54,6 @@ int main()
static_assert(!(it2 < it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 <= r2) == x);
}
-int main()
+int main(int, char**)
{
char s[] = "1234567890";
test(random_access_iterator<char*>(s), random_access_iterator<char*>(s), true);
@@ -54,4 +54,6 @@ int main()
static_assert(!(it2 <= it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_neq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_neq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_neq.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_neq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 != r2) == x);
}
-int main()
+int main(int, char**)
{
char s[] = "1234567890";
test(input_iterator<char*>(s), input_iterator<char*>(s), false);
@@ -58,4 +58,6 @@ int main()
static_assert( (it2 != it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp Mon Feb 4 12:31:13 2019
@@ -29,9 +29,11 @@ test(U u)
struct base {};
struct derived {};
-int main()
+int main(int, char**)
{
derived d;
test<base*>(&d);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ test(U u)
struct Base {};
struct Derived : Base {};
-int main()
+int main(int, char**)
{
Derived d;
@@ -52,4 +52,6 @@ int main()
static_assert(it2.base() == p);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/default.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ test()
(void)r;
}
-int main()
+int main(int, char**)
{
test<input_iterator<char*> >();
test<forward_iterator<char*> >();
@@ -41,4 +41,6 @@ int main()
(void)it;
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,8 +23,10 @@ test(It i)
std::move_iterator<It> r = i;
}
-int main()
+int main(int, char**)
{
char s[] = "123";
test(s);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ test(It i)
assert(r.base() == i);
}
-int main()
+int main(int, char**)
{
char s[] = "123";
test(input_iterator<char*>(s));
@@ -44,4 +44,6 @@ int main()
static_assert(it.base() == p);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/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/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/post.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/post.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/post.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, It x)
assert(rr.base() == i);
}
-int main()
+int main(int, char**)
{
char s[] = "123";
test(bidirectional_iterator<char*>(s+1), bidirectional_iterator<char*>(s));
@@ -49,4 +49,6 @@ int main()
static_assert(it2 == it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/pre.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/pre.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/pre.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/pre.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, It x)
assert(&rr == &r);
}
-int main()
+int main(int, char**)
{
char s[] = "123";
test(bidirectional_iterator<char*>(s+1), bidirectional_iterator<char*>(s));
@@ -49,4 +49,6 @@ int main()
static_assert(it2 != it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/post.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/post.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/post.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, It x)
assert(rr.base() == i);
}
-int main()
+int main(int, char**)
{
char s[] = "123";
test(input_iterator<char*>(s), input_iterator<char*>(s+1));
@@ -51,4 +51,6 @@ int main()
static_assert(it2 != it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/pre.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/pre.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/pre.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/pre.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, It x)
assert(&rr == &r);
}
-int main()
+int main(int, char**)
{
char s[] = "123";
test(input_iterator<char*>(s), input_iterator<char*>(s+1));
@@ -51,4 +51,6 @@ int main()
static_assert(it2 == it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ struct do_nothing
void operator()(void*) const {}
};
-int main()
+int main(int, char**)
{
{
char s[] = "1234567890";
@@ -64,4 +64,6 @@ int main()
static_assert(it1[5] == '6', "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.ref/op_arrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.ref/op_arrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.ref/op_arrow.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.ref/op_arrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ test(It i)
assert(r.operator->() == i);
}
-int main()
+int main(int, char**)
{
char s[] = "123";
test(s);
@@ -42,4 +42,6 @@ int main()
static_assert(it2.operator->() == p + 1, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/op_star.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/op_star.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/op_star.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/op_star.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,7 +47,7 @@ struct do_nothing
};
-int main()
+int main(int, char**)
{
{
A a;
@@ -70,4 +70,6 @@ int main()
static_assert(*it2 == p[1], "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op=/move_iterator.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op%3D/move_iterator.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op=/move_iterator.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op=/move_iterator.fail.cpp Mon Feb 4 12:31:13 2019
@@ -31,8 +31,10 @@ test(U u)
struct base {};
struct derived {};
-int main()
+int main(int, char**)
{
derived d;
test<base*>(&d);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op=/move_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op%3D/move_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op=/move_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op=/move_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ test(U u)
struct Base {};
struct Derived : Base {};
-int main()
+int main(int, char**)
{
Derived d;
@@ -56,4 +56,6 @@ int main()
static_assert(it2.base() == p, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.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/iterators/predef.iterators/move.iterators/move.iter.requirements/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.requirements/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.requirements/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iter.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/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -55,7 +55,7 @@ test()
static_assert((std::is_same<typename R::iterator_category, typename T::iterator_category>::value), "");
}
-int main()
+int main(int, char**)
{
test<input_iterator<char*> >();
test<forward_iterator<char*> >();
@@ -91,4 +91,6 @@ int main()
static_assert(std::is_same<It::reference, int&&>::value, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/move.iterators/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/iterators/predef.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/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/iterators/predef.iterators/reverse.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/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/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.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/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ test()
(void)r;
}
-int main()
+int main(int, char**)
{
test<bidirectional_iterator<const char*> >();
test<random_access_iterator<char*> >();
@@ -40,4 +40,6 @@ int main()
(void)it;
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,8 +23,10 @@ test(It i)
std::reverse_iterator<It> r = i;
}
-int main()
+int main(int, char**)
{
const char s[] = "123";
test(s);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ test(It i)
assert(r.base() == i);
}
-int main()
+int main(int, char**)
{
const char s[] = "123";
test(bidirectional_iterator<const char*>(s));
@@ -42,4 +42,6 @@ int main()
static_assert(it.base() == p);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp Mon Feb 4 12:31:13 2019
@@ -29,9 +29,11 @@ test(U u)
struct base {};
struct derived {};
-int main()
+int main(int, char**)
{
derived d;
test<base*>(&d);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ test(U u)
struct Base {};
struct Derived : Base {};
-int main()
+int main(int, char**)
{
Derived d;
@@ -50,4 +50,6 @@ int main()
static_assert(it2.base() == p);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.conv/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.conv/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.conv/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.conv/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/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ test(It i)
assert(r.base() == i);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
random_access_iterator<const char*>b(s);
@@ -46,5 +46,7 @@ int main()
static_assert(it1.base() == p, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op!=/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op%21%3D/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op!=/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op!=/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 != r2) == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(bidirectional_iterator<const char*>(s), bidirectional_iterator<const char*>(s), false);
@@ -53,4 +53,6 @@ int main()
static_assert( (it1 != it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op++/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op%2B%2B/post.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op++/post.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op++/post.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, It x)
assert(rr.base() == i);
}
-int main()
+int main(int, char**)
{
const char* s = "123";
test(bidirectional_iterator<const char*>(s+1), bidirectional_iterator<const char*>(s));
@@ -49,4 +49,6 @@ int main()
static_assert(it2 == it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op++/pre.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op%2B%2B/pre.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op++/pre.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op++/pre.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, It x)
assert(&rr == &r);
}
-int main()
+int main(int, char**)
{
const char* s = "123";
test(bidirectional_iterator<const char*>(s+1), bidirectional_iterator<const char*>(s));
@@ -50,4 +50,6 @@ int main()
static_assert(*(++std::make_reverse_iterator(p+2)) == '1', "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op%2B/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, typename std::iterator_traits
assert(rr.base() == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 5, random_access_iterator<const char*>(s));
@@ -48,4 +48,6 @@ int main()
static_assert(it2 != it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+=/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op%2B%3D/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+=/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+=/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ test(It i, typename std::iterator_traits
assert(&rr == &r);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 5, random_access_iterator<const char*>(s));
@@ -45,4 +45,6 @@ int main()
static_assert(it1 == it2, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op--/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op--/post.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op--/post.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op--/post.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, It x)
assert(rr.base() == i);
}
-int main()
+int main(int, char**)
{
const char* s = "123";
test(bidirectional_iterator<const char*>(s+1), bidirectional_iterator<const char*>(s+2));
@@ -49,4 +49,6 @@ int main()
static_assert(it2 != it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op--/pre.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op--/pre.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op--/pre.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op--/pre.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, It x)
assert(&rr == &r);
}
-int main()
+int main(int, char**)
{
const char* s = "123";
test(bidirectional_iterator<const char*>(s+1), bidirectional_iterator<const char*>(s+2));
@@ -50,4 +50,6 @@ int main()
static_assert(*(--std::make_reverse_iterator(p)) == '1', "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, typename std::iterator_traits
assert(rr.base() == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 5, random_access_iterator<const char*>(s+10));
@@ -48,4 +48,6 @@ int main()
static_assert(it2 == it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-=/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-%3D/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-=/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-=/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ test(It i, typename std::iterator_traits
assert(&rr == &r);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 5, random_access_iterator<const char*>(s+10));
@@ -45,4 +45,6 @@ int main()
static_assert(it1 == it2, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op.star/op_star.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op.star/op_star.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op.star/op_star.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op.star/op_star.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ test(It i, typename std::iterator_traits
assert(*r == x);
}
-int main()
+int main(int, char**)
{
A a;
test(&a+1, A());
@@ -58,4 +58,6 @@ int main()
static_assert(*it2 == p[1], "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op=/reverse_iterator.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op%3D/reverse_iterator.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op=/reverse_iterator.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op=/reverse_iterator.fail.cpp Mon Feb 4 12:31:13 2019
@@ -31,8 +31,10 @@ test(U u)
struct base {};
struct derived {};
-int main()
+int main(int, char**)
{
derived d;
test<base*>(&d);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op=/reverse_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op%3D/reverse_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op=/reverse_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op=/reverse_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ test(U u)
struct Base {};
struct Derived : Base {};
-int main()
+int main(int, char**)
{
Derived d;
@@ -55,4 +55,6 @@ int main()
static_assert(it2.base() == p, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op==/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op%3D%3D/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op==/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op==/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 == r2) == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(bidirectional_iterator<const char*>(s), bidirectional_iterator<const char*>(s), true);
@@ -54,4 +54,6 @@ int main()
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opdiff/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opdiff/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opdiff/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opdiff/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ test(It1 l, It2 r, std::ptrdiff_t x)
assert((r1 - r2) == x);
}
-int main()
+int main(int, char**)
{
char s[3] = {0};
test(random_access_iterator<const char*>(s), random_access_iterator<char*>(s), 0);
@@ -53,4 +53,6 @@ int main()
static_assert( it2 - it1 == -1, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opgt/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opgt/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opgt/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opgt/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 > r2) == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s), random_access_iterator<const char*>(s), false);
@@ -53,4 +53,6 @@ int main()
static_assert( (it1 > it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opgt=/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opgt%3D/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opgt=/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opgt=/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 >= r2) == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s), random_access_iterator<const char*>(s), true);
@@ -53,4 +53,6 @@ int main()
static_assert( (it1 >= it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(It i, typename std::iterator_traits
assert(rr == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 4, '1');
@@ -45,4 +45,6 @@ int main()
static_assert(it1[4] == '1', "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.oplt/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.oplt/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.oplt/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.oplt/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 < r2) == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s), random_access_iterator<const char*>(s), false);
@@ -53,4 +53,6 @@ int main()
static_assert(!(it1 < it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.oplt=/test.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.oplt%3D/test.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.oplt=/test.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.oplt=/test.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(It l, It r, bool x)
assert((r1 <= r2) == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s), random_access_iterator<const char*>(s), true);
@@ -53,4 +53,6 @@ int main()
static_assert(!(it1 <= it3), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/op_arrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/op_arrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/op_arrow.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/op_arrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -76,7 +76,7 @@ public:
TEST_CONSTEXPR C gC;
-int main()
+int main(int, char**)
{
A a;
test(&a+1, A());
@@ -115,4 +115,6 @@ int main()
{
((void)gC);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ test(It i, typename std::iterator_traits
assert(rr.base() == x);
}
-int main()
+int main(int, char**)
{
const char* s = "1234567890";
test(random_access_iterator<const char*>(s+5), 5, random_access_iterator<const char*>(s));
@@ -49,4 +49,6 @@ int main()
static_assert(it2 != it3, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.requirements/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.requirements/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.requirements/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.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/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,9 +52,11 @@ test()
static_assert((std::is_same<typename R::iterator_category, typename T::iterator_category>::value), "");
}
-int main()
+int main(int, char**)
{
test<bidirectional_iterator<char*> >();
test<random_access_iterator<char*> >();
test<char*>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
std::istream_iterator<int> io;
@@ -36,4 +36,6 @@ int main()
j = *i;
assert(j == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.fail.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.fail.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
struct S { S(); }; // not constexpr
-int main()
+int main(int, char**)
{
#if TEST_STD_VER >= 11
{
@@ -28,4 +28,6 @@ int main()
#else
#error "C++11 only test"
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,7 +42,7 @@ void operator ()() const {}
#endif
-int main()
+int main(int, char**)
{
{
typedef std::istream_iterator<int> T;
@@ -61,4 +61,6 @@ int main()
test_trivial<S>()();
test_trivial<std::string>()();
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/istream.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/istream.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/istream.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/istream.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
std::istringstream inf(" 1 23");
std::istream_iterator<int> i(inf);
@@ -26,4 +26,6 @@ int main()
int j = 0;
inf >> j;
assert(j == 23);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/arrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/arrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/arrow.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/arrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,10 +29,12 @@ std::istream& operator>>(std::istream& i
return is >> a.d_ >> a.i_;
}
-int main()
+int main(int, char**)
{
std::istringstream inf("1.5 23 ");
std::istream_iterator<A> i(inf);
assert(i->d_ == 1.5);
assert(i->i_ == 23);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/dereference.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/dereference.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/dereference.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/dereference.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
std::istringstream inf(" 1 23");
std::istream_iterator<int> i(inf);
@@ -30,4 +30,6 @@ int main()
assert(j == 23);
j = *i;
assert(j == 23);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/equal.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
std::istringstream inf1(" 1 23");
std::istringstream inf2(" 1 23");
@@ -51,4 +51,6 @@ int main()
assert(std::operator==(i1, i2));
assert(std::operator!=(i1, i3));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/post_increment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/post_increment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/post_increment.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/post_increment.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
std::istringstream inf(" 1 23");
std::istream_iterator<int> i(inf);
@@ -28,4 +28,6 @@ int main()
j = 0;
j = *icopy;
assert(j == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/pre_increment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/pre_increment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/pre_increment.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/pre_increment.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
std::istringstream inf(" 1 23");
std::istream_iterator<int> i(inf);
@@ -25,4 +25,6 @@ int main()
int j = 0;
j = *i;
assert(j == 23);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::istream_iterator<double> I1; // double is trivially destructible
#if TEST_STD_VER <= 14
@@ -82,4 +82,6 @@ int main()
typedef std::istream_iterator<std::string> I3; // string is NOT trivially destructible
static_assert(!std::is_trivially_copy_constructible<I3>::value, "");
static_assert(!std::is_trivially_destructible<I3>::value, "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef std::istreambuf_iterator<char> T;
@@ -41,4 +41,6 @@ int main()
(void)it2;
#endif
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/istream.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/istream.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/istream.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/istream.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream inf;
@@ -38,4 +38,6 @@ int main()
std::istreambuf_iterator<wchar_t> i(inf);
assert(i != std::istreambuf_iterator<wchar_t>());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/proxy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/proxy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/proxy.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/proxy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream inf("abc");
@@ -32,4 +32,6 @@ int main()
assert(i != std::istreambuf_iterator<wchar_t>());
assert(*i == L'b');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istreambuf_iterator<char> i(nullptr);
@@ -46,4 +46,6 @@ int main()
std::istreambuf_iterator<wchar_t> i(inf.rdbuf());
assert(i != std::istreambuf_iterator<wchar_t>());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/equal.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream inf1("abc");
@@ -96,4 +96,6 @@ int main()
assert( i5.equal(i4));
assert( i5.equal(i5));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op!=/not_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op%21%3D/not_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op!=/not_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op!=/not_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream inf1("abc");
@@ -98,4 +98,6 @@ int main()
assert(!(i5 != i4));
assert(!(i5 != i5));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op++/dereference.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op%2B%2B/dereference.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op++/dereference.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op++/dereference.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream inf("abc");
@@ -36,4 +36,6 @@ int main()
++i;
assert(*i == L'c');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op==/equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op%3D%3D/equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op==/equal.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op==/equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream inf1("abc");
@@ -98,4 +98,6 @@ int main()
assert( (i5 == i4));
assert( (i5 == i5));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/post_increment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/post_increment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/post_increment.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/post_increment.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream inf("abc");
@@ -34,4 +34,6 @@ int main()
assert(*i++ == L'c');
assert(i == std::istreambuf_iterator<wchar_t>());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/pre_increment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/pre_increment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/pre_increment.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/pre_increment.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream inf("abc");
@@ -35,4 +35,6 @@ int main()
assert(*++i == L'c');
assert(++i == std::istreambuf_iterator<wchar_t>());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_proxy/proxy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_proxy/proxy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_proxy/proxy.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_proxy/proxy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::istringstream inf("abc");
@@ -40,4 +40,6 @@ int main()
std::istreambuf_iterator<wchar_t> i(inf);
assert(*i++ == L'a');
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::istreambuf_iterator<char> I1;
static_assert((std::is_same<I1::iterator_category, std::input_iterator_tag>::value), "");
@@ -65,4 +65,6 @@ int main()
static_assert((std::is_nothrow_default_constructible<I2>::value), "" );
static_assert((std::is_trivially_copy_constructible<I2>::value), "" );
static_assert((std::is_trivially_destructible<I2>::value), "" );
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_array.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_array.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_array.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_array.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,11 +13,13 @@
#include <iterator>
#include <cassert>
-int main()
+int main(int, char**)
{
int ia[] = {1, 2, 3};
int* i = std::begin(ia);
assert(*i == 1);
*i = 2;
assert(ia[0] == 2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_const.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,10 +13,12 @@
#include <vector>
#include <cassert>
-int main()
+int main(int, char**)
{
int ia[] = {1, 2, 3};
const std::vector<int> v(ia, ia + sizeof(ia)/sizeof(ia[0]));
std::vector<int>::const_iterator i = begin(v);
assert(*i == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/begin_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <vector>
#include <cassert>
-int main()
+int main(int, char**)
{
int ia[] = {1, 2, 3};
std::vector<int> v(ia, ia + sizeof(ia)/sizeof(ia[0]));
@@ -21,4 +21,6 @@ int main()
assert(*i == 1);
*i = 2;
assert(*i == 2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_array.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_array.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_array.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_array.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,11 +13,13 @@
#include <iterator>
#include <cassert>
-int main()
+int main(int, char**)
{
int ia[] = {1, 2, 3};
int* i = std::begin(ia);
int* e = std::end(ia);
assert(e == ia + 3);
assert(e - i == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_const.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,10 +13,12 @@
#include <vector>
#include <cassert>
-int main()
+int main(int, char**)
{
int ia[] = {1, 2, 3};
const std::vector<int> v(ia, ia + sizeof(ia)/sizeof(ia[0]));
std::vector<int>::const_iterator i = end(v);
assert(i == v.cend());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/iterator.range/end_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,10 +13,12 @@
#include <vector>
#include <cassert>
-int main()
+int main(int, char**)
{
int ia[] = {1, 2, 3};
std::vector<int> v(ia, ia + sizeof(ia)/sizeof(ia[0]));
std::vector<int>::iterator i = end(v);
assert(i == v.end());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/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/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,11 +16,13 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ostringstream outf;
std::ostream_iterator<int> i(outf);
std::ostream_iterator<int> j = i;
assert(outf.good());
((void)j);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@ typedef std::basic_ostream<char, MyTrait
void operator&(BasicStream const&) {}
-int main()
+int main(int, char**)
{
{
std::ostringstream outf;
@@ -35,4 +35,6 @@ int main()
std::ostream_iterator<int, char, MyTraits> i(outf);
assert(outf.good());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream_delim.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream_delim.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream_delim.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream_delim.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ typedef std::basic_ostream<char, MyTrait
void operator&(BasicStream const&) {}
-int main()
+int main(int, char**)
{
{
std::ostringstream outf;
@@ -41,4 +41,6 @@ int main()
std::ostream_iterator<int, char, MyTraits> i(outf, ", ");
assert(outf.good());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#pragma warning(disable: 4244) // conversion from 'X' to 'Y', possible loss of data
#endif
-int main()
+int main(int, char**)
{
{
std::ostringstream outf;
@@ -52,4 +52,6 @@ int main()
i = 2.4;
assert(outf.str() == L"2, ");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/dereference.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/dereference.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/dereference.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/dereference.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,10 +16,12 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ostringstream os;
std::ostream_iterator<int> i(os);
std::ostream_iterator<int>& iref = *i;
assert(&iref == &i);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/increment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/increment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/increment.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/increment.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ostringstream os;
std::ostream_iterator<int> i(os);
@@ -25,4 +25,6 @@ int main()
assert(&iref1 == &i);
std::ostream_iterator<int>& iref2 = i++;
assert(&iref2 == &i);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::ostream_iterator<double> I1;
#if TEST_STD_VER <= 14
@@ -54,4 +54,6 @@ int main()
static_assert((std::is_same<I2::char_type, wchar_t>::value), "");
static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), "");
static_assert((std::is_same<I2::ostream_type, std::wostream>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ostream.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ostream.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ostream.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ostream.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream outf;
@@ -28,4 +28,6 @@ int main()
std::ostreambuf_iterator<wchar_t> i(outf);
assert(!i.failed());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/streambuf.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/streambuf.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/streambuf.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/streambuf.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream outf;
@@ -28,4 +28,6 @@ int main()
std::ostreambuf_iterator<wchar_t> i(outf.rdbuf());
assert(!i.failed());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/assign_c.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/assign_c.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/assign_c.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/assign_c.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream outf;
@@ -35,4 +35,6 @@ int main()
i = L'b';
assert(outf.str() == L"ab");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/deref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/deref.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/deref.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/deref.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream outf;
@@ -30,4 +30,6 @@ int main()
std::ostreambuf_iterator<wchar_t>& iref = *i;
assert(&iref == &i);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ struct my_streambuf : public std::basic_
int_type sputc(char_type) { return Traits::eof(); }
};
-int main()
+int main(int, char**)
{
{
my_streambuf<char> buf;
@@ -39,4 +39,6 @@ int main()
i = L'a';
assert(i.failed());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/increment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/increment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/increment.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/increment.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <sstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ostringstream outf;
@@ -35,4 +35,6 @@ int main()
std::ostreambuf_iterator<wchar_t>& iref2 = i++;
assert(&iref2 == &i);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::ostreambuf_iterator<char> I1;
#if TEST_STD_VER <= 14
@@ -58,4 +58,6 @@ int main()
static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), "");
static_assert((std::is_same<I2::streambuf_type, std::wstreambuf>::value), "");
static_assert((std::is_same<I2::ostream_type, std::wostream>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/cmp/cmp.common/common_comparison_category.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/cmp/cmp.common/common_comparison_category.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/cmp/cmp.common/common_comparison_category.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/cmp/cmp.common/common_comparison_category.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ void test_cat() {
// [class.spaceship]p4: The 'common comparison type' U of a possibly-empty list
// of 'n' types T0, T1, ..., TN, is defined as follows:
-int main() {
+int main(int, char**) {
using WE = std::weak_equality;
using SE = std::strong_equality;
using PO = std::partial_ordering;
@@ -89,4 +89,6 @@ int main() {
test_cat<SO, SO>();
test_cat<SO, SO, SO>();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp Mon Feb 4 12:31:13 2019
@@ -155,9 +155,11 @@ constexpr bool test_constexpr() {
return true;
}
-int main() {
+int main(int, char**) {
test_static_members();
test_signatures();
static_assert(test_conversion(), "conversion test failed");
static_assert(test_constexpr(), "constexpr test failed");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/cmp/cmp.strongeq/cmp.strongeq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/cmp/cmp.strongeq/cmp.strongeq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/cmp/cmp.strongeq/cmp.strongeq.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/cmp/cmp.strongeq/cmp.strongeq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -87,9 +87,11 @@ constexpr bool test_constexpr() {
return true;
}
-int main() {
+int main(int, char**) {
test_static_members();
test_signatures();
test_conversion();
static_assert(test_constexpr(), "constexpr test failed");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp Mon Feb 4 12:31:13 2019
@@ -203,9 +203,11 @@ constexpr bool test_constexpr() {
return true;
}
-int main() {
+int main(int, char**) {
test_static_members();
test_signatures();
static_assert(test_conversion(), "conversion test failed");
static_assert(test_constexpr(), "constexpr test failed");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/cmp/cmp.weakeq/cmp.weakeq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/cmp/cmp.weakeq/cmp.weakeq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/cmp/cmp.weakeq/cmp.weakeq.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/cmp/cmp.weakeq/cmp.weakeq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -62,8 +62,10 @@ constexpr bool test_constexpr() {
return true;
}
-int main() {
+int main(int, char**) {
test_static_members();
test_signatures();
static_assert(test_constexpr(), "constexpr test failed");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp Mon Feb 4 12:31:13 2019
@@ -160,9 +160,11 @@ constexpr bool test_constexpr() {
return true;
}
-int main() {
+int main(int, char**) {
test_static_members();
test_signatures();
static_assert(test_conversion(), "conversion test failed");
static_assert(test_constexpr(), "constexpr test failed");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <limits>
#include <cassert>
-int main()
+int main(int, char**)
{
// typedef std::int8_t
static_assert(sizeof(std::int8_t)*CHAR_BIT == 8,
@@ -288,4 +288,6 @@ int main()
#ifndef UINTMAX_C
#error UINTMAX_C not defined
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/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/language.support/support.dynamic/align_val_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/align_val_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/align_val_t.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/align_val_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,7 @@
#include "test_macros.h"
-int main() {
+int main(int, char**) {
{
static_assert(std::is_enum<std::align_val_t>::value, "");
static_assert(std::is_same<std::underlying_type<std::align_val_t>::type, std::size_t>::value, "");
@@ -30,4 +30,6 @@ int main() {
static_assert(b == std::align_val_t(32), "");
static_assert(static_cast<std::size_t>(c) == (std::size_t)-1, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,7 +12,7 @@
#include <type_traits>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::exception, std::bad_alloc>::value),
"std::is_base_of<std::exception, std::bad_alloc>::value");
@@ -23,4 +23,6 @@ int main()
b2 = b;
const char* w = b2.what();
assert(w);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,7 +12,7 @@
#include <type_traits>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value),
"std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value");
@@ -23,4 +23,6 @@ int main()
b2 = b;
const char* w = b2.what();
assert(w);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/new.handler/new_handler.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/new.handler/new_handler.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/new.handler/new_handler.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/new.handler/new_handler.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,9 +14,11 @@
void f() {}
-int main()
+int main(int, char**)
{
static_assert((std::is_same<std::new_handler, void(*)()>::value), "");
std::new_handler p = f;
assert(p == &f);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/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/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,11 +14,13 @@
void f1() {}
void f2() {}
-int main()
+int main(int, char**)
{
assert(std::get_new_handler() == 0);
std::set_new_handler(f1);
assert(std::get_new_handler() == f1);
std::set_new_handler(f2);
assert(std::get_new_handler() == f2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,8 +14,10 @@
void f1() {}
void f2() {}
-int main()
+int main(int, char**)
{
assert(std::set_new_handler(f1) == 0);
assert(std::set_new_handler(f2) == f1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -83,7 +83,7 @@ void operator delete [] (void* p, std::a
struct alignas(OverAligned) A {};
struct alignas(std::max_align_t) B {};
-int main()
+int main(int, char**)
{
reset();
{
@@ -113,4 +113,6 @@ int main()
assert(0 == unsized_delete_nothrow_called);
assert(1 == aligned_delete_called);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -90,7 +90,7 @@ void test_throw_max_size() {
#endif
}
-int main()
+int main(int, char**)
{
{
A* ap = new A[2];
@@ -103,4 +103,6 @@ int main()
{
test_throw_max_size();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -92,7 +92,7 @@ void test_max_alloc() {
#endif
}
-int main()
+int main(int, char**)
{
{
A* ap = new(std::nothrow) A[3];
@@ -105,4 +105,6 @@ int main()
{
test_max_alloc();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -86,7 +86,7 @@ void operator delete[](void* p, std::al
--new_called;
}
-int main()
+int main(int, char**)
{
{
A* ap = new (std::nothrow) A[2];
@@ -106,4 +106,6 @@ int main()
assert(!new_called);
assert(!B_constructed);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void operator delete[](void* p, std::al
}
-int main()
+int main(int, char**)
{
{
A* ap = new A[3];
@@ -85,4 +85,6 @@ int main()
delete [] bp;
assert(!new_called);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ struct A
~A() {--A_constructed;}
};
-int main()
+int main(int, char**)
{
#ifndef TEST_HAS_NO_EXCEPTIONS
std::set_new_handler(my_new_handler);
@@ -60,4 +60,6 @@ int main()
delete [] ap;
DoNotOptimize(ap);
assert(A_constructed == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ struct A
~A() {--A_constructed;}
};
-int main()
+int main(int, char**)
{
std::set_new_handler(my_new_handler);
#ifndef TEST_HAS_NO_EXCEPTIONS
@@ -59,4 +59,6 @@ int main()
delete [] ap;
DoNotOptimize(ap);
assert(A_constructed == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ struct A
~A() {--A_constructed;}
};
-int main()
+int main(int, char**)
{
A *ap = new (std::nothrow) A[3];
DoNotOptimize(ap);
@@ -54,4 +54,6 @@ int main()
DoNotOptimize(ap);
assert(A_constructed == 0);
assert(!new_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct A
~A() {--A_constructed;}
};
-int main()
+int main(int, char**)
{
A *ap = new A[3];
DoNotOptimize(ap);
@@ -55,4 +55,6 @@ int main()
DoNotOptimize(ap);
assert(A_constructed == 0);
assert(new_called == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size.sh.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,9 @@
#include <new>
-int main ()
+int main(int, char**)
{
::operator new[](4); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align.sh.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,9 @@
#include <new>
-int main ()
+int main(int, char**)
{
::operator new[](4, std::align_val_t{4}); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align_nothrow.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align_nothrow.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align_nothrow.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align_nothrow.sh.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,9 @@
#include <new>
-int main ()
+int main(int, char**)
{
::operator new[](4, std::align_val_t{4}, std::nothrow); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_nothrow.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_nothrow.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_nothrow.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_nothrow.sh.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,9 @@
#include <new>
-int main ()
+int main(int, char**)
{
::operator new[](4, std::nothrow); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array11.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array11.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array11.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array11.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,7 +54,7 @@ void operator delete[](void* p, std::siz
// selected.
struct A { ~A() {} };
-int main()
+int main(int, char**)
{
A* x = new A[3];
@@ -66,4 +66,6 @@ int main()
assert(1 == unsized_delete_called);
assert(0 == sized_delete_called);
assert(0 == unsized_delete_nothrow_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp Mon Feb 4 12:31:13 2019
@@ -59,7 +59,7 @@ void operator delete[](void* p, std::siz
// selected.
struct A { ~A() {} };
-int main()
+int main(int, char**)
{
A* x = new A[3];
assert(0 == unsized_delete_called);
@@ -70,4 +70,6 @@ int main()
assert(0 == unsized_delete_called);
assert(0 == unsized_delete_nothrow_called);
assert(1 == sized_delete_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_calls_unsized_delete_array.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_calls_unsized_delete_array.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_calls_unsized_delete_array.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_calls_unsized_delete_array.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ void operator delete[](void* p, const st
// selected.
struct A { ~A() {} };
-int main()
+int main(int, char**)
{
A *x = new A[3];
DoNotOptimize(x);
@@ -56,4 +56,6 @@ int main()
DoNotOptimize(x);
assert(1 == delete_called);
assert(0 == delete_nothrow_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp Mon Feb 4 12:31:13 2019
@@ -73,7 +73,7 @@ void operator delete[](void* p, std::siz
// selected.
struct A { ~A() {} };
-int main()
+int main(int, char**)
{
A* x = new A[3];
assert(0 == unsized_delete_called);
@@ -84,4 +84,6 @@ int main()
assert(0 == unsized_delete_called);
assert(0 == unsized_delete_nothrow_called);
assert(1 == sized_delete_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.dataraces/not_testable.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.dataraces/not_testable.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.dataraces/not_testable.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.dataraces/not_testable.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/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,11 +19,13 @@ struct A
~A() {--A_constructed;}
};
-int main()
+int main(int, char**)
{
char buf[sizeof(A)];
A* ap = new(buf) A;
assert((char*)ap == buf);
assert(A_constructed == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@ struct A
~A() {--A_constructed;}
};
-int main()
+int main(int, char**)
{
const std::size_t Size = 3;
// placement new might require additional space.
@@ -30,4 +30,6 @@ int main()
assert((char*)ap >= buf);
assert((char*)ap < (buf + ExtraSize));
assert(A_constructed == Size);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array_ptr.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array_ptr.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array_ptr.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array_ptr.fail.cpp Mon Feb 4 12:31:13 2019
@@ -18,8 +18,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
char buffer[100];
::operator new[](4, buffer); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_ptr.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_ptr.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_ptr.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_ptr.fail.cpp Mon Feb 4 12:31:13 2019
@@ -18,8 +18,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
char buffer[100];
::operator new(4, buffer); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -82,7 +82,7 @@ void operator delete(void* p, std::align
struct alignas(OverAligned) A {};
struct alignas(std::max_align_t) B {};
-int main()
+int main(int, char**)
{
reset();
{
@@ -112,4 +112,6 @@ int main()
assert(0 == unsized_delete_nothrow_called);
assert(1 == aligned_delete_called);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ struct A
~A() {A_constructed = false;}
};
-int main()
+int main(int, char**)
{
#ifndef TEST_HAS_NO_EXCEPTIONS
std::set_new_handler(my_new_handler);
@@ -58,4 +58,6 @@ int main()
assert(A_constructed);
delete ap;
assert(!A_constructed);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp Mon Feb 4 12:31:13 2019
@@ -90,7 +90,7 @@ void test_throw_max_size() {
#endif
}
-int main()
+int main(int, char**)
{
{
A* ap = new A;
@@ -103,4 +103,6 @@ int main()
{
test_throw_max_size();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -92,7 +92,7 @@ void test_max_alloc() {
#endif
}
-int main()
+int main(int, char**)
{
{
A* ap = new(std::nothrow) A;
@@ -105,4 +105,6 @@ int main()
{
test_max_alloc();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -88,7 +88,7 @@ void operator delete(void* p, std::alig
}
-int main()
+int main(int, char**)
{
{
A* ap = new (std::nothrow) A;
@@ -108,4 +108,6 @@ int main()
assert(!new_called);
assert(!B_constructed);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void operator delete(void* p, std::alig
}
-int main()
+int main(int, char**)
{
{
A* ap = new A;
@@ -85,4 +85,6 @@ int main()
delete bp;
assert(!new_called);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ struct A
~A() {A_constructed = false;}
};
-int main()
+int main(int, char**)
{
std::set_new_handler(my_new_handler);
#ifndef TEST_HAS_NO_EXCEPTIONS
@@ -56,4 +56,6 @@ int main()
assert(A_constructed);
delete ap;
assert(!A_constructed);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ struct A
~A() {A_constructed = false;}
};
-int main()
+int main(int, char**)
{
A *ap = new (std::nothrow) A;
DoNotOptimize(ap);
@@ -54,4 +54,6 @@ int main()
DoNotOptimize(ap);
assert(!A_constructed);
assert(!new_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_replace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_replace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,7 +42,7 @@ struct A
~A() {A_constructed = false;}
};
-int main()
+int main(int, char**)
{
A *ap = new A;
DoNotOptimize(ap);
@@ -53,4 +53,6 @@ int main()
DoNotOptimize(ap);
assert(!A_constructed);
assert(!new_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size.fail.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,9 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
::operator new(4); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align.sh.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,9 @@
#include <new>
-int main ()
+int main(int, char**)
{
::operator new(4, std::align_val_t{4}); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align_nothrow.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align_nothrow.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align_nothrow.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align_nothrow.sh.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,9 @@
#include <new>
-int main ()
+int main(int, char**)
{
::operator new(4, std::align_val_t{4}, std::nothrow); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_nothrow.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_nothrow.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_nothrow.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_nothrow.fail.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,9 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
::operator new(4, std::nothrow); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete11.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete11.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete11.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete11.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ void operator delete(void* p, std::size_
std::free(p);
}
-int main()
+int main(int, char**)
{
int *x = new int(42);
DoNotOptimize(x);
@@ -56,4 +56,6 @@ int main()
assert(1 == unsized_delete_called);
assert(0 == sized_delete_called);
assert(0 == unsized_delete_nothrow_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ void operator delete(void* p, std::size_
std::free(p);
}
-int main()
+int main(int, char**)
{
int *x = new int(42);
DoNotOptimize(x);
@@ -61,4 +61,6 @@ int main()
assert(0 == unsized_delete_called);
assert(1 == sized_delete_called);
assert(0 == unsized_delete_nothrow_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_calls_unsized_delete.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_calls_unsized_delete.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_calls_unsized_delete.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_calls_unsized_delete.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ void operator delete(void* p, const std:
std::free(p);
}
-int main()
+int main(int, char**)
{
int *x = new int(42);
DoNotOptimize(x);
@@ -45,4 +45,6 @@ int main()
DoNotOptimize(x);
assert(1 == delete_called);
assert(0 == delete_nothrow_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp Mon Feb 4 12:31:13 2019
@@ -61,7 +61,7 @@ void operator delete(void* p, std::size_
std::free(p);
}
-int main()
+int main(int, char**)
{
int *x = new int(42);
DoNotOptimize(x);
@@ -74,4 +74,6 @@ int main()
assert(1 == sized_delete_called);
assert(0 == unsized_delete_called);
assert(0 == unsized_delete_nothrow_called);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/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/language.support/support.dynamic/ptr.launder/launder.nodiscard.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.nodiscard.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.nodiscard.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.nodiscard.fail.cpp Mon Feb 4 12:31:13 2019
@@ -19,8 +19,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
int *p = nullptr;
std::launder(p); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
constexpr int gi = 5;
constexpr float gf = 8.f;
-int main() {
+int main(int, char**) {
static_assert(std::launder(&gi) == &gi, "" );
static_assert(std::launder(&gf) == &gf, "" );
@@ -31,4 +31,6 @@ int main() {
assert(std::launder(i) == i);
assert(std::launder(f) == f);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
void foo() {}
-int main ()
+int main(int, char**)
{
void *p = nullptr;
(void) std::launder(( void *) nullptr);
@@ -32,4 +32,6 @@ int main ()
(void) std::launder(foo); // expected-error-re at new:* 1 {{static_assert failed{{.*}} "can't launder functions"}}
// expected-error at new:* 0-1 {{function pointer argument to '__builtin_launder' is not allowed}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/bad.exception/bad_exception.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/bad.exception/bad_exception.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/bad.exception/bad_exception.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/bad.exception/bad_exception.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,7 +12,7 @@
#include <type_traits>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert((std::is_base_of<std::exception, std::bad_exception>::value),
"std::is_base_of<std::exception, std::bad_exception>::value");
@@ -23,4 +23,6 @@ int main()
b2 = b;
const char* w = b2.what();
assert(w);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/except.nested/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/except.nested/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/except.nested/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/except.nested/assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ public:
friend bool operator==(const A& x, const A& y) {return x.data_ == y.data_;}
};
-int main()
+int main(int, char**)
{
{
std::nested_exception e0;
@@ -59,4 +59,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ public:
friend bool operator==(const A& x, const A& y) {return x.data_ == y.data_;}
};
-int main()
+int main(int, char**)
{
{
std::nested_exception e0;
@@ -57,4 +57,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_default.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ public:
friend bool operator==(const A& x, const A& y) {return x.data_ == y.data_;}
};
-int main()
+int main(int, char**)
{
{
std::nested_exception e;
@@ -55,4 +55,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp Mon Feb 4 12:31:13 2019
@@ -56,7 +56,7 @@ class E1 : public std::nested_exception
class E2 : public std::nested_exception {};
class E : public E1, public E2 {};
-int main()
+int main(int, char**)
{
{
try
@@ -131,4 +131,6 @@ int main()
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ void go_quietly()
std::exit(0);
}
-int main()
+int main(int, char**)
{
{
try
@@ -67,4 +67,6 @@ int main()
assert(false);
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,7 +42,7 @@ public:
struct Final final {};
#endif
-int main()
+int main(int, char**)
{
{
try
@@ -128,4 +128,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/exception.terminate/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/exception.terminate/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/exception.terminate/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/exception.terminate/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/language.support/support.exception/exception.terminate/set.terminate/get_terminate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/exception.terminate/set.terminate/get_terminate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/exception.terminate/set.terminate/get_terminate.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/exception.terminate/set.terminate/get_terminate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,10 +15,12 @@
void f1() {}
void f2() {}
-int main()
+int main(int, char**)
{
std::set_terminate(f1);
assert(std::get_terminate() == f1);
std::set_terminate(f2);
assert(std::get_terminate() == f2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/exception.terminate/set.terminate/set_terminate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/exception.terminate/set.terminate/set_terminate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/exception.terminate/set.terminate/set_terminate.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/exception.terminate/set.terminate/set_terminate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
void f1() {}
void f2() {}
-int main()
+int main(int, char**)
{
std::set_terminate(f1);
assert(std::set_terminate(f2) == f1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,9 +14,11 @@
void f() {}
-int main()
+int main(int, char**)
{
static_assert((std::is_same<std::terminate_handler, void(*)()>::value), "");
std::terminate_handler p = f;
assert(p == &f);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/exception.terminate/terminate/terminate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/exception.terminate/terminate/terminate.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/exception.terminate/terminate/terminate.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/exception.terminate/terminate/terminate.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,9 +17,11 @@ void f1()
std::exit(0);
}
-int main()
+int main(int, char**)
{
std::set_terminate(f1);
std::terminate();
assert(false);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/exception/exception.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/exception/exception.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/exception/exception.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/exception/exception.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,7 +12,7 @@
#include <type_traits>
#include <cassert>
-int main()
+int main(int, char**)
{
static_assert(std::is_polymorphic<std::exception>::value,
"std::is_polymorphic<std::exception>::value");
@@ -21,4 +21,6 @@ int main()
b2 = b;
const char* w = b2.what();
assert(w);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/propagation/current_exception.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/propagation/current_exception.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/propagation/current_exception.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/propagation/current_exception.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ struct A
int A::constructed = 0;
-int main()
+int main(int, char**)
{
{
std::exception_ptr p = std::current_exception();
@@ -270,4 +270,6 @@ int main()
assert(p != nullptr);
}
assert(A::constructed == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <exception>
#include <cassert>
-int main()
+int main(int, char**)
{
std::exception_ptr p;
assert(p == nullptr);
@@ -30,4 +30,6 @@ int main()
assert(p3 == nullptr);
p3 = nullptr;
assert(p3 == nullptr);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ struct A
int A::constructed = 0;
-int main()
+int main(int, char**)
{
{
std::exception_ptr p = std::make_exception_ptr(A(5));
@@ -52,4 +52,6 @@ int main()
assert(A::constructed == 0);
}
assert(A::constructed == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ struct A
int A::constructed = 0;
-int main()
+int main(int, char**)
{
{
std::exception_ptr p;
@@ -60,4 +60,6 @@ int main()
assert(A::constructed == 0);
}
assert(A::constructed == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ struct B
}
};
-int main()
+int main(int, char**)
{
try
{
@@ -42,4 +42,6 @@ int main()
assert(!std::uncaught_exception());
}
assert(!std::uncaught_exception());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ struct Outer {
int d_;
};
-int main () {
+int main(int, char**) {
assert(std::uncaught_exceptions() == 0);
{
Outer o(0);
@@ -58,4 +58,6 @@ int main () {
}
}
assert(std::uncaught_exceptions() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.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/language.support/support.initlist/include_cxx03.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.initlist/include_cxx03.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.initlist/include_cxx03.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.initlist/include_cxx03.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,6 +12,8 @@
#include <initializer_list>
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,11 +51,13 @@ struct B
#endif // TEST_STD_VER > 11
-int main()
+int main(int, char**)
{
A test1 = {3, 2, 1};
#if TEST_STD_VER > 11
constexpr B test2 = {3, 2, 1};
(void)test2;
#endif // TEST_STD_VER > 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
struct A {};
-int main()
+int main(int, char**)
{
std::initializer_list<A> il;
assert(il.size() == 0);
@@ -28,4 +28,6 @@ int main()
constexpr std::initializer_list<A> il2;
static_assert(il2.size() == 0, "");
#endif // TEST_STD_VER > 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,11 +49,13 @@ struct B
#endif // TEST_STD_VER > 11
-int main()
+int main(int, char**)
{
A test1 = {3, 2, 1};
#if TEST_STD_VER > 11
constexpr B test2 = {3, 2, 1};
(void)test2;
#endif // TEST_STD_VER > 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.initlist/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.initlist/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.initlist/types.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.initlist/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
struct A {};
-int main()
+int main(int, char**)
{
static_assert((std::is_same<std::initializer_list<A>::value_type, A>::value), "");
static_assert((std::is_same<std::initializer_list<A>::reference, const A&>::value), "");
@@ -33,4 +33,6 @@ int main()
static_assert((std::is_same<std::initializer_list<A>::size_type, std::size_t>::value), "");
static_assert((std::is_same<std::initializer_list<A>::iterator, const A*>::value), "");
static_assert((std::is_same<std::initializer_list<A>::const_iterator, const A*>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp Mon Feb 4 12:31:13 2019
@@ -178,6 +178,8 @@
#endif
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/c.limits/climits.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/c.limits/climits.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/c.limits/climits.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/c.limits/climits.pass.cpp Mon Feb 4 12:31:13 2019
@@ -86,6 +86,8 @@
#error ULLONG_MAX not defined
#endif
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@ struct two {one _[2];};
one test(std::float_round_style);
two test(int);
-int main()
+int main(int, char**)
{
static_assert(std::round_indeterminate == -1,
"std::round_indeterminate == -1");
@@ -34,4 +34,6 @@ int main()
"sizeof(test(std::round_to_nearest)) == 1");
static_assert(sizeof(test(1)) == 2,
"sizeof(test(1)) == 2");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/is_specialized.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/is_specialized.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/is_specialized.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/is_specialized.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,7 @@ void test()
"std::numeric_limits<const volatile T>::is_specialized");
}
-int main()
+int main(int, char**)
{
test<bool>();
test<char>();
@@ -67,4 +67,6 @@ int main()
test<long double>();
static_assert(!std::numeric_limits<std::complex<double> >::is_specialized,
"!std::numeric_limits<std::complex<double> >::is_specialized");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp Mon Feb 4 12:31:13 2019
@@ -68,7 +68,7 @@ void test(const T &) {}
struct other {};
-int main()
+int main(int, char**)
{
// bool
TEST_NUMERIC_LIMITS(bool)
@@ -205,4 +205,6 @@ int main()
TEST_NUMERIC_LIMITS(const other)
TEST_NUMERIC_LIMITS(volatile other)
TEST_NUMERIC_LIMITS(const volatile other)
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ test(T expected)
assert(std::numeric_limits<const volatile T>::denorm_min() == expected);
}
-int main()
+int main(int, char**)
{
test<bool>(false);
test<char>(0);
@@ -65,4 +65,6 @@ int main()
#if !defined(__FLT_DENORM_MIN__) && !defined(FLT_TRUE_MIN)
#error Test has no expected values for floating point types
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::digits == expected, "digits test 4");
}
-int main()
+int main(int, char**)
{
test<bool, 1>();
test<char, std::numeric_limits<char>::is_signed ? 7 : 8>();
@@ -54,4 +54,6 @@ int main()
test<float, FLT_MANT_DIG>();
test<double, DBL_MANT_DIG>();
test<long double, LDBL_MANT_DIG>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::is_bounded, "digits10 test 8");
}
-int main()
+int main(int, char**)
{
test<bool, 0>();
test<char, 2>();
@@ -58,4 +58,6 @@ int main()
test<float, FLT_DIG>();
test<double, DBL_DIG>();
test<long double, LDBL_DIG>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ test(T expected)
assert(std::numeric_limits<const volatile T>::epsilon() == expected);
}
-int main()
+int main(int, char**)
{
test<bool>(false);
test<char>(0);
@@ -55,4 +55,6 @@ int main()
test<float>(FLT_EPSILON);
test<double>(DBL_EPSILON);
test<long double>(LDBL_EPSILON);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::has_denorm == expected, "has_denorm test 4");
}
-int main()
+int main(int, char**)
{
test<bool, std::denorm_absent>();
test<char, std::denorm_absent>();
@@ -53,4 +53,6 @@ int main()
test<float, std::denorm_present>();
test<double, std::denorm_present>();
test<long double, std::denorm_present>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::has_denorm_loss == expected, "has_denorm_loss test 4");
}
-int main()
+int main(int, char**)
{
test<bool, false>();
test<char, false>();
@@ -53,4 +53,6 @@ int main()
test<float, false>();
test<double, false>();
test<long double, false>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::has_infinity == expected, "has_infinity test 4");
}
-int main()
+int main(int, char**)
{
test<bool, false>();
test<char, false>();
@@ -53,4 +53,6 @@ int main()
test<float, true>();
test<double, true>();
test<long double, true>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::has_quiet_NaN == expected, "has_quiet_NaN test 4");
}
-int main()
+int main(int, char**)
{
test<bool, false>();
test<char, false>();
@@ -53,4 +53,6 @@ int main()
test<float, true>();
test<double, true>();
test<long double, true>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::has_signaling_NaN == expected, "has_signaling_NaN test 4");
}
-int main()
+int main(int, char**)
{
test<bool, false>();
test<char, false>();
@@ -53,4 +53,6 @@ int main()
test<float, true>();
test<double, true>();
test<long double, true>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ test(T expected)
extern float zero;
-int main()
+int main(int, char**)
{
test<bool>(false);
test<char>(0);
@@ -57,6 +57,8 @@ int main()
test<float>(1.f/zero);
test<double>(1./zero);
test<long double>(1./zero);
+
+ return 0;
}
float zero = 0;
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::is_bounded == expected, "is_bounded test 4");
}
-int main()
+int main(int, char**)
{
test<bool, true>();
test<char, true>();
@@ -53,4 +53,6 @@ int main()
test<float, true>();
test<double, true>();
test<long double, true>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::is_exact == expected, "is_exact test 4");
}
-int main()
+int main(int, char**)
{
test<bool, true>();
test<char, true>();
@@ -53,4 +53,6 @@ int main()
test<float, false>();
test<double, false>();
test<long double, false>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::is_iec559 == expected, "is_iec559 test 4");
}
-int main()
+int main(int, char**)
{
test<bool, false>();
test<char, false>();
@@ -57,4 +57,6 @@ int main()
#else
test<long double, true>();
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::is_integer == expected, "is_integer test 4");
}
-int main()
+int main(int, char**)
{
test<bool, true>();
test<char, true>();
@@ -53,4 +53,6 @@ int main()
test<float, false>();
test<double, false>();
test<long double, false>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::is_modulo == expected, "is_modulo test 4");
}
-int main()
+int main(int, char**)
{
test<bool, false>();
// test<char, false>(); // don't know
@@ -53,4 +53,6 @@ int main()
test<float, false>();
test<double, false>();
test<long double, false>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::is_signed == expected, "is_signed test 4");
}
-int main()
+int main(int, char**)
{
test<bool, false>();
test<char, char(-1) < char(0)>();
@@ -53,4 +53,6 @@ int main()
test<float, true>();
test<double, true>();
test<long double, true>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(T expected)
assert(std::numeric_limits<const volatile T>::is_bounded);
}
-int main()
+int main(int, char**)
{
test<bool>(false);
test<char>(CHAR_MIN);
@@ -61,4 +61,6 @@ int main()
test<float>(-FLT_MAX);
test<double>(-DBL_MAX);
test<long double>(-LDBL_MAX);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(T expected)
assert(std::numeric_limits<const volatile T>::is_bounded);
}
-int main()
+int main(int, char**)
{
test<bool>(true);
test<char>(CHAR_MAX);
@@ -61,4 +61,6 @@ int main()
test<float>(FLT_MAX);
test<double>(DBL_MAX);
test<long double>(LDBL_MAX);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::max_digits10 == expected, "max_digits10 test 4");
}
-int main()
+int main(int, char**)
{
test<bool, 0>();
test<char, 0>();
@@ -54,4 +54,6 @@ int main()
test<float, 2+(FLT_MANT_DIG * 30103)/100000>();
test<double, 2+(DBL_MANT_DIG * 30103)/100000>();
test<long double, 2+(LDBL_MANT_DIG * 30103)/100000>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::max_exponent == expected, "max_exponent test 4");
}
-int main()
+int main(int, char**)
{
test<bool, 0>();
test<char, 0>();
@@ -54,4 +54,6 @@ int main()
test<float, FLT_MAX_EXP>();
test<double, DBL_MAX_EXP>();
test<long double, LDBL_MAX_EXP>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::max_exponent10 == expected, "max_exponent10 test 4");
}
-int main()
+int main(int, char**)
{
test<bool, 0>();
test<char, 0>();
@@ -54,4 +54,6 @@ int main()
test<float, FLT_MAX_10_EXP>();
test<double, DBL_MAX_10_EXP>();
test<long double, LDBL_MAX_10_EXP>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ test(T expected)
assert(std::numeric_limits<const volatile T>::is_bounded || !std::numeric_limits<const volatile T>::is_signed);
}
-int main()
+int main(int, char**)
{
test<bool>(false);
test<char>(CHAR_MIN);
@@ -61,4 +61,6 @@ int main()
test<float>(FLT_MIN);
test<double>(DBL_MIN);
test<long double>(LDBL_MIN);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::min_exponent == expected, "min_exponent test 4");
}
-int main()
+int main(int, char**)
{
test<bool, 0>();
test<char, 0>();
@@ -54,4 +54,6 @@ int main()
test<float, FLT_MIN_EXP>();
test<double, DBL_MIN_EXP>();
test<long double, LDBL_MIN_EXP>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::min_exponent10 == expected, "min_exponent10 test 4");
}
-int main()
+int main(int, char**)
{
test<bool, 0>();
test<char, 0>();
@@ -54,4 +54,6 @@ int main()
test<float, FLT_MIN_10_EXP>();
test<double, DBL_MIN_10_EXP>();
test<long double, LDBL_MIN_10_EXP>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ test()
test_imp<T>(std::is_floating_point<T>());
}
-int main()
+int main(int, char**)
{
test<bool>();
test<char>();
@@ -74,4 +74,6 @@ int main()
test<float>();
test<double>();
test<long double>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::radix == expected, "radix test 4");
}
-int main()
+int main(int, char**)
{
test<bool, 2>();
test<char, 2>();
@@ -54,4 +54,6 @@ int main()
test<float, FLT_RADIX>();
test<double, FLT_RADIX>();
test<long double, FLT_RADIX>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ test(T expected)
assert(std::numeric_limits<const volatile T>::round_error() == expected);
}
-int main()
+int main(int, char**)
{
test<bool>(false);
test<char>(0);
@@ -55,4 +55,6 @@ int main()
test<float>(0.5);
test<double>(0.5);
test<long double>(0.5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::round_style == expected, "round_style test 4");
}
-int main()
+int main(int, char**)
{
test<bool, std::round_toward_zero>();
test<char, std::round_toward_zero>();
@@ -53,4 +53,6 @@ int main()
test<float, std::round_to_nearest>();
test<double, std::round_to_nearest>();
test<long double, std::round_to_nearest>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ test()
test_imp<T>(std::is_floating_point<T>());
}
-int main()
+int main(int, char**)
{
test<bool>();
test<char>();
@@ -74,4 +74,6 @@ int main()
test<float>();
test<double>();
test<long double>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::tinyness_before == expected, "tinyness_before test 4");
}
-int main()
+int main(int, char**)
{
test<bool, false>();
test<char, false>();
@@ -53,4 +53,6 @@ int main()
test<float, false>();
test<double, false>();
test<long double, false>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ test()
static_assert(std::numeric_limits<const volatile T>::traps == expected, "traps test 4");
}
-int main()
+int main(int, char**)
{
test<bool, false>();
test<char, integral_types_trap>();
@@ -60,4 +60,6 @@ int main()
test<float, false>();
test<double, false>();
test<long double, false>();
+
+ return 0;
}
More information about the libcxx-commits
mailing list