[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/algorithms/alg.sorting/alg.sort/stable.sort/stable_sort_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/algorithms/alg.sorting/alg.sort/stable.sort/stable_sort_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/algorithms/alg.sorting/alg.sort/stable.sort/stable_sort_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/algorithms/alg.sorting/alg.sort/stable.sort/stable_sort_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
assert(std::is_sorted(v.begin(), v.end()));
}
-int main()
+int main(int, char**)
{
test();
@@ -82,4 +82,6 @@ int main()
assert(*v[2] == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/algorithms/alg.sorting/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/algorithms/alg.sorting/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/algorithms/alg.sorting/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/algorithms/alg.sorting/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/algorithms/algorithms.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/algorithms/algorithms.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/algorithms/algorithms.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/algorithms/algorithms.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/atomics/atomics.fences/atomic_signal_fence.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.fences/atomic_signal_fence.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.fences/atomic_signal_fence.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.fences/atomic_signal_fence.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,9 @@
#include <atomic>
-int main()
+int main(int, char**)
{
std::atomic_signal_fence(std::memory_order_seq_cst);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.fences/atomic_thread_fence.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.fences/atomic_thread_fence.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.fences/atomic_thread_fence.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.fences/atomic_thread_fence.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,7 +14,9 @@
#include <atomic>
-int main()
+int main(int, char**)
{
std::atomic_thread_fence(std::memory_order_seq_cst);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::atomic_flag f;
@@ -34,4 +34,6 @@ int main()
atomic_flag_clear(&f);
assert(f.test_and_set() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::atomic_flag f; // uninitialized first
@@ -62,4 +62,6 @@ int main()
atomic_flag_clear_explicit(&f, std::memory_order_seq_cst);
assert(f.test_and_set() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::atomic_flag f;
@@ -32,4 +32,6 @@ int main()
assert(atomic_flag_test_and_set(&f) == 0);
assert(f.test_and_set() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::atomic_flag f;
@@ -92,4 +92,6 @@ int main()
assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_seq_cst) == 0);
assert(f.test_and_set() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::atomic_flag f; // uninitialized
@@ -76,4 +76,6 @@ int main()
f.clear(std::memory_order_seq_cst);
assert(f.test_and_set() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/copy_assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/copy_assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/copy_assign.fail.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/copy_assign.fail.cpp Mon Feb 4 12:31:13 2019
@@ -15,9 +15,11 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
std::atomic_flag f0;
std::atomic_flag f;
f = f0;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/copy_ctor.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/copy_ctor.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/copy_ctor.fail.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/copy_ctor.fail.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
std::atomic_flag f0;
std::atomic_flag f(f0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/copy_volatile_assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/copy_volatile_assign.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/copy_volatile_assign.fail.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/copy_volatile_assign.fail.cpp Mon Feb 4 12:31:13 2019
@@ -15,9 +15,11 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
std::atomic_flag f0;
volatile std::atomic_flag f;
f = f0;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/default.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
std::atomic_flag f;
f.clear();
@@ -32,4 +32,6 @@ int main()
assert(!zero.test_and_set());
zero.~A();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/init.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,8 +18,10 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
std::atomic_flag f = ATOMIC_FLAG_INIT;
assert(f.test_and_set() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.flag/test_and_set.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.flag/test_and_set.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.flag/test_and_set.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.flag/test_and_set.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::atomic_flag f;
@@ -104,4 +104,6 @@ int main()
assert(f.test_and_set(std::memory_order_seq_cst) == 0);
assert(f.test_and_set(std::memory_order_seq_cst) == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.general/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.general/replace_failure_order.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.general/replace_failure_order.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.general/replace_failure_order.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.general/replace_failure_order.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include <atomic>
-int main() {
+int main(int, char**) {
std::atomic<int> i;
volatile std::atomic<int> v;
int exp = 0;
Modified: libcxx/trunk/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp Mon Feb 4 12:31:13 2019
@@ -134,4 +134,4 @@ void run()
static_assert(std::atomic<std::nullptr_t>::is_always_lock_free == (2 == ATOMIC_POINTER_LOCK_FREE));
}
-int main() { run(); }
+int main(int, char**) { run(); return 0; }
Modified: libcxx/trunk/test/std/atomics/atomics.lockfree/lockfree.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.lockfree/lockfree.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.lockfree/lockfree.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.lockfree/lockfree.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
assert(ATOMIC_BOOL_LOCK_FREE == 0 ||
ATOMIC_BOOL_LOCK_FREE == 1 ||
@@ -56,4 +56,6 @@ int main()
assert(ATOMIC_POINTER_LOCK_FREE == 0 ||
ATOMIC_POINTER_LOCK_FREE == 1 ||
ATOMIC_POINTER_LOCK_FREE == 2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.order/kill_dependency.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.order/kill_dependency.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.order/kill_dependency.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.order/kill_dependency.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,8 +15,10 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
assert(std::kill_dependency(5) == 5);
assert(std::kill_dependency(-5.5) == -5.5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.order/memory_order.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.order/memory_order.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.order/memory_order.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.order/memory_order.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <atomic>
#include <cassert>
-int main()
+int main(int, char**)
{
assert(std::memory_order_relaxed == 0);
assert(std::memory_order_consume == 1);
@@ -29,4 +29,6 @@ int main()
assert(std::memory_order_seq_cst == 5);
std::memory_order o = std::memory_order_seq_cst;
assert(o == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.syn/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.syn/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.syn/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.syn/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/atomics/atomics.types.generic/address.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.generic/address.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.generic/address.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.generic/address.pass.cpp Mon Feb 4 12:31:13 2019
@@ -136,7 +136,9 @@ void test()
do_test<volatile A, T>();
}
-int main()
+int main(int, char**)
{
test<std::atomic<int*>, int*>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.generic/bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.generic/bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.generic/bool.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.generic/bool.pass.cpp Mon Feb 4 12:31:13 2019
@@ -58,7 +58,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
volatile std::atomic<bool> obj(true);
@@ -232,4 +232,6 @@ int main()
assert(zero == false);
zero.~A();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,7 @@
#include <type_traits>
#include <cstdint>
-int main()
+int main(int, char**)
{
static_assert((std::is_same<std::atomic< std::int_least8_t>, std::atomic_int_least8_t>::value), "");
static_assert((std::is_same<std::atomic< std::uint_least8_t>, std::atomic_uint_least8_t>::value), "");
@@ -65,4 +65,6 @@ int main()
static_assert((std::is_same<std::atomic<std::ptrdiff_t>, std::atomic_ptrdiff_t>::value), "");
static_assert((std::is_same<std::atomic< std::intmax_t>, std::atomic_intmax_t>::value), "");
static_assert((std::is_same<std::atomic<std::uintmax_t>, std::atomic_uintmax_t>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.generic/integral.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.generic/integral.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.generic/integral.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.generic/integral.pass.cpp Mon Feb 4 12:31:13 2019
@@ -167,7 +167,7 @@ void test()
}
-int main()
+int main(int, char**)
{
test<std::atomic_char, char>();
test<std::atomic_schar, signed char>();
@@ -220,4 +220,6 @@ int main()
test<volatile std::atomic_uint32_t, uint32_t>();
test<volatile std::atomic_int64_t, int64_t>();
test<volatile std::atomic_uint64_t, uint64_t>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@
#include <atomic>
#include <type_traits>
-int main()
+int main(int, char**)
{
static_assert((std::is_same<std::atomic<char>, std::atomic_char>::value), "");
static_assert((std::is_same<std::atomic<signed char>, std::atomic_schar>::value), "");
@@ -71,4 +71,6 @@ int main()
static_assert((std::is_same<std::atomic<uint32_t>, std::atomic_uint32_t>::value), "");
static_assert((std::is_same<std::atomic<int64_t>, std::atomic_int64_t>::value), "");
static_assert((std::is_same<std::atomic<uint64_t>, std::atomic_uint64_t>::value), "");
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.generic/trivially_copyable.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.generic/trivially_copyable.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.generic/trivially_copyable.fail.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.generic/trivially_copyable.fail.cpp Mon Feb 4 12:31:13 2019
@@ -63,7 +63,9 @@ void test ( T t ) {
std::atomic<T> t0(t);
}
-int main()
+int main(int, char**)
{
test(NotTriviallyCopyable(42));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp Mon Feb 4 12:31:13 2019
@@ -68,9 +68,11 @@ void test ( T t ) {
std::atomic<T> t0(t);
}
-int main()
+int main(int, char**)
{
test(TriviallyCopyable(42));
test(std::this_thread::get_id());
test(std::chrono::nanoseconds(2));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.arith/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.arith/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.arith/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.arith/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/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.pointer/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.pointer/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.pointer/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.pointer/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/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp Mon Feb 4 12:31:13 2019
@@ -55,7 +55,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -62,7 +62,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp Mon Feb 4 12:31:13 2019
@@ -56,7 +56,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -64,7 +64,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,9 @@ struct TestFn {
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,9 @@ struct TestFn {
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp Mon Feb 4 12:31:13 2019
@@ -74,9 +74,11 @@ void testp()
}
}
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
testp<int*>();
testp<const int*>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -79,9 +79,11 @@ testp()
}
}
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
testp<int*>();
testp<const int*>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -46,7 +46,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -46,7 +46,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp Mon Feb 4 12:31:13 2019
@@ -74,9 +74,11 @@ void testp()
}
}
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
testp<int*>();
testp<const int*>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -79,9 +79,11 @@ void testp()
}
}
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
testp<int*>();
testp<const int*>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -46,7 +46,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachIntegralType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,8 +40,10 @@ struct A
char _[4];
};
-int main()
+int main(int, char**)
{
TestFn<A>()();
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,9 @@ struct TestFn {
}
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,9 @@ struct TestFn {
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,9 @@ struct TestFn {
};
-int main()
+int main(int, char**)
{
TestEachAtomicType<TestFn>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,8 +17,10 @@
#include <type_traits>
#include <cassert>
-int main()
+int main(int, char**)
{
std::atomic<int> v = ATOMIC_VAR_INIT(5);
assert(v == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -56,8 +56,10 @@ struct TestFunc {
};
-int main()
+int main(int, char**)
{
TestFunc<UserType>()();
TestEachIntegralType<TestFunc>()();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.templ/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.templ/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.templ/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.templ/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/atomics/atomics.types.operations/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/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/containers/associative/iterator_types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/iterator_types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/iterator_types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/iterator_types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -50,7 +50,7 @@ void testSet() {
}
}
-int main() {
+int main(int, char**) {
{
typedef std::map<int, int> Map;
typedef std::pair<const int, int> ValueTp;
@@ -127,4 +127,6 @@ int main() {
testSet<Set, ValueTp, min_pointer<const ValueTp>>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/PR28469_undefined_behavior_segfault.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/PR28469_undefined_behavior_segfault.sh.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/PR28469_undefined_behavior_segfault.sh.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/PR28469_undefined_behavior_segfault.sh.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,9 @@ struct F {
F() { m[42] = &dummy; }
};
-int main() {
+int main(int, char**) {
F f;
f = F();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <map>
-int main()
+int main(int, char**)
{
std::map<int, int, std::less<int>, std::allocator<long> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ struct Key {
bool operator< (const Key&) const { return false; }
};
-int main()
+int main(int, char**)
{
typedef std::map<Key, int> MapT;
typedef MapT::iterator Iter;
@@ -48,4 +48,6 @@ int main()
assert(!result2.second);
assert(map[Key(0)] == 42);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/gcc_workaround.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/gcc_workaround.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/gcc_workaround.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/gcc_workaround.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,4 @@ std::map<int,int>::iterator it;
using std::set;
using std::multiset;
-int main(void)
-{
- return 0;
-}
+int main(int, char**) { return 0; }
Modified: libcxx/trunk/test/std/containers/associative/map/incomplete_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/incomplete_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/incomplete_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/incomplete_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ struct A {
inline bool operator==(A const& L, A const& R) { return &L == &R; }
inline bool operator<(A const& L, A const& R) { return L.data < R.data; }
-int main() {
+int main(int, char**) {
A a;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.access/at.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/at.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/at.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/at.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -160,4 +160,6 @@ int main()
assert(m.size() == 7);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.access/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::map<int, int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.access/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double> M;
@@ -39,4 +39,6 @@ int main()
assert(m.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.access/index_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/index_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/index_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/index_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "container_test_types.h"
#endif
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -139,4 +139,6 @@ int main()
assert(m.size() == 8);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.access/index_rv_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/index_rv_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/index_rv_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/index_rv_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "min_allocator.h"
#include "container_test_types.h"
-int main()
+int main(int, char**)
{
{
std::map<MoveOnly, double> m;
@@ -76,4 +76,6 @@ int main()
}
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.access/index_tuple.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/index_tuple.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/index_tuple.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/index_tuple.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,9 +22,11 @@
#include <tuple>
-int main()
+int main(int, char**)
{
using namespace std;
map<tuple<int,int>, size_t> m;
m[make_tuple(2,3)]=7;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.access/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -225,4 +225,6 @@ int main()
assert (!(cii != ii1 ));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.access/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, int> KV;
{
@@ -47,4 +47,6 @@ int main()
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.access/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double> M;
@@ -55,4 +55,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::less<int> C;
@@ -46,4 +46,6 @@ int main()
assert(m.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/assign_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/assign_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/assign_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/assign_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -69,4 +69,6 @@ int main()
assert(*next(m.begin()) == V(2, 1));
assert(*next(m.begin(), 2) == V(3, 1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "../../../test_compare.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_compare<std::less<int> > C;
@@ -38,4 +38,6 @@ int main()
assert(m.key_comp() == C(3));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/compare_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/compare_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/compare_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/compare_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_compare<std::less<int> > C;
@@ -50,4 +50,6 @@ int main()
assert(m.get_allocator() == A{});
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/compare_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/compare_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/compare_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/compare_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::map<int, int, Comp<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -126,4 +126,6 @@ int main()
assert(*next(mo.begin(), 2) == V(3, 1));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -125,4 +125,6 @@ int main()
assert(*next(mo.begin(), 2) == V(3, 1));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -108,7 +108,7 @@ bool balanced_allocs() {
}
#endif
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -337,4 +337,6 @@ int main()
}
assert(balanced_allocs());
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::map<int, double> m;
@@ -50,4 +50,6 @@ int main()
assert(m.begin() == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> V;
#if defined(_LIBCPP_VERSION)
@@ -54,4 +54,6 @@ int main()
typedef std::map<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ struct X
std::map<int, X>::const_reverse_iterator cri;
};
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct some_comp
bool operator()(const T&, const T&) const noexcept { return false; }
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> V;
{
@@ -48,4 +48,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -61,4 +61,6 @@ int main()
assert(*next(m.begin()) == V(2, 1));
assert(*next(m.begin(), 2) == V(3, 1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list_compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list_compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list_compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list_compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "../../../test_compare.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -63,4 +63,6 @@ int main()
assert(*next(m.begin(), 2) == V(3, 1));
assert(m.key_comp() == C(3));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list_compare_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list_compare_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list_compare_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/initializer_list_compare_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -116,4 +116,6 @@ int main()
assert(m.key_comp() == C(3));
assert(m.get_allocator() == a);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -64,4 +64,6 @@ int main()
assert(*next(m.begin(), 2) == V(3, 1));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "../../../test_compare.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -69,4 +69,6 @@ int main()
assert(*next(m.begin(), 2) == V(3, 1));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -119,4 +119,6 @@ int main()
}
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -114,4 +114,6 @@ int main()
assert(mo.size() == 0);
assert(distance(mo.begin(), mo.end()) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "min_allocator.h"
#include "Counter.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<MoveOnly, MoveOnly> V;
@@ -268,4 +268,6 @@ int main()
assert(m3.key_comp() == C(5));
LIBCPP_ASSERT(m1.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<MoveOnly, MoveOnly> V;
@@ -184,4 +184,6 @@ int main()
assert(m3.key_comp() == C(5));
assert(m1.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> V;
{
@@ -54,4 +54,6 @@ int main()
typedef std::map<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
typedef std::pair<const MoveOnly, MoveOnly> V;
@@ -52,4 +52,6 @@ int main()
typedef std::map<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.erasure/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.erasure/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.erasure/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.erasure/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0<S>({1,2,3}, False, {1,2,3});
}
-int main()
+int main(int, char**)
{
test<std::map<int, int>>();
test<std::map<int, int, std::less<int>, min_allocator<std::pair<const int, int>>>> ();
@@ -74,5 +74,7 @@ int main()
test<std::map<long, short>>();
test<std::map<short, double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double> M;
@@ -62,4 +62,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, DefaultOnly> M;
@@ -159,4 +159,6 @@ int main()
assert(m.begin()->first == 2);
assert(m.begin()->second == 3.5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/emplace_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/emplace_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/emplace_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/emplace_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, DefaultOnly> M;
@@ -154,4 +154,6 @@ int main()
assert(m.begin()->first == 2);
assert(m.begin()->second == 3.5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ struct TemplateConstructor
bool operator<(const TemplateConstructor&, const TemplateConstructor&) { return false; }
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double> M;
@@ -255,4 +255,6 @@ int main()
c.erase(it);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double> M;
@@ -153,4 +153,6 @@ int main()
assert(i == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/erase_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double> M;
@@ -271,4 +271,6 @@ int main()
assert(s == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/extract_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/extract_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/extract_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/extract_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ void test(Container& c)
assert(c.size() == 0);
}
-int main()
+int main(int, char**)
{
{
using map_type = std::map<int, int>;
@@ -63,4 +63,6 @@ int main()
min_alloc_map m = {{1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}};
test(m);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/extract_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/extract_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/extract_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/extract_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ void test(Container& c, KeyTypeIter firs
}
}
-int main()
+int main(int, char**)
{
{
std::map<int, int> m = {{1,1}, {2,2}, {3,3}, {4,4}, {5,5}, {6,6}};
@@ -72,4 +72,6 @@ int main()
int keys[] = {1, 2, 3, 4, 5, 6};
test(m, std::begin(keys), std::end(keys));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,10 +21,12 @@
#include "container_test_types.h"
#include "../../../map_allocator_requirement_test_templates.h"
-int main()
+int main(int, char**)
{
testMapInsert<TCT::map<> >();
testMapInsertHint<TCT::map<> >();
testMapEmplace<TCT::map<> >();
testMapEmplaceHint<TCT::map<> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_cv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_cv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -59,7 +59,7 @@ void do_insert_cv_test()
assert(r.first->second == 3.5);
}
-int main()
+int main(int, char**)
{
do_insert_cv_test<std::map<int, double> >();
#if TEST_STD_VER >= 11
@@ -68,4 +68,6 @@ int main()
do_insert_cv_test<M>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -65,4 +65,6 @@ int main()
assert(*next(m.begin()) == V(2, 1));
assert(*next(m.begin(), 2) == V(3, 1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_cv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_cv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -55,7 +55,7 @@ void do_insert_iter_cv_test()
assert(r->second == 3.5);
}
-int main()
+int main(int, char**)
{
do_insert_iter_cv_test<std::map<int, double> >();
#if TEST_STD_VER >= 11
@@ -64,4 +64,6 @@ int main()
do_insert_iter_cv_test<M>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double> M;
@@ -73,4 +73,6 @@ int main()
assert(next(m.begin(), 2)->second == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_iter_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ void do_insert_iter_rv_test()
assert(r->first == 3);
assert(r->second == 3);
}
-int main()
+int main(int, char**)
{
do_insert_iter_rv_test<std::map<int, MoveOnly>, std::pair<int, MoveOnly>>();
do_insert_iter_rv_test<std::map<int, MoveOnly>, std::pair<const int, MoveOnly>>();
@@ -94,4 +94,6 @@ int main()
assert(r->second == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_node_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_node_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_node_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_node_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -75,10 +75,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::map<int, int> m;
test(m);
std::map<int, int, std::less<int>, min_allocator<std::pair<const int, int>>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_node_type_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_node_type_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_node_type_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_node_type_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,10 +54,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::map<int, int> m;
test(m);
std::map<int, int, std::less<int>, min_allocator<std::pair<const int, int>>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -56,7 +56,7 @@ public:
};
-int main()
+int main(int, char**)
{
{ // pair<iterator, bool> insert_or_assign(const key_type& k, M&& obj);
typedef std::map<int, Moveable> M;
@@ -181,4 +181,6 @@ int main()
assert(r->first.get() == 3); // key
assert(r->second.get() == 5); // value
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/insert_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -59,7 +59,7 @@ void do_insert_rv_test()
assert(r.first->second == 3);
}
-int main()
+int main(int, char**)
{
do_insert_rv_test<std::map<int, MoveOnly>, std::pair<int, MoveOnly>>();
do_insert_rv_test<std::map<int, MoveOnly>, std::pair<const int, MoveOnly>>();
@@ -103,4 +103,6 @@ int main()
assert(r.first->first == 3);
assert(r.first->second == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ struct throw_comparator
};
#endif
-int main()
+int main(int, char**)
{
{
std::map<int, int> src{{1, 0}, {3, 0}, {5, 0}};
@@ -146,4 +146,5 @@ int main()
first.merge(std::move(second));
}
}
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.modifiers/try.emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.modifiers/try.emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.modifiers/try.emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.modifiers/try.emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,7 +54,7 @@ public:
};
-int main()
+int main(int, char**)
{
{ // pair<iterator, bool> try_emplace(const key_type& k, Args&&... args);
typedef std::map<int, Moveable> M;
@@ -178,4 +178,6 @@ int main()
assert(r->first.get() == 3); // key
assert(r->second.get() == 4); // value
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "private_constructor.hpp"
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -190,4 +190,6 @@ int main()
assert(r == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less> M;
@@ -35,4 +35,6 @@ int main()
typedef std::map<int, double, transparent_less_not_referenceable> M;
assert(M().count(C2Int{5}) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count_transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count_transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count_transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count_transparent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,10 +40,12 @@ struct Comp {
}
};
-int main() {
+int main(int, char**) {
std::map<std::pair<int, int>, int, Comp> s{
{{2, 1}, 1}, {{1, 2}, 2}, {{1, 3}, 3}, {{1, 4}, 4}, {{2, 2}, 5}};
auto cnt = s.count(1);
assert(cnt == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "private_constructor.hpp"
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -487,4 +487,6 @@ int main()
assert(r.second == next(m.begin(), 8));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less> M;
@@ -41,4 +41,6 @@ int main()
P result = example.equal_range(C2Int{5});
assert(result.first == result.second);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range_transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range_transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range_transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range_transparent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ struct Comp {
}
};
-int main() {
+int main(int, char**) {
std::map<std::pair<int, int>, int, Comp> s{
{{2, 1}, 1}, {{1, 2}, 2}, {{1, 3}, 3}, {{1, 4}, 4}, {{2, 2}, 5}};
@@ -56,4 +56,6 @@ int main() {
}
assert(nels == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/find.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/find.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "private_constructor.hpp"
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -257,4 +257,6 @@ int main()
assert(r == next(m.begin(), 8));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/find0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/find0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/find0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/find0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less> M;
@@ -37,4 +37,6 @@ int main()
M example;
assert(example.find(C2Int{5}) == example.end());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/find1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/find1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/find1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/find1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/find2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/find2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/find2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/find2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/find3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/find3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/find3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/find3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "private_constructor.hpp"
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -369,4 +369,6 @@ int main()
assert(r == next(m.begin(), 8));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less> M;
@@ -37,4 +37,6 @@ int main()
M example;
assert(example.lower_bound(C2Int{5}) == example.end());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -332,4 +332,6 @@ int main()
assert(r == next(m.begin(), 8));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less> M;
@@ -37,4 +37,6 @@ int main()
M example;
assert(example.upper_bound(C2Int{5}) == example.end());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/map/map.special/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.special/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.special/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.special/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -172,4 +172,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.special/non_member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.special/non_member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.special/non_member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.special/non_member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "../../../test_compare.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -277,4 +277,6 @@ int main()
assert(m2.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/map.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -91,7 +91,7 @@ struct some_alloc3
typedef std::false_type is_always_equal;
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> V;
{
@@ -138,4 +138,6 @@ int main()
#endif // _LIBCPP_VERSION
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/map/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::map<int, double> C;
@@ -66,4 +66,6 @@ int main()
static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <map>
-int main()
+int main(int, char**)
{
std::multimap<int, int, std::less<int>, std::allocator<long> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::multimap<int, int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> M;
@@ -39,4 +39,6 @@ int main()
assert(m.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/incomplete_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/incomplete_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/incomplete_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/incomplete_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ struct A {
inline bool operator==(A const& L, A const& R) { return &L == &R; }
inline bool operator<(A const& L, A const& R) { return L.data < R.data; }
-int main() {
+int main(int, char**) {
A a;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -229,4 +229,6 @@ int main()
assert (!(cii != ii1 ));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, int> KV;
{
@@ -47,4 +47,6 @@ int main()
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::less<int> C;
@@ -46,4 +46,6 @@ int main()
assert(m.get_allocator() == A{});
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/assign_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/assign_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/assign_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/assign_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> C;
@@ -79,4 +79,6 @@ int main()
assert(*++i == V(3, 1.5));
assert(*++i == V(3, 2));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "../../../test_compare.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_compare<std::less<int> > C;
@@ -38,4 +38,6 @@ int main()
assert(m.key_comp() == C(3));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_compare<std::less<int> > C;
@@ -50,4 +50,6 @@ int main()
assert(m.get_allocator() == A{});
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/compare_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::multimap<int, int, Comp<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -99,4 +99,6 @@ int main()
assert(mo.key_comp() == C(5));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -98,4 +98,6 @@ int main()
assert(mo.key_comp() == C(5));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/copy_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -121,4 +121,6 @@ int main()
assert(mo.key_comp() == C(5));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::multimap<int, double> m;
@@ -50,4 +50,6 @@ int main()
assert(m.begin() == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> V;
#if defined(_LIBCPP_VERSION)
@@ -54,4 +54,6 @@ int main()
typedef std::multimap<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ struct X
std::multimap<int, X>::const_reverse_iterator cri;
};
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> V;
{
@@ -48,4 +48,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> C;
@@ -77,4 +77,6 @@ int main()
assert(*++i == V(3, 1.5));
assert(*++i == V(3, 2));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "../../../test_compare.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_compare<std::less<int> > Cmp;
@@ -85,4 +85,6 @@ int main()
assert(*++i == V(3, 2));
assert(m.key_comp() == Cmp(4));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_compare<std::less<int> > Cmp;
@@ -155,4 +155,6 @@ int main()
assert(m.key_comp() == Cmp(4));
assert(m.get_allocator() == A{});
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -109,4 +109,6 @@ int main()
}
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "../../../test_compare.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -82,4 +82,6 @@ int main()
assert(*next(m.begin(), 8) == V(3, 2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter_comp_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter_comp_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter_comp_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter_comp_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<const int, double> V;
@@ -118,4 +118,6 @@ int main()
assert(*next(m.begin(), 8) == V(3, 2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -126,4 +126,6 @@ int main()
assert(mo.size() == 0);
assert(distance(mo.begin(), mo.end()) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "min_allocator.h"
#include "Counter.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<MoveOnly, MoveOnly> V;
@@ -268,4 +268,6 @@ int main()
assert(m3.key_comp() == C(5));
LIBCPP_ASSERT(m1.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<MoveOnly, MoveOnly> V;
@@ -184,4 +184,6 @@ int main()
assert(m3.key_comp() == C(5));
assert(m1.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> V;
{
@@ -54,4 +54,6 @@ int main()
typedef std::multimap<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
typedef std::pair<const MoveOnly, MoveOnly> V;
@@ -52,4 +52,6 @@ int main()
typedef std::multimap<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.erasure/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.erasure/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.erasure/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.erasure/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -77,7 +77,7 @@ void test()
test0<S>({1,2,3}, False, {1,2,3});
}
-int main()
+int main(int, char**)
{
test<std::multimap<int, int>>();
test<std::multimap<int, int, std::less<int>, min_allocator<std::pair<const int, int>>>> ();
@@ -85,4 +85,6 @@ int main()
test<std::multimap<long, short>>();
test<std::multimap<short, double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> M;
@@ -62,4 +62,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, DefaultOnly> M;
@@ -144,4 +144,6 @@ int main()
assert(m.begin()->first == 2);
assert(m.begin()->second == 3.5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/emplace_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/emplace_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/emplace_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/emplace_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, DefaultOnly> M;
@@ -154,4 +154,6 @@ int main()
assert(m.begin()->first == 2);
assert(m.begin()->second == 3.5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ struct TemplateConstructor
bool operator<(const TemplateConstructor&, const TemplateConstructor&) { return false; }
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> M;
@@ -297,4 +297,6 @@ int main()
c.erase(it);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> M;
@@ -153,4 +153,6 @@ int main()
assert(i == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/erase_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> M;
@@ -149,4 +149,6 @@ int main()
assert(i == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/extract_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/extract_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/extract_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/extract_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ void test(Container& c)
assert(c.size() == 0);
}
-int main()
+int main(int, char**)
{
{
using map_type = std::multimap<int, int>;
@@ -63,4 +63,6 @@ int main()
min_alloc_map m = {{1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}};
test(m);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/extract_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/extract_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/extract_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/extract_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ void test(Container& c, KeyTypeIter firs
}
}
-int main()
+int main(int, char**)
{
{
std::multimap<int, int> m = {{1,1}, {2,2}, {3,3}, {4,4}, {5,5}, {6,6}};
@@ -72,4 +72,6 @@ int main()
int keys[] = {1, 2, 3, 4, 5, 6};
test(m, std::begin(keys), std::end(keys));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_allocator_requirements.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_allocator_requirements.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_allocator_requirements.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_allocator_requirements.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "../../../map_allocator_requirement_test_templates.h"
-int main()
+int main(int, char**)
{
testMultimapInsert<TCT::multimap<> >();
testMultimapInsertHint<TCT::multimap<> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_cv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_cv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ void do_insert_test() {
assert(r->second == 3.5);
}
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> Container;
@@ -65,4 +65,6 @@ int main()
do_insert_test<Container>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> C;
@@ -85,4 +85,6 @@ int main()
assert(*++i == V(3, 2));
assert(*++i == V(3, 1.5));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_cv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_cv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,7 +54,7 @@ void do_insert_hint_test()
assert(r->second == 4.5);
}
-int main()
+int main(int, char**)
{
do_insert_hint_test<std::multimap<int, double> >();
#if TEST_STD_VER >= 11
@@ -63,4 +63,6 @@ int main()
do_insert_hint_test<M>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> M;
@@ -97,4 +97,6 @@ int main()
assert(next(m.begin(), 8)->second == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_iter_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,7 +54,7 @@ void do_insert_rv_test()
assert(r->second == 2);
}
-int main()
+int main(int, char**)
{
do_insert_rv_test<std::multimap<int, MoveOnly>, std::pair<int, MoveOnly> >();
do_insert_rv_test<std::multimap<int, MoveOnly>, std::pair<const int, MoveOnly> >();
@@ -95,4 +95,6 @@ int main()
assert(r->first == 3);
assert(r->second == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_node_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_node_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_node_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_node_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -68,10 +68,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::multimap<int, int> m;
test(m);
std::multimap<int, int, std::less<int>, min_allocator<std::pair<const int, int>>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_node_type_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_node_type_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_node_type_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_node_type_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,10 +54,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::multimap<int, int> m;
test(m);
std::multimap<int, int, std::less<int>, min_allocator<std::pair<const int, int>>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/insert_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,7 +54,7 @@ void do_insert_rv_test()
assert(r->second == 3);
}
-int main()
+int main(int, char**)
{
do_insert_rv_test<std::multimap<int, MoveOnly>>();
{
@@ -89,4 +89,6 @@ int main()
assert(r->first == 3);
assert(r->second == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.modifiers/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ struct throw_comparator
};
#endif
-int main()
+int main(int, char**)
{
{
std::multimap<int, int> src{{1, 0}, {3, 0}, {5, 0}};
@@ -146,4 +146,5 @@ int main()
first.merge(std::move(second));
}
}
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "private_constructor.hpp"
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -172,4 +172,6 @@ int main()
assert(r == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less> M;
@@ -35,4 +35,6 @@ int main()
typedef std::multimap<int, double, transparent_less_not_referenceable> M;
assert(M().count(C2Int{5}) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
typedef std::multimap<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
typedef std::multimap<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
typedef std::multimap<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count_transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count_transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count_transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count_transparent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,10 +40,12 @@ struct Comp {
}
};
-int main() {
+int main(int, char**) {
std::multimap<std::pair<int, int>, int, Comp> s{
{{2, 1}, 1}, {{1, 1}, 2}, {{1, 1}, 3}, {{1, 1}, 4}, {{2, 2}, 5}};
auto cnt = s.count(1);
assert(cnt == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "private_constructor.hpp"
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -283,4 +283,6 @@ int main()
assert(r.second == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less> M;
@@ -41,4 +41,6 @@ int main()
P result = example.equal_range(C2Int{5});
assert(result.first == result.second);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
typedef std::multimap<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range_transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range_transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range_transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range_transparent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ struct Comp {
}
};
-int main() {
+int main(int, char**) {
std::multimap<std::pair<int, int>, int, Comp> s{
{{2, 1}, 1}, {{1, 1}, 2}, {{1, 1}, 3}, {{1, 1}, 4}, {{2, 2}, 5}};
@@ -56,4 +56,6 @@ int main() {
}
assert(nels == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "private_constructor.hpp"
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -219,4 +219,6 @@ int main()
assert(r == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less> M;
@@ -37,4 +37,6 @@ int main()
M example;
assert(example.find(C2Int{5}) == example.end());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "private_constructor.hpp"
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -233,4 +233,6 @@ int main()
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less> M;
@@ -37,4 +37,6 @@ int main()
M example;
assert(example.lower_bound(C2Int{5}) == example.end());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "private_constructor.hpp"
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -232,4 +232,6 @@ int main()
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "is_transparent.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less> M;
@@ -37,4 +37,6 @@ int main()
M example;
assert(example.upper_bound(C2Int{5}) == example.end());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound1.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound1.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_no_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound2.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound2.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_private> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound3.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound3.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#error "This test requires is C++14 (or later)"
#else
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double, transparent_less_not_a_type> M;
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.special/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.special/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.special/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.special/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -172,4 +172,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.special/non_member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.special/non_member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.special/non_member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.special/non_member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "../../../test_compare.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, double> V;
{
@@ -277,4 +277,6 @@ int main()
assert(m2.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -91,7 +91,7 @@ struct some_alloc3
typedef std::false_type is_always_equal;
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> V;
{
@@ -137,4 +137,6 @@ int main()
}
#endif // _LIBCPP_VERSION
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/scary.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/scary.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/scary.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/scary.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,11 +14,13 @@
#include <map>
-int main()
+int main(int, char**)
{
typedef std::map<int, int> M1;
typedef std::multimap<int, int> M2;
M2::iterator i;
M1::iterator j = i;
((void)j);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> M;
@@ -55,4 +55,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multimap/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multimap<int, double> C;
@@ -66,4 +66,6 @@ int main()
static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <set>
-int main()
+int main(int, char**)
{
std::multiset<int, std::less<int>, std::allocator<long> > ms;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> M;
@@ -62,4 +62,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -157,4 +157,6 @@ int main()
assert(r == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/count_transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/count_transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/count_transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/count_transparent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,9 +42,11 @@ struct Comp {
}
};
-int main() {
+int main(int, char**) {
std::multiset<std::pair<int, int>, Comp> s{{2, 1}, {1, 1}, {1, 1}, {1, 1}, {2, 2}};
auto cnt = s.count(1);
assert(cnt == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<DefaultOnly> M;
@@ -77,4 +77,6 @@ int main()
assert(m.size() == 1);
assert(*r == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/emplace_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/emplace_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/emplace_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/emplace_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<DefaultOnly> M;
@@ -77,4 +77,6 @@ int main()
assert(m.size() == 1);
assert(*r == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::multiset<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> M;
@@ -39,4 +39,6 @@ int main()
assert(m.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/equal_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/equal_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/equal_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/equal_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -260,4 +260,6 @@ int main()
assert(r.second == next(m.begin(), 9));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/equal_range_transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/equal_range_transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/equal_range_transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/equal_range_transparent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct Comp {
}
};
-int main() {
+int main(int, char**) {
std::multiset<std::pair<int, int>, Comp> s{{2, 1}, {1, 1}, {1, 1}, {1, 1}, {2, 2}};
auto er = s.equal_range(1);
@@ -56,4 +56,6 @@ int main() {
}
assert(nels == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/erase_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/erase_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/erase_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/erase_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ struct TemplateConstructor
bool operator<(const TemplateConstructor&, const TemplateConstructor&) { return false; }
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> M;
@@ -199,4 +199,6 @@ int main()
c.erase(it);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/erase_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/erase_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/erase_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/erase_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> M;
@@ -137,4 +137,6 @@ int main()
assert(i == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/erase_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/erase_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/erase_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/erase_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> M;
@@ -125,4 +125,6 @@ int main()
assert(i == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/extract_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/extract_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/extract_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/extract_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ void test(Container& c)
assert(c.size() == 0);
}
-int main()
+int main(int, char**)
{
{
using set_type = std::multiset<int>;
@@ -56,4 +56,6 @@ int main()
min_alloc_set m = {1, 2, 3, 4, 5, 6};
test(m);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/extract_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/extract_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/extract_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/extract_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ void test(Container& c, KeyTypeIter firs
}
}
-int main()
+int main(int, char**)
{
{
std::multiset<int> m = {1, 2, 3, 4, 5, 6};
@@ -67,4 +67,6 @@ int main()
int keys[] = {1, 2, 3, 4, 5, 6};
test(m, std::begin(keys), std::end(keys));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/find.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/find.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -237,4 +237,6 @@ int main()
assert(r == next(m.begin(), 8));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/incomplete_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/incomplete_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/incomplete_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/incomplete_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ struct A {
inline bool operator==(A const& L, A const& R) { return &L == &R; }
inline bool operator<(A const& L, A const& R) { return L.data < R.data; }
-int main() {
+int main(int, char**) {
A a;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/insert_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/insert_cv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/insert_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/insert_cv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,7 +48,7 @@ void do_insert_cv_test()
assert(*r == 3);
}
-int main()
+int main(int, char**)
{
do_insert_cv_test<std::multiset<int> >();
#if TEST_STD_VER >= 11
@@ -57,4 +57,6 @@ int main()
do_insert_cv_test<M>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/insert_emplace_allocator_requirements.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/insert_emplace_allocator_requirements.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/insert_emplace_allocator_requirements.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/insert_emplace_allocator_requirements.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,8 +19,10 @@
#include "container_test_types.h"
#include "../../set_allocator_requirement_test_templates.h"
-int main()
+int main(int, char**)
{
testMultisetInsert<TCT::multiset<> >();
testMultisetEmplace<TCT::multiset<> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/insert_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/insert_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/insert_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/insert_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> C;
@@ -56,4 +56,6 @@ int main()
assert(*++i == V(8));
assert(*++i == V(10));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/insert_iter_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/insert_iter_cv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/insert_iter_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/insert_iter_cv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> M;
@@ -69,4 +69,6 @@ int main()
assert(*r == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/insert_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/insert_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/insert_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/insert_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> M;
@@ -81,4 +81,6 @@ int main()
assert(*next(m.begin(), 8) == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/insert_iter_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/insert_iter_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/insert_iter_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/insert_iter_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<MoveOnly> M;
@@ -70,4 +70,6 @@ int main()
assert(m.size() == 4);
assert(*r == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/insert_node_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/insert_node_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/insert_node_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/insert_node_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -67,10 +67,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::multiset<int> m;
test(m);
std::multiset<int, std::less<int>, min_allocator<int>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/insert_node_type_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/insert_node_type_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/insert_node_type_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/insert_node_type_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,10 +49,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::multiset<int> m;
test(m);
std::multiset<int, std::less<int>, min_allocator<int>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/insert_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/insert_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/insert_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/insert_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<MoveOnly> M;
@@ -70,4 +70,6 @@ int main()
assert(m.size() == 4);
assert(*r == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -213,4 +213,6 @@ int main()
assert (!(cii != ii1 ));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/lower_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/lower_bound.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/lower_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/lower_bound.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -220,4 +220,6 @@ int main()
assert(r == next(m.begin(), 9));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef limited_allocator<int, 10> A;
@@ -46,4 +46,6 @@ int main()
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ struct throw_comparator
};
#endif
-int main()
+int main(int, char**)
{
{
std::multiset<int> src{1, 3, 5};
@@ -145,4 +145,5 @@ int main()
first.merge(std::move(second));
}
}
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
typedef std::less<int> C;
typedef test_allocator<int> A;
@@ -25,4 +25,6 @@ int main()
assert(m.empty());
assert(m.begin() == m.end());
assert(m.get_allocator() == A(5));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/assign_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/assign_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/assign_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/assign_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> C;
@@ -51,4 +51,6 @@ int main()
assert(*++i == V(5));
assert(*++i == V(6));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "../../../test_compare.h"
-int main()
+int main(int, char**)
{
typedef test_compare<std::less<int> > C;
const std::multiset<int, C> m(C(3));
@@ -29,4 +29,6 @@ int main()
assert(m.begin() == m.end());
assert(m.key_comp() == C(3));
assert(m.value_comp() == C(3));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
typedef test_compare<std::less<int> > C;
typedef test_allocator<int> A;
@@ -27,4 +27,6 @@ int main()
assert(m.begin() == m.end());
assert(m.key_comp() == C(4));
assert(m.get_allocator() == A(5));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/compare_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::multiset<int, Comp<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -115,4 +115,6 @@ int main()
assert(*next(mo.begin(), 8) == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
typedef int V;
V ar[] =
@@ -64,4 +64,6 @@ int main()
assert(*next(mo.begin(), 6) == 3);
assert(*next(mo.begin(), 7) == 3);
assert(*next(mo.begin(), 8) == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -134,4 +134,6 @@ int main()
assert(*next(mo.begin(), 7) == 3);
assert(*next(mo.begin(), 8) == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::multiset<int> m;
@@ -50,4 +50,6 @@ int main()
assert(m.begin() == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -53,4 +53,6 @@ int main()
typedef std::multiset<MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
{
typedef std::multiset<MoveOnly> C;
@@ -47,4 +47,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> C;
@@ -66,4 +66,6 @@ int main()
assert(*++i == V(6));
assert(m.get_allocator() == a);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <cassert>
#include "../../../test_compare.h"
-int main()
+int main(int, char**)
{
typedef test_compare<std::less<int> > Cmp;
typedef std::multiset<int, Cmp> C;
@@ -34,4 +34,6 @@ int main()
assert(*++i == V(5));
assert(*++i == V(6));
assert(m.key_comp() == Cmp(10));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
typedef test_compare<std::less<int> > Cmp;
typedef test_allocator<int> A;
@@ -37,4 +37,6 @@ int main()
assert(*++i == V(6));
assert(m.key_comp() == Cmp(10));
assert(m.get_allocator() == A(4));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -79,4 +79,6 @@ int main()
assert(*next(m.begin(), 8) == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -91,4 +91,6 @@ int main()
assert(m.get_allocator() == a);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_iterators.h"
#include "../../../test_compare.h"
-int main()
+int main(int, char**)
{
typedef int V;
V ar[] =
@@ -49,4 +49,6 @@ int main()
assert(*next(m.begin(), 6) == 3);
assert(*next(m.begin(), 7) == 3);
assert(*next(m.begin(), 8) == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -113,4 +113,6 @@ int main()
assert(mo.size() == 0);
assert(distance(mo.begin(), mo.end()) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "test_allocator.h"
#include "Counter.h"
-int main()
+int main(int, char**)
{
{
typedef MoveOnly V;
@@ -184,4 +184,6 @@ int main()
}
assert(Counter_base::gConstructed == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef MoveOnly V;
@@ -180,4 +180,6 @@ int main()
assert(m3.key_comp() == C(5));
assert(m1.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
{
typedef std::multiset<MoveOnly> C;
@@ -53,4 +53,6 @@ int main()
typedef std::multiset<MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -51,4 +51,6 @@ int main()
typedef std::multiset<MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.erasure/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.erasure/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.erasure/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.erasure/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0(S({1,2,3}), False, S({1,2,3}));
}
-int main()
+int main(int, char**)
{
test<std::multiset<int>>();
test<std::multiset<int, std::less<int>, min_allocator<int>>> ();
@@ -74,4 +74,6 @@ int main()
test<std::multiset<long>>();
test<std::multiset<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.special/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.special/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.special/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.special/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -173,4 +173,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.special/non_member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.special/non_member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.special/non_member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.special/non_member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "test_allocator.h"
#include "../../../test_compare.h"
-int main()
+int main(int, char**)
{
typedef int V;
{
@@ -163,4 +163,6 @@ int main()
assert(m2.key_comp() == C(1));
assert(m2.get_allocator() == A(1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -91,7 +91,7 @@ struct some_alloc3
typedef std::false_type is_always_equal;
};
-int main()
+int main(int, char**)
{
{
typedef std::multiset<MoveOnly> C;
@@ -136,4 +136,6 @@ int main()
}
#endif // _LIBCPP_VERSION
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/scary.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/scary.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/scary.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/scary.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,11 +14,13 @@
#include <set>
-int main()
+int main(int, char**)
{
typedef std::set<int> M1;
typedef std::multiset<int> M2;
M2::iterator i;
M1::iterator j = i;
((void)j);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> M;
@@ -55,4 +55,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::multiset<int> C;
@@ -66,4 +66,6 @@ int main()
static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/multiset/upper_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/upper_bound.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/upper_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/upper_bound.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -219,4 +219,6 @@ int main()
assert(r == next(m.begin(), 9));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <set>
-int main()
+int main(int, char**)
{
std::set<int, std::less<int>, std::allocator<long> > s;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> M;
@@ -62,4 +62,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -167,4 +167,6 @@ int main()
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/count_transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/count_transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/count_transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/count_transparent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,9 +42,11 @@ struct Comp {
}
};
-int main() {
+int main(int, char**) {
std::set<std::pair<int, int>, Comp> s{{2, 1}, {1, 2}, {1, 3}, {1, 4}, {2, 2}};
auto cnt = s.count(1);
assert(cnt == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<DefaultOnly> M;
@@ -84,4 +84,6 @@ int main()
assert(m.size() == 1);
assert(*r.first == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/emplace_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/emplace_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/emplace_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/emplace_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<DefaultOnly> M;
@@ -77,4 +77,6 @@ int main()
assert(m.size() == 1);
assert(*r == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::set<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> M;
@@ -39,4 +39,6 @@ int main()
assert(m.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/equal_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/equal_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/equal_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/equal_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -367,4 +367,6 @@ int main()
assert(r.second == next(m.begin(), 8));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/equal_range_transparent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/equal_range_transparent.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/equal_range_transparent.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/equal_range_transparent.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct Comp {
}
};
-int main() {
+int main(int, char**) {
std::set<std::pair<int, int>, Comp> s{{2, 1}, {1, 2}, {1, 3}, {1, 4}, {2, 2}};
auto er = s.equal_range(1);
@@ -56,4 +56,6 @@ int main() {
}
assert(nels == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/erase_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/erase_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/erase_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/erase_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ struct TemplateConstructor
bool operator<(const TemplateConstructor&, const TemplateConstructor&) { return false; }
-int main()
+int main(int, char**)
{
{
typedef std::set<int> M;
@@ -199,4 +199,6 @@ int main()
c.erase(it);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/erase_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/erase_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/erase_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/erase_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> M;
@@ -137,4 +137,6 @@ int main()
assert(i == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/erase_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/erase_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/erase_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/erase_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> M;
@@ -199,4 +199,6 @@ int main()
assert(i == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/extract_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/extract_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/extract_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/extract_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ void test(Container& c)
assert(c.size() == 0);
}
-int main()
+int main(int, char**)
{
{
using set_type = std::set<int>;
@@ -56,4 +56,6 @@ int main()
min_alloc_set m = {1, 2, 3, 4, 5, 6};
test(m);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/extract_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/extract_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/extract_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/extract_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ void test(Container& c, KeyTypeIter firs
}
}
-int main()
+int main(int, char**)
{
{
std::set<int> m = {1, 2, 3, 4, 5, 6};
@@ -67,4 +67,6 @@ int main()
int keys[] = {1, 2, 3, 4, 5, 6};
test(m, std::begin(keys), std::end(keys));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/find.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/find.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -237,4 +237,6 @@ int main()
assert(r == next(m.begin(), 8));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/gcc_workaround.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/gcc_workaround.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/gcc_workaround.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/gcc_workaround.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,4 @@ std::set<int> s;
using std::map;
using std::multimap;
-int main(void)
-{
- return 0;
-}
+int main(int, char**) { return 0; }
Modified: libcxx/trunk/test/std/containers/associative/set/incomplete_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/incomplete_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/incomplete_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/incomplete_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ struct A {
inline bool operator==(A const& L, A const& R) { return &L == &R; }
inline bool operator<(A const& L, A const& R) { return L.data < R.data; }
-int main() {
+int main(int, char**) {
A a;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/insert_and_emplace_allocator_requirements.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/insert_and_emplace_allocator_requirements.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/insert_and_emplace_allocator_requirements.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/insert_and_emplace_allocator_requirements.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,9 +20,11 @@
#include "container_test_types.h"
#include "../../set_allocator_requirement_test_templates.h"
-int main()
+int main(int, char**)
{
testSetInsert<TCT::set<> >();
testSetEmplace<TCT::set<> >();
testSetEmplaceHint<TCT::set<> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/insert_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/insert_cv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/insert_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/insert_cv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ void do_insert_cv_test()
assert(*r.first == 3);
}
-int main()
+int main(int, char**)
{
do_insert_cv_test<std::set<int> >();
#if TEST_STD_VER >= 11
@@ -62,4 +62,6 @@ int main()
do_insert_cv_test<M>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/insert_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/insert_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/insert_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/insert_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> C;
@@ -56,4 +56,6 @@ int main()
assert(*++i == V(8));
assert(*++i == V(10));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/insert_iter_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/insert_iter_cv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/insert_iter_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/insert_iter_cv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> M;
@@ -69,4 +69,6 @@ int main()
assert(*r == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/insert_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/insert_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/insert_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/insert_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> M;
@@ -69,4 +69,6 @@ int main()
assert(*next(m.begin(), 2) == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/insert_iter_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/insert_iter_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/insert_iter_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/insert_iter_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<MoveOnly> M;
@@ -70,4 +70,6 @@ int main()
assert(m.size() == 3);
assert(*r == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/insert_node_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/insert_node_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/insert_node_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/insert_node_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -73,10 +73,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::set<int> m;
test(m);
std::set<int, std::less<int>, min_allocator<int>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/insert_node_type_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/insert_node_type_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/insert_node_type_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/insert_node_type_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,10 +51,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::set<int> m;
test(m);
std::set<int, std::less<int>, min_allocator<int>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/insert_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/insert_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/insert_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/insert_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<MoveOnly> M;
@@ -78,4 +78,6 @@ int main()
assert(m.size() == 3);
assert(*r.first == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -209,4 +209,6 @@ int main()
assert (!(cii != ii1 ));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/lower_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/lower_bound.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/lower_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/lower_bound.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -334,4 +334,6 @@ int main()
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef limited_allocator<int, 10> A;
@@ -46,4 +46,6 @@ int main()
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ struct throw_comparator
};
#endif
-int main()
+int main(int, char**)
{
{
std::set<int> src{1, 3, 5};
@@ -145,4 +145,5 @@ int main()
first.merge(std::move(second));
}
}
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
typedef std::less<int> C;
typedef test_allocator<int> A;
@@ -25,4 +25,6 @@ int main()
assert(m.empty());
assert(m.begin() == m.end());
assert(m.get_allocator() == A(5));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/assign_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/assign_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/assign_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/assign_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> C;
@@ -51,4 +51,6 @@ int main()
assert(*++i == V(5));
assert(*++i == V(6));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "../../../test_compare.h"
-int main()
+int main(int, char**)
{
typedef test_compare<std::less<int> > C;
const std::set<int, C> m(C(3));
@@ -29,4 +29,6 @@ int main()
assert(m.begin() == m.end());
assert(m.key_comp() == C(3));
assert(m.value_comp() == C(3));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/compare_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/compare_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/compare_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/compare_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
typedef test_compare<std::less<int> > C;
typedef test_allocator<int> A;
@@ -27,4 +27,6 @@ int main()
assert(m.begin() == m.end());
assert(m.key_comp() == C(4));
assert(m.get_allocator() == A(5));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/compare_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/compare_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/compare_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/compare_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::set<int, Comp<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -91,4 +91,6 @@ int main()
assert(*next(mo.begin(), 2) == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
typedef int V;
V ar[] =
@@ -52,4 +52,6 @@ int main()
assert(*mo.begin() == 1);
assert(*next(mo.begin()) == 2);
assert(*next(mo.begin(), 2) == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -105,4 +105,6 @@ int main()
assert(*next(mo.begin()) == 2);
assert(*next(mo.begin(), 2) == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::set<int> m;
@@ -50,4 +50,6 @@ int main()
assert(m.begin() == m.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -53,4 +53,6 @@ int main()
typedef std::set<MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
{
typedef std::set<MoveOnly> C;
@@ -47,4 +47,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> C;
@@ -49,4 +49,6 @@ int main()
assert(*++i == V(5));
assert(*++i == V(6));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <cassert>
#include "../../../test_compare.h"
-int main()
+int main(int, char**)
{
typedef test_compare<std::less<int> > Cmp;
typedef std::set<int, Cmp> C;
@@ -34,4 +34,6 @@ int main()
assert(*++i == V(5));
assert(*++i == V(6));
assert(m.key_comp() == Cmp(10));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_compare<std::less<int> > Cmp;
@@ -58,4 +58,6 @@ int main()
assert(*++i == V(6));
assert(m.get_allocator() == A(4));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -67,4 +67,6 @@ int main()
assert(*next(m.begin(), 2) == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#include "../../../test_compare.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -83,4 +83,6 @@ int main()
assert(m.get_allocator() == a);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_iterators.h"
#include "../../../test_compare.h"
-int main()
+int main(int, char**)
{
typedef int V;
V ar[] =
@@ -43,4 +43,6 @@ int main()
assert(*m.begin() == 1);
assert(*next(m.begin()) == 2);
assert(*next(m.begin(), 2) == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -101,4 +101,6 @@ int main()
assert(mo.size() == 0);
assert(distance(mo.begin(), mo.end()) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "test_allocator.h"
#include "Counter.h"
-int main()
+int main(int, char**)
{
{
typedef MoveOnly V;
@@ -185,4 +185,6 @@ int main()
assert(Counter_base::gConstructed == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef MoveOnly V;
@@ -180,4 +180,6 @@ int main()
assert(m3.key_comp() == C(5));
assert(m1.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
{
typedef std::set<MoveOnly> C;
@@ -53,4 +53,6 @@ int main()
typedef std::set<MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ struct some_comp
bool operator()(const T&, const T&) const { return false; }
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -51,4 +51,6 @@ int main()
typedef std::set<MoveOnly, some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.erasure/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.erasure/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.erasure/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.erasure/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -55,7 +55,7 @@ void test()
test0(S({1,2,3}), False, S({1,2,3}));
}
-int main()
+int main(int, char**)
{
test<std::set<int>>();
test<std::set<int, std::less<int>, min_allocator<int>>> ();
@@ -63,4 +63,6 @@ int main()
test<std::set<long>>();
test<std::set<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.special/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.special/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.special/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.special/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -173,4 +173,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.special/non_member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.special/non_member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.special/non_member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.special/non_member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "test_allocator.h"
#include "../../../test_compare.h"
-int main()
+int main(int, char**)
{
typedef int V;
{
@@ -163,4 +163,6 @@ int main()
assert(m2.key_comp() == C(1));
assert(m2.get_allocator() == A(1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/set.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -91,7 +91,7 @@ struct some_alloc3
typedef std::false_type is_always_equal;
};
-int main()
+int main(int, char**)
{
{
typedef std::set<MoveOnly> C;
@@ -137,4 +137,6 @@ int main()
#endif // _LIBCPP_VERSION
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> M;
@@ -55,4 +55,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::set<int> C;
@@ -66,4 +66,6 @@ int main()
static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/associative/set/upper_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/upper_bound.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/upper_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/upper_bound.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "private_constructor.hpp"
-int main()
+int main(int, char**)
{
{
typedef int V;
@@ -333,4 +333,6 @@ int main()
assert(r == next(m.begin(), 8));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.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/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,9 +40,11 @@ struct test
using base::c;
};
-int main()
+int main(int, char**)
{
test<int> q((test_allocator<int>(3)));
assert(q.c.get_allocator() == test_allocator<int>(3));
assert(q.c.size() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,9 +40,11 @@ struct test
using base::c;
};
-int main()
+int main(int, char**)
{
test<int> q(std::less<int>(), test_allocator<int>(3));
assert(q.c.get_allocator() == test_allocator<int>(3));
assert(q.c.size() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_cont_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_cont_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_cont_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_cont_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,7 +51,7 @@ struct test
using base::c;
};
-int main()
+int main(int, char**)
{
typedef std::vector<int, test_allocator<int> > C;
C v = make<C>(5);
@@ -59,4 +59,6 @@ int main()
assert(q.c.get_allocator() == test_allocator<int>(3));
assert(q.size() == 5);
assert(q.top() == 4);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_rcont_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_rcont_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_rcont_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_rcont_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,11 +51,13 @@ struct test
using base::c;
};
-int main()
+int main(int, char**)
{
typedef std::vector<int, test_allocator<int> > C;
test<int> q(std::less<int>(), make<C>(5), test_allocator<int>(3));
assert(q.c.get_allocator() == test_allocator<int>(3));
assert(q.size() == 5);
assert(q.top() == 4);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ struct test
using base::c;
};
-int main()
+int main(int, char**)
{
test<int> qo(std::less<int>(),
make<std::vector<int, test_allocator<int> > >(5),
@@ -54,4 +54,6 @@ int main()
assert(q.size() == 5);
assert(q.c.get_allocator() == test_allocator<int>(6));
assert(q.top() == int(4));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ struct test
};
-int main()
+int main(int, char**)
{
test<MoveOnly> qo(std::less<MoveOnly>(),
make<std::vector<MoveOnly, test_allocator<MoveOnly> > >(5),
@@ -62,4 +62,6 @@ int main()
assert(q.size() == 5);
assert(q.c.get_allocator() == test_allocator<MoveOnly>(6));
assert(q.top() == MoveOnly(4));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::vector<int> v = make<std::vector<int> >(5);
std::priority_queue<int, std::vector<int>, std::greater<int> > qo(std::greater<int>(), v);
@@ -32,4 +32,6 @@ int main()
q = qo;
assert(q.size() == 5);
assert(q.top() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,11 +29,13 @@ make(int n)
}
-int main()
+int main(int, char**)
{
std::priority_queue<MoveOnly> qo(std::less<MoveOnly>(), make<std::vector<MoveOnly> >(5));
std::priority_queue<MoveOnly> q;
q = std::move(qo);
assert(q.size() == 5);
assert(q.top() == MoveOnly(4));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
std::priority_queue<int, std::vector<int, limited_allocator<int, 10> > > q((std::less<int>()));
assert(q.size() == 0);
@@ -23,4 +23,6 @@ int main()
q.push(2);
assert(q.size() == 2);
assert(q.top() == 2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_container.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_container.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_container.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_container.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,10 +24,12 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::vector<int> v = make<std::vector<int> >(5);
std::priority_queue<int, std::vector<int>, std::greater<int> > q(std::greater<int>(), v);
assert(q.size() == 5);
assert(q.top() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_rcontainer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_rcontainer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_rcontainer.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_rcontainer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,9 +29,11 @@ make(int n)
}
-int main()
+int main(int, char**)
{
std::priority_queue<MoveOnly> q(std::less<MoveOnly>(), make<std::vector<MoveOnly> >(5));
assert(q.size() == 5);
assert(q.top() == MoveOnly(4));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,11 +24,13 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::vector<int> v = make<std::vector<int> >(5);
std::priority_queue<int, std::vector<int>, std::greater<int> > qo(std::greater<int>(), v);
std::priority_queue<int, std::vector<int>, std::greater<int> > q = qo;
assert(q.size() == 5);
assert(q.top() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
std::priority_queue<int, std::vector<int, limited_allocator<int, 10> > > q;
assert(q.size() == 0);
@@ -23,4 +23,6 @@ int main()
q.push(2);
assert(q.size() == 2);
assert(q.top() == 2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,11 +15,13 @@
#include <cassert>
#include <cstddef>
-int main()
+int main(int, char**)
{
int a[] = {3, 5, 2, 0, 6, 8, 1};
int* an = a + sizeof(a)/sizeof(a[0]);
std::priority_queue<int> q(a, an);
assert(q.size() == static_cast<std::size_t>(an - a));
assert(q.top() == 8);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <functional>
#include <cstddef>
-int main()
+int main(int, char**)
{
int a[] = {3, 5, 2, 0, 6, 8, 1};
int* an = a + sizeof(a)/sizeof(a[0]);
@@ -24,4 +24,6 @@ int main()
q(a, an, std::greater<int>());
assert(q.size() == static_cast<std::size_t>(an - a));
assert(q.top() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp_cont.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp_cont.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp_cont.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp_cont.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
int a[] = {3, 5, 2, 0, 6, 8, 1};
const int n = sizeof(a)/sizeof(a[0]);
@@ -23,4 +23,6 @@ int main()
std::priority_queue<int> q(a+n/2, a+n, std::less<int>(), v);
assert(q.size() == n);
assert(q.top() == 8);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp_rcont.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp_rcont.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp_rcont.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp_rcont.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
int a[] = {3, 5, 2, 0, 6, 8, 1};
const int n = sizeof(a)/sizeof(a[0]);
@@ -28,4 +28,6 @@ int main()
std::vector<MoveOnly>(a, a+n/2));
assert(q.size() == n);
assert(q.top() == MoveOnly(8));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,10 +29,12 @@ make(int n)
}
-int main()
+int main(int, char**)
{
std::priority_queue<MoveOnly> qo(std::less<MoveOnly>(), make<std::vector<MoveOnly> >(5));
std::priority_queue<MoveOnly> q = std::move(qo);
assert(q.size() == 5);
assert(q.top() == MoveOnly(4));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.fail.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cstddef>
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
{
@@ -54,4 +54,6 @@ int main()
// stack<allocator<int>, allocator<allocator<int>>>
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -119,4 +119,6 @@ int main()
assert(pri.size() == 4);
assert(pri.top() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "test_macros.h"
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -31,4 +31,6 @@ int main()
static_assert(std::is_nothrow_default_constructible<C>::value, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,10 +17,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::priority_queue<MoveOnly> C;
static_assert(std::is_nothrow_destructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,10 +21,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::priority_queue<MoveOnly> C;
static_assert(std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,10 +21,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::priority_queue<MoveOnly> C;
static_assert(std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "../../../Emplaceable.h"
-int main()
+int main(int, char**)
{
std::priority_queue<Emplaceable> q;
q.emplace(1, 2.5);
@@ -28,4 +28,6 @@ int main()
assert(q.top() == Emplaceable(3, 4.5));
q.emplace(2, 3.5);
assert(q.top() == Emplaceable(3, 4.5));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::priority_queue<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::priority_queue<int> q;
assert(q.empty());
@@ -23,4 +23,6 @@ int main()
assert(!q.empty());
q.pop();
assert(q.empty());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/pop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/pop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/pop.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/pop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::priority_queue<int> q;
q.push(1);
@@ -30,4 +30,6 @@ int main()
assert(q.top() == 1);
q.pop();
assert(q.empty());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/push.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/push.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/push.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/push.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::priority_queue<int> q;
q.push(1);
@@ -24,4 +24,6 @@ int main()
assert(q.top() == 3);
q.push(2);
assert(q.top() == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/push_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/push_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/push_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/push_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
std::priority_queue<MoveOnly> q;
q.push(1);
@@ -28,4 +28,6 @@ int main()
assert(q.top() == 3);
q.push(2);
assert(q.top() == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::priority_queue<int> q;
assert(q.size() == 0);
@@ -23,4 +23,6 @@ int main()
assert(q.size() == 1);
q.pop();
assert(q.size() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::priority_queue<int> q1;
std::priority_queue<int> q2;
@@ -26,4 +26,6 @@ int main()
assert(q1.empty());
assert(q2.size() == 3);
assert(q2.top() == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/top.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/top.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/top.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.members/top.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::priority_queue<int> q;
q.push(1);
@@ -24,4 +24,6 @@ int main()
assert(q.top() == 3);
q.push(2);
assert(q.top() == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.special/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.special/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.special/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.special/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::priority_queue<int> q1;
std::priority_queue<int> q2;
@@ -28,4 +28,6 @@ int main()
assert(q1.empty());
assert(q2.size() == 3);
assert(q2.top() == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,10 +22,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::priority_queue<MoveOnly> C;
static_assert(noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/types.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/types.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/types.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/types.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@
#include <cassert>
#include <type_traits>
-int main()
+int main(int, char**)
{
// LWG#2566 says that the first template param must match the second one's value type
std::priority_queue<double, std::deque<int>> t;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/priority.queue/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/priority.queue/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/priority.queue/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -50,7 +50,7 @@ struct C
typedef int size_type;
};
-int main()
+int main(int, char**)
{
static_assert(( std::is_same<std::priority_queue<int>::container_type, std::vector<int> >::value), "");
static_assert(( std::is_same<std::priority_queue<int, std::deque<int> >::container_type, std::deque<int> >::value), "");
@@ -64,4 +64,6 @@ int main()
static_assert(( std::uses_allocator<std::priority_queue<int>, std::allocator<int> >::value), "");
static_assert((!std::uses_allocator<std::priority_queue<int, C>, std::allocator<int> >::value), "");
test t;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,8 +31,10 @@ struct test
test_allocator<int> get_allocator() {return c.get_allocator();}
};
-int main()
+int main(int, char**)
{
test q(test_allocator<int>(3));
assert(q.get_allocator() == test_allocator<int>(3));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_container_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_container_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_container_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_container_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct test
test_allocator<int> get_allocator() {return c.get_allocator();}
};
-int main()
+int main(int, char**)
{
C d = make<C>(5);
test q(d, test_allocator<int>(4));
@@ -55,4 +55,6 @@ int main()
assert(q.front() == d[i]);
q.pop();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_queue_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_queue_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_queue_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_queue_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,10 +42,12 @@ struct test
allocator_type get_allocator() {return this->c.get_allocator();}
};
-int main()
+int main(int, char**)
{
test<int> q(make<C>(5), test_allocator<int>(4));
test<int> q2(q, test_allocator<int>(5));
assert(q2.get_allocator() == test_allocator<int>(5));
assert(q2.size() == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rcontainer_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rcontainer_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rcontainer_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rcontainer_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,9 +48,11 @@ struct test
};
-int main()
+int main(int, char**)
{
test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4));
assert(q.get_allocator() == test_allocator<MoveOnly>(4));
assert(q.size() == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rqueue_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rqueue_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rqueue_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rqueue_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,10 +48,12 @@ struct test
};
-int main()
+int main(int, char**)
{
test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4));
test<MoveOnly> q2(std::move(q), test_allocator<MoveOnly>(5));
assert(q2.get_allocator() == test_allocator<MoveOnly>(5));
assert(q2.size() == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_container.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_container.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_container.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_container.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::deque<int> d = make<std::deque<int> >(5);
std::queue<int> q(d);
@@ -34,4 +34,6 @@ int main()
assert(q.front() == d[i]);
q.pop();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,9 +23,11 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::queue<int> q(make<std::deque<int> >(5));
std::queue<int> q2 = q;
assert(q2 == q);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
std::queue<int, std::vector<int, limited_allocator<int, 10> > > q;
assert(q.size() == 0);
@@ -24,4 +24,6 @@ int main()
assert(q.size() == 2);
assert(q.front() == 1);
assert(q.back() == 2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,10 +29,12 @@ make(int n)
}
-int main()
+int main(int, char**)
{
std::queue<MoveOnly> q(make<std::deque<MoveOnly> >(5));
std::queue<MoveOnly> q2 = std::move(q);
assert(q2.size() == 5);
assert(q.empty());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_rcontainer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_rcontainer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_rcontainer.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/ctor_rcontainer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,8 +29,10 @@ make(int n)
}
-int main()
+int main(int, char**)
{
std::queue<MoveOnly> q(make<std::deque<MoveOnly> >(5));
assert(q.size() == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.fail.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <cstddef>
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
{
@@ -42,4 +42,6 @@ int main()
// stack<allocator<int>, allocator<allocator<int>>>
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -87,4 +87,6 @@ int main()
assert(que.back() == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_macros.h"
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -29,4 +29,6 @@ int main()
static_assert(std::is_nothrow_default_constructible<C>::value, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,10 +17,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::queue<MoveOnly> C;
static_assert(std::is_nothrow_destructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,10 +20,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::queue<MoveOnly> C;
static_assert(std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_macros.h"
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -30,4 +30,6 @@ int main()
static_assert(std::is_nothrow_move_constructible<C>::value, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,10 +23,12 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::queue<int> q(make<std::deque<int> >(5));
std::queue<int> q2;
q2 = q;
assert(q2 == q);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,11 +29,13 @@ make(int n)
}
-int main()
+int main(int, char**)
{
std::queue<MoveOnly> q(make<std::deque<MoveOnly> >(5));
std::queue<MoveOnly> q2;
q2 = std::move(q);
assert(q2.size() == 5);
assert(q.empty());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::queue<int> q;
assert(q.size() == 0);
@@ -22,4 +22,6 @@ int main()
q.push(3);
int& ir = q.back();
assert(ir == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/back_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/back_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/back_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/back_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::queue<int> q;
assert(q.size() == 0);
@@ -23,4 +23,6 @@ int main()
const std::queue<int>& cqr = q;
const int& cir = cqr.back();
assert(cir == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ void test_return_type() {
#endif
}
-int main()
+int main(int, char**)
{
test_return_type<std::queue<int> > ();
test_return_type<std::queue<int, std::list<int> > > ();
@@ -61,4 +61,6 @@ int main()
assert(q.size() == 3);
assert(q.front() == Emplaceable(1, 2.5));
assert(q.back() == Emplaceable(3, 4.5));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::queue<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::queue<int> q;
assert(q.empty());
@@ -21,4 +21,6 @@ int main()
assert(!q.empty());
q.pop();
assert(q.empty());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::queue<int> q;
assert(q.size() == 0);
@@ -22,4 +22,6 @@ int main()
q.push(3);
int& ir = q.front();
assert(ir == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/front_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/front_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/front_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/front_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::queue<int> q;
assert(q.size() == 0);
@@ -23,4 +23,6 @@ int main()
const std::queue<int>& cqr = q;
const int& cir = cqr.front();
assert(cir == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/pop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/pop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/pop.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/pop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::queue<int> q;
assert(q.size() == 0);
@@ -33,4 +33,6 @@ int main()
assert(q.back() == 3);
q.pop();
assert(q.size() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/push.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/push.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/push.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/push.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::queue<int> q;
q.push(1);
@@ -28,4 +28,6 @@ int main()
assert(q.size() == 3);
assert(q.front() == 1);
assert(q.back() == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/push_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/push_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/push_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/push_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
std::queue<MoveOnly> q;
q.push(MoveOnly(1));
@@ -32,4 +32,6 @@ int main()
assert(q.size() == 3);
assert(q.front() == MoveOnly(1));
assert(q.back() == MoveOnly(3));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,10 +13,12 @@
#include <queue>
#include <cassert>
-int main()
+int main(int, char**)
{
std::queue<int> q;
assert(q.size() == 0);
q.push(1);
assert(q.size() == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::queue<int> q1 = make<std::queue<int> >(5);
std::queue<int> q2 = make<std::queue<int> >(10);
@@ -32,4 +32,6 @@ int main()
q1.swap(q2);
assert(q1 == q2_save);
assert(q2 == q1_save);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/types.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/types.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/types.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/types.fail.cpp Mon Feb 4 12:31:13 2019
@@ -12,8 +12,10 @@
#include <cassert>
#include <type_traits>
-int main()
+int main(int, char**)
{
// LWG#2566 says that the first template param must match the second one's value type
std::queue<double, std::deque<int>> t;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.defn/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ struct C
typedef int size_type;
};
-int main()
+int main(int, char**)
{
static_assert(( std::is_same<std::queue<int>::container_type, std::deque<int> >::value), "");
static_assert(( std::is_same<std::queue<int, std::vector<int> >::container_type, std::vector<int> >::value), "");
@@ -54,4 +54,6 @@ int main()
static_assert(( std::uses_allocator<std::queue<int>, std::allocator<int> >::value), "");
static_assert((!std::uses_allocator<std::queue<int, C>, std::allocator<int> >::value), "");
test t;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.ops/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.ops/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.ops/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.ops/eq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::queue<int> q1 = make<std::queue<int> >(5);
std::queue<int> q2 = make<std::queue<int> >(10);
@@ -36,4 +36,6 @@ int main()
assert(q1 == q1_save);
assert(q1 != q2);
assert(q2 == q2_save);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.ops/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.ops/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.ops/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.ops/lt.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::queue<int> q1 = make<std::queue<int> >(5);
std::queue<int> q2 = make<std::queue<int> >(10);
@@ -41,4 +41,6 @@ int main()
assert(q2 > q1);
assert(q1 <= q2);
assert(q2 >= q1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.special/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.special/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.special/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.special/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::queue<int> q1 = make<std::queue<int> >(5);
std::queue<int> q2 = make<std::queue<int> >(10);
@@ -33,4 +33,6 @@ int main()
swap(q1, q2);
assert(q1 == q2_save);
assert(q2 == q1_save);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/queue/queue.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/queue/queue.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,10 +21,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::queue<MoveOnly> C;
static_assert(noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,8 +31,10 @@ struct test
test_allocator<int> get_allocator() {return c.get_allocator();}
};
-int main()
+int main(int, char**)
{
test q(test_allocator<int>(3));
assert(q.get_allocator() == test_allocator<int>(3));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_container_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_container_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_container_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_container_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct test
test_allocator<int> get_allocator() {return c.get_allocator();}
};
-int main()
+int main(int, char**)
{
C d = make<C>(5);
test q(d, test_allocator<int>(4));
@@ -55,4 +55,6 @@ int main()
assert(q.top() == d[d.size() - i - 1]);
q.pop();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,10 +42,12 @@ struct test
allocator_type get_allocator() {return this->c.get_allocator();}
};
-int main()
+int main(int, char**)
{
test<int> q(make<C>(5), test_allocator<int>(4));
test<int> q2(q, test_allocator<int>(5));
assert(q2.get_allocator() == test_allocator<int>(5));
assert(q2.size() == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rcontainer_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rcontainer_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rcontainer_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rcontainer_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,9 +48,11 @@ struct test
};
-int main()
+int main(int, char**)
{
test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4));
assert(q.get_allocator() == test_allocator<MoveOnly>(4));
assert(q.size() == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rqueue_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rqueue_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rqueue_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rqueue_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -48,10 +48,12 @@ struct test
};
-int main()
+int main(int, char**)
{
test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4));
test<MoveOnly> q2(std::move(q), test_allocator<MoveOnly>(5));
assert(q2.get_allocator() == test_allocator<MoveOnly>(5));
assert(q2.size() == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_container.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_container.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_container.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_container.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::deque<int> d = make<std::deque<int> >(5);
std::stack<int> q(d);
@@ -34,4 +34,6 @@ int main()
assert(q.top() == d[d.size() - i - 1]);
q.pop();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,9 +23,11 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::stack<int> q(make<std::deque<int> >(5));
std::stack<int> q2 = q;
assert(q2 == q);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
std::stack<int, std::vector<int, limited_allocator<int, 10> > > q;
assert(q.size() == 0);
@@ -24,4 +24,6 @@ int main()
q.push(2);
assert(q.size() == 2);
assert(q.top() == 2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,10 +29,12 @@ make(int n)
}
-int main()
+int main(int, char**)
{
std::stack<MoveOnly> q(make<std::deque<MoveOnly> >(5));
std::stack<MoveOnly> q2 = std::move(q);
assert(q2.size() == 5);
assert(q.empty());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_rcontainer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_rcontainer.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_rcontainer.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/ctor_rcontainer.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,8 +29,10 @@ make(int n)
}
-int main()
+int main(int, char**)
{
std::stack<MoveOnly> q(make<std::deque<MoveOnly> >(5));
assert(q.size() == 5);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include <cstddef>
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
{
@@ -49,4 +49,6 @@ int main()
// stack<allocator<int>, allocator<allocator<int>>>
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -90,4 +90,6 @@ int main()
assert(stk.top() == 3);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_macros.h"
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -30,4 +30,6 @@ int main()
static_assert(std::is_nothrow_default_constructible<C>::value, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,10 +17,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::stack<MoveOnly> C;
static_assert(std::is_nothrow_destructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,10 +20,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::stack<MoveOnly> C;
static_assert(std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_macros.h"
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -29,4 +29,6 @@ int main()
static_assert(std::is_nothrow_move_constructible<C>::value, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,10 +23,12 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::stack<int> q(make<std::deque<int> >(5));
std::stack<int> q2;
q2 = q;
assert(q2 == q);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,11 +29,13 @@ make(int n)
}
-int main()
+int main(int, char**)
{
std::stack<MoveOnly> q(make<std::deque<MoveOnly> >(5));
std::stack<MoveOnly> q2;
q2 = std::move(q);
assert(q2.size() == 5);
assert(q.empty());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ void test_return_type() {
#endif
}
-int main()
+int main(int, char**)
{
test_return_type<std::stack<int> > ();
test_return_type<std::stack<int, std::vector<int> > > ();
@@ -57,4 +57,6 @@ int main()
#endif
assert(q.size() == 3);
assert(q.top() == Emplaceable(3, 4.5));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::stack<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <stack>
#include <cassert>
-int main()
+int main(int, char**)
{
std::stack<int> q;
assert(q.empty());
@@ -21,4 +21,6 @@ int main()
assert(!q.empty());
q.pop();
assert(q.empty());
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/pop.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/pop.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/pop.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/pop.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <stack>
#include <cassert>
-int main()
+int main(int, char**)
{
std::stack<int> q;
assert(q.size() == 0);
@@ -30,4 +30,6 @@ int main()
assert(q.top() == 1);
q.pop();
assert(q.size() == 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/push.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/push.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/push.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/push.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <stack>
#include <cassert>
-int main()
+int main(int, char**)
{
std::stack<int> q;
q.push(1);
@@ -25,4 +25,6 @@ int main()
q.push(3);
assert(q.size() == 3);
assert(q.top() == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/push_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/push_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/push_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/push_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
std::stack<MoveOnly> q;
q.push(MoveOnly(1));
@@ -29,4 +29,6 @@ int main()
q.push(MoveOnly(3));
assert(q.size() == 3);
assert(q.top() == MoveOnly(3));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,10 +13,12 @@
#include <stack>
#include <cassert>
-int main()
+int main(int, char**)
{
std::stack<int> q;
assert(q.size() == 0);
q.push(1);
assert(q.size() == 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::stack<int> q1 = make<std::stack<int> >(5);
std::stack<int> q2 = make<std::stack<int> >(10);
@@ -32,4 +32,6 @@ int main()
q1.swap(q2);
assert(q1 == q2_save);
assert(q2 == q1_save);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/top.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/top.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/top.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/top.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <stack>
#include <cassert>
-int main()
+int main(int, char**)
{
std::stack<int> q;
assert(q.size() == 0);
@@ -22,4 +22,6 @@ int main()
q.push(3);
int& ir = q.top();
assert(ir == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/top_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/top_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/top_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/top_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -13,7 +13,7 @@
#include <stack>
#include <cassert>
-int main()
+int main(int, char**)
{
std::stack<int> q;
assert(q.size() == 0);
@@ -23,4 +23,6 @@ int main()
const std::stack<int>& cqr = q;
const int& cir = cqr.top();
assert(cir == 3);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/types.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/types.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/types.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/types.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,8 +27,10 @@
#include <cassert>
#include <type_traits>
-int main()
+int main(int, char**)
{
// LWG#2566 says that the first template param must match the second one's value type
std::stack<double, std::deque<int>> t;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.defn/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct C
typedef int size_type;
};
-int main()
+int main(int, char**)
{
static_assert(( std::is_same<std::stack<int>::container_type, std::deque<int> >::value), "");
static_assert(( std::is_same<std::stack<int, std::vector<int> >::container_type, std::vector<int> >::value), "");
@@ -55,4 +55,6 @@ int main()
static_assert(( std::uses_allocator<std::stack<int>, std::allocator<int> >::value), "");
static_assert((!std::uses_allocator<std::stack<int, C>, std::allocator<int> >::value), "");
test t;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.ops/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.ops/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.ops/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.ops/eq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::stack<int> q1 = make<std::stack<int> >(5);
std::stack<int> q2 = make<std::stack<int> >(10);
@@ -36,4 +36,6 @@ int main()
assert(q1 == q1_save);
assert(q1 != q2);
assert(q2 == q2_save);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.ops/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.ops/lt.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.ops/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.ops/lt.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::stack<int> q1 = make<std::stack<int> >(5);
std::stack<int> q2 = make<std::stack<int> >(10);
@@ -41,4 +41,6 @@ int main()
assert(q2 > q1);
assert(q1 <= q2);
assert(q2 >= q1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.special/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.special/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.special/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.special/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ make(int n)
return c;
}
-int main()
+int main(int, char**)
{
std::stack<int> q1 = make<std::stack<int> >(5);
std::stack<int> q2 = make<std::stack<int> >(10);
@@ -33,4 +33,6 @@ int main()
swap(q1, q2);
assert(q1 == q2_save);
assert(q2 == q1_save);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.adaptors/stack/stack.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.adaptors/stack/stack.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.adaptors/stack/stack.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,10 +21,12 @@
#include "MoveOnly.h"
-int main()
+int main(int, char**)
{
{
typedef std::stack<MoveOnly> C;
static_assert(noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp Mon Feb 4 12:31:13 2019
@@ -128,7 +128,7 @@ void test_insert_return_type()
test_typedef<typename Container::insert_return_type>();
}
-int main()
+int main(int, char**)
{
test_node_handle_operations<std::map<int, int>>();
test_node_handle_operations_multi<std::multimap<int, int>>();
@@ -143,4 +143,6 @@ int main()
test_insert_return_type<std::set<int>>();
test_insert_return_type<std::unordered_map<int, int>>();
test_insert_return_type<std::unordered_set<int>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.requirements/associative.reqmts/associative.reqmts.except/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.requirements/associative.reqmts/associative.reqmts.except/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.requirements/associative.reqmts/associative.reqmts.except/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.requirements/associative.reqmts/associative.reqmts.except/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -6,6 +6,8 @@
//
//===----------------------------------------------------------------------===//
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.requirements/associative.reqmts/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.requirements/associative.reqmts/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.requirements/associative.reqmts/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.requirements/associative.reqmts/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/containers/container.requirements/container.requirements.dataraces/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.requirements/container.requirements.dataraces/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.requirements/container.requirements.dataraces/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.requirements/container.requirements.dataraces/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/containers/container.requirements/container.requirements.general/allocator_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.requirements/container.requirements.general/allocator_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.requirements/container.requirements.general/allocator_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.requirements/container.requirements.general/allocator_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -61,7 +61,7 @@ void test(int expected_num_allocs = 1) {
}
}
-int main() {
+int main(int, char**) {
{ // test sequence containers
test<std::vector<int, test_allocator<int> > >();
test<std::vector<bool, test_allocator<bool> > >();
@@ -102,4 +102,6 @@ int main() {
test<std::unordered_multimap<int, int, std::hash<int>, std::equal_to<int>,
test_allocator<KV> > >(stored_allocators);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.requirements/container.requirements.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.requirements/container.requirements.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.requirements/container.requirements.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.requirements/container.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/containers/container.requirements/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.requirements/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.requirements/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.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/containers/container.requirements/sequence.reqmts/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.requirements/sequence.reqmts/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.requirements/sequence.reqmts/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.requirements/sequence.reqmts/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/containers/container.requirements/unord.req/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.requirements/unord.req/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.requirements/unord.req/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.requirements/unord.req/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -6,6 +6,8 @@
//
//===----------------------------------------------------------------------===//
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/container.requirements/unord.req/unord.req.except/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.requirements/unord.req/unord.req.except/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.requirements/unord.req/unord.req.except/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.requirements/unord.req/unord.req.except/nothing_to_do.pass.cpp Mon Feb 4 12:31:13 2019
@@ -6,6 +6,8 @@
//
//===----------------------------------------------------------------------===//
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/containers.general/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/containers.general/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/containers.general/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/containers.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/containers/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/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/containers/sequences/array/array.cons/deduct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,9 +28,11 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
std::array arr{1,2,3L}; // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'array'}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
{
@@ -61,4 +61,6 @@ int main()
assert(arr[0] == 4.0);
assert(arr[1] == 5.0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@ struct NoDefault {
NoDefault(int) {}
};
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -44,4 +44,6 @@ int main()
C c2 = {{}};
assert(c2.size() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ struct NoDefault {
NoDefault(int) {}
};
-int main() {
+int main(int, char**) {
{
typedef double T;
typedef std::array<T, 3> C;
@@ -89,4 +89,6 @@ int main() {
TEST_NOT_COPY_ASSIGNABLE(C);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -48,4 +48,6 @@ int main()
C c = {};
assert(c.size() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.data/data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.data/data.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.data/data.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.data/data.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ struct NoDefault {
};
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -67,4 +67,6 @@ int main()
T* p = c.data();
LIBCPP_ASSERT(p != nullptr);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.data/data_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.data/data_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.data/data_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.data/data_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ struct NoDefault {
NoDefault(int) {}
};
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -70,4 +70,6 @@ int main()
static_assert ( *c2.data() == c2[0], "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.fill/fill.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.fill/fill.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.fill/fill.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.fill/fill.fail.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main() {
+int main(int, char**) {
{
typedef double T;
typedef std::array<const T, 0> C;
@@ -25,4 +25,6 @@ int main() {
// expected-error-re at array:* {{static_assert failed {{.*}}"cannot fill zero-sized array of type 'const T'"}}
c.fill(5.5); // expected-note {{requested here}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.fill/fill.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.fill/fill.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.fill/fill.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.fill/fill.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -36,4 +36,6 @@ int main()
c.fill(5.5);
assert(c.size() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.size/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.size/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.size/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.size/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -55,4 +55,6 @@ int main()
static_assert(c.empty(), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.special/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.special/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.special/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.special/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,7 @@ std::false_type can_swap_imp(...);
template <class Tp>
struct can_swap : std::is_same<decltype(can_swap_imp<Tp>(0)), void> {};
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -81,4 +81,6 @@ int main()
static_assert(!can_swap<C1&>::value, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.swap/swap.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.swap/swap.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.swap/swap.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.swap/swap.fail.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main() {
+int main(int, char**) {
{
typedef double T;
typedef std::array<const T, 0> C;
@@ -26,4 +26,6 @@ int main() {
// expected-error-re at array:* {{static_assert failed {{.*}}"cannot swap zero-sized array of type 'const T'"}}
c.swap(c2); // expected-note {{requested here}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.swap/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.swap/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.swap/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.swap/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ private:
NonSwappable& operator=(NonSwappable const&);
};
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -89,4 +89,6 @@ int main()
#endif
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.tuple/get.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.tuple/get.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.tuple/get.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.tuple/get.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -32,4 +32,6 @@ int main()
std::get<3>(c) = 5.5; // expected-note {{requested here}}
// expected-error-re at array:* {{static_assert failed{{( due to requirement '3U[L]{0,2} < 3U[L]{0,2}')?}} "Index out of bounds in std::get<> (std::array)"}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.tuple/get.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.tuple/get.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.tuple/get.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.tuple/get.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ struct S {
constexpr std::array<int, 2> getArr () { return { 3, 4 }; }
#endif
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -55,4 +55,6 @@ int main()
static_assert(std::get<1>(getArr()) == 4, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -39,4 +39,6 @@ int main()
static_assert(std::get<2>(c) == 3.5, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
@@ -47,4 +47,6 @@ int main()
static_assert(std::get<2>(std::move(c)) == 3.5, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
@@ -31,4 +31,6 @@ int main()
T t = std::get<0>(std::move(c));
assert(*t == 3.5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -31,4 +31,6 @@ int main()
std::tuple_element<3, C> foo; // expected-note {{requested here}}
// expected-error-re at array:* {{static_assert failed{{( due to requirement '3U[L]{0,2} < 3U[L]{0,2}')?}} "Index out of bounds in std::tuple_element<> (std::array)"}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp Mon Feb 4 12:31:13 2019
@@ -46,8 +46,10 @@ void test()
}
}
-int main()
+int main(int, char**)
{
test<double>();
test<int>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,9 +33,11 @@ void test()
}
}
-int main()
+int main(int, char**)
{
test<double, 0>();
test<double, 3>();
test<double, 5>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp Mon Feb 4 12:31:13 2019
@@ -12,6 +12,8 @@
#include <array>
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/at.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/at.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/at.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/at.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ constexpr bool check_idx( size_t idx, do
}
#endif
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -116,4 +116,6 @@ int main()
static_assert (check_idx(2, 3.5), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/begin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/begin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/begin.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/begin.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ struct NoDefault {
};
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -48,4 +48,6 @@ int main()
LIBCPP_ASSERT(ib != nullptr);
LIBCPP_ASSERT(ie != nullptr);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/compare.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/compare.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/compare.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/compare.fail.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ void test_compare(const Array& LHS, cons
template <int Dummy> struct NoCompare {};
-int main()
+int main(int, char**)
{
{
typedef NoCompare<0> T;
@@ -67,4 +67,6 @@ int main()
TEST_IGNORE_NODISCARD (c1 == c1);
TEST_IGNORE_NODISCARD (c1 < c1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -58,4 +58,6 @@ int main()
static_assert(testComparisons6(a2, a1, false, false), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/contiguous.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/contiguous.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/contiguous.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/contiguous.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,11 +20,13 @@ void test_contiguous ( const C &c )
assert ( *(c.begin() + i) == *(std::addressof(*c.begin()) + i));
}
-int main()
+int main(int, char**)
{
{
typedef double T;
typedef std::array<T, 3> C;
test_contiguous (C());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,11 +20,13 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::array<int, 1> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
std::array<int, 0> c0;
c0.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::array<int, 2> C;
@@ -32,4 +32,6 @@ int main()
ASSERT_NOEXCEPT(c.empty());
assert( c.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/front_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/front_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/front_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/front_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ constexpr bool check_back( double val )
}
#endif
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -115,4 +115,6 @@ int main()
static_assert (check_back (3.5), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/indexing.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/indexing.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/indexing.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/indexing.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ constexpr bool check_idx( size_t idx, do
}
#endif
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -104,4 +104,6 @@ int main()
static_assert (check_idx(2, 3.5), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main()
+int main(int, char**)
{
{
typedef std::array<int, 5> C;
@@ -141,4 +141,6 @@ int main()
static_assert ( *std::crbegin(c) == 4, "" );
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::array<int, 2> C;
@@ -32,4 +32,6 @@ int main()
ASSERT_NOEXCEPT(c.max_size());
assert(c.max_size() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/size_and_alignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/size_and_alignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/size_and_alignment.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/size_and_alignment.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,9 @@ struct TEST_ALIGNAS(TEST_ALIGNOF(std::ma
char data[1000];
};
-int main() {
+//static_assert(sizeof(void*) == 4, "");
+
+int main(int, char**) {
test_type<char>();
test_type<int>();
test_type<double>();
@@ -65,4 +67,6 @@ int main() {
test_type<std::max_align_t>();
test_type<TestType1>();
test_type<TestType2>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/array/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,7 +47,7 @@ void test_iterators() {
static_assert((std::is_same<typename CItT::difference_type, typename C::difference_type>::value), "");
}
-int main()
+int main(int, char**)
{
{
typedef double T;
@@ -93,4 +93,6 @@ int main()
static_assert((std::is_same<typename C::difference_type,
typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <deque>
-int main()
+int main(int, char**)
{
std::deque<int, std::allocator<long> > d;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/access.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/access.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/access.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/access.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,7 +47,7 @@ make(int size, int start = 0 )
return c;
}
-int main()
+int main(int, char**)
{
{
std::deque<int> c = make<std::deque<int> >(10);
@@ -87,4 +87,6 @@ int main()
assert(c.back() == 9);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::deque<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::deque<int> C;
@@ -42,4 +42,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main() {
+int main(int, char**) {
{
typedef limited_allocator<int, 10> A;
typedef std::deque<int, A> C;
@@ -43,4 +43,6 @@ int main() {
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/resize_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/resize_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/resize_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/resize_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -65,7 +65,7 @@ testN(int start, int N, int M)
test(c1, M);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -85,4 +85,6 @@ int main()
testN<std::deque<int, min_allocator<int>>>(rng[i], rng[j], rng[k]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/resize_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/resize_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/resize_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/resize_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -65,7 +65,7 @@ testN(int start, int N, int M)
test(c1, M, -10);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -85,4 +85,6 @@ int main()
testN<std::deque<int, min_allocator<int>>>(rng[i], rng[j], rng[k]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/shrink_to_fit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/shrink_to_fit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/shrink_to_fit.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/shrink_to_fit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -55,7 +55,7 @@ testN(int start, int N)
test(c1);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -73,4 +73,6 @@ int main()
testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.capacity/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::deque<int> C;
@@ -58,4 +58,6 @@ int main()
assert(c.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ test(const Allocator& a)
assert(d.get_allocator() == a);
}
-int main()
+int main(int, char**)
{
test<int>(std::allocator<int>());
test<NotConstructible>(test_allocator<NotConstructible>(3));
@@ -36,4 +36,6 @@ int main()
test<int>(explicit_allocator<int>());
test<NotConstructible>(explicit_allocator<NotConstructible>{});
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::deque<int> d;
@@ -37,4 +37,6 @@ int main()
assert(d[2] == 5);
assert(d[3] == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -149,7 +149,9 @@ void test_emplacable_concept() {
#endif
}
-int main() {
+int main(int, char**) {
basic_test();
test_emplacable_concept();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/assign_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -60,7 +60,7 @@ testN(int start, int N, int M)
test(c1, M, -10);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -80,4 +80,6 @@ int main()
testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j], rng[k]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const C& x)
assert(c == x);
}
-int main()
+int main(int, char**)
{
{
int ab[] = {3, 4, 2, 8, 0, 1, 44, 34, 45, 96, 80, 1, 13, 31, 45};
@@ -57,4 +57,6 @@ int main()
assert(v2.get_allocator() == v.get_allocator());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ test(const C& x, const typename C::alloc
assert(c.get_allocator() == a);
}
-int main()
+int main(int, char**)
{
{
int ab[] = {3, 4, 2, 8, 0, 1, 44, 34, 45, 96, 80, 1, 13, 31, 45};
@@ -47,4 +47,6 @@ int main()
min_allocator<int>());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.fail.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -38,4 +38,6 @@ int main()
// deque<allocator<int>, allocator<allocator<int>>>
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -94,4 +94,6 @@ int main()
static_assert(std::is_same_v<decltype(deq)::allocator_type, std::allocator<long double>>, "");
assert(deq.size() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ test()
#endif
}
-int main()
+int main(int, char**)
{
test<int, std::allocator<int> >();
test<NotConstructible, limited_allocator<NotConstructible, 1> >();
@@ -37,4 +37,6 @@ int main()
test<int, min_allocator<int> >();
test<NotConstructible, min_allocator<NotConstructible> >();
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -49,4 +49,6 @@ int main()
typedef std::deque<MoveOnly, some_alloc<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct some_alloc
~some_alloc() noexcept(false);
};
-int main()
+int main(int, char**)
{
{
typedef std::deque<MoveOnly> C;
@@ -47,4 +47,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::deque<int> d = {3, 4, 5, 6};
@@ -35,4 +35,6 @@ int main()
assert(d[2] == 5);
assert(d[3] == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/initializer_list_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/initializer_list_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/initializer_list_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/initializer_list_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::deque<int, test_allocator<int>> d({3, 4, 5, 6}, test_allocator<int>(3));
@@ -38,4 +38,6 @@ int main()
assert(d[2] == 5);
assert(d[3] == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -105,7 +105,9 @@ void test_emplacable_concept() {
#endif
}
-int main() {
+int main(int, char**) {
basic_test();
test_emplacable_concept();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/iter_iter_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/iter_iter_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/iter_iter_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/iter_iter_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -96,7 +96,9 @@ void test_emplacable_concept() {
#endif
}
-int main() {
+int main(int, char**) {
basic_test();
test_emplacable_concept();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int ab[] = {3, 4, 2, 8, 0, 1, 44, 34, 45, 96, 80, 1, 13, 31, 45};
@@ -68,4 +68,6 @@ int main()
assert(c1.size() == 0);
assert(c3.get_allocator() == c1.get_allocator());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int ab[] = {3, 4, 2, 8, 0, 1, 44, 34, 45, 96, 80, 1, 13, 31, 45};
@@ -82,4 +82,6 @@ int main()
assert(c3.get_allocator() == A());
LIBCPP_ASSERT(c1.size() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int ab[] = {3, 4, 2, 8, 0, 1, 44, 34, 45, 96, 80, 1, 13, 31, 45};
@@ -85,4 +85,6 @@ int main()
assert(c1.size() == 0);
assert(c3.get_allocator() == A());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
{
typedef std::deque<MoveOnly> C;
@@ -51,4 +51,6 @@ int main()
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -49,4 +49,6 @@ int main()
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/op_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/op_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/op_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/op_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ test(const C& x)
assert(c == x);
}
-int main()
+int main(int, char**)
{
{
int ab[] = {3, 4, 2, 8, 0, 1, 44, 34, 45, 96, 80, 1, 13, 31, 45};
@@ -59,4 +59,6 @@ int main()
assert(l2.get_allocator() == min_allocator<int>());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/op_equal_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/op_equal_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/op_equal_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/op_equal_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::deque<int> d;
@@ -37,4 +37,6 @@ int main()
assert(d[2] == 5);
assert(d[3] == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -86,7 +86,7 @@ test(unsigned n)
test2<T, Allocator> ( n );
}
-int main()
+int main(int, char**)
{
test<DefaultOnly, std::allocator<DefaultOnly> >(0);
test<DefaultOnly, std::allocator<DefaultOnly> >(1);
@@ -113,4 +113,6 @@ int main()
test3<int, min_allocator<int>> (3);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(unsigned n, const T& x)
assert(*i == x);
}
-int main()
+int main(int, char**)
{
test<int, std::allocator<int> >(0, 5);
test<int, std::allocator<int> >(1, 10);
@@ -48,4 +48,6 @@ int main()
#if TEST_STD_VER >= 11
test<int, min_allocator<int> >(4095, 90);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size_value_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size_value_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size_value_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size_value_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(unsigned n, const T& x, const Alloc
assert(*i == x);
}
-int main()
+int main(int, char**)
{
{
std::allocator<int> a;
@@ -64,4 +64,6 @@ int main()
test(4097, 157, a);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.erasure/erase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.erasure/erase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.erasure/erase.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.erasure/erase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0(S({1,2,1}), opt(3), S({1,2,1}));
}
-int main()
+int main(int, char**)
{
test<std::deque<int>>();
test<std::deque<int, min_allocator<int>>> ();
@@ -74,4 +74,6 @@ int main()
test<std::deque<long>>();
test<std::deque<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.erasure/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.erasure/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.erasure/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.erasure/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0(S({1,2,3}), False, S({1,2,3}));
}
-int main()
+int main(int, char**)
{
test<std::deque<int>>();
test<std::deque<int, min_allocator<int>>> ();
@@ -74,4 +74,6 @@ int main()
test<std::deque<long>>();
test<std::deque<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "../../../NotConstructible.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef NotConstructible T;
@@ -63,4 +63,6 @@ int main()
assert(distance(c.begin(), c.end()) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -86,7 +86,7 @@ testN(int start, int N)
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -102,4 +102,6 @@ int main()
for (int j = 0; j < N; ++j)
testN<std::deque<Emplaceable, min_allocator<Emplaceable>> >(rng[i], rng[j]);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -74,7 +74,7 @@ testN(int start, int N)
test(c1);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -101,4 +101,6 @@ int main()
c.emplace_front(1, 2, 3);
assert(c.size() == 4);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace_front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace_front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace_front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/emplace_front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -75,7 +75,7 @@ testN(int start, int N)
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -102,4 +102,6 @@ int main()
c.emplace_front(1, 2, 3);
assert(c.size() == 4);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter.invalidation.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter.invalidation.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter.invalidation.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter.invalidation.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,7 +54,7 @@ void del_at_end(C c)
assert(&*it2 == &*it4);
}
-int main()
+int main(int, char**)
{
std::deque<int> queue;
for (int i = 0; i < 20; ++i)
@@ -66,4 +66,6 @@ int main()
del_at_end(queue);
queue.pop_back();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -88,7 +88,7 @@ testN(int start, int N)
}
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -121,4 +121,6 @@ int main()
assert(v.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter_iter.invalidation.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter_iter.invalidation.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter_iter.invalidation.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter_iter.invalidation.pass.cpp Mon Feb 4 12:31:13 2019
@@ -59,7 +59,7 @@ void del_at_end(C c, size_t num)
}
-int main()
+int main(int, char**)
{
std::deque<int> queue;
for (int i = 0; i < 20; ++i)
@@ -74,4 +74,6 @@ int main()
}
queue.pop_back();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/erase_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -95,7 +95,7 @@ testN(int start, int N)
}
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -127,4 +127,6 @@ int main()
assert(v.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_iter_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_iter_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_iter_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_iter_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::deque<int> d(10, 1);
@@ -59,4 +59,6 @@ int main()
assert(d[12] == 1);
assert(d[13] == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -259,7 +259,7 @@ test_move()
#endif
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -285,4 +285,6 @@ int main()
test_move<std::deque<MoveOnly, min_allocator<MoveOnly> > >();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -91,7 +91,7 @@ testN(int start, int N)
}
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -107,4 +107,6 @@ int main()
for (int j = 0; j < N; ++j)
testN<std::deque<MoveOnly, min_allocator<MoveOnly>> >(rng[i], rng[j]);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -132,7 +132,7 @@ self_reference_test()
}
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -154,4 +154,6 @@ int main()
self_reference_test<std::deque<int, min_allocator<int>> >();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/insert_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -114,7 +114,7 @@ self_reference_test()
}
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -134,4 +134,6 @@ int main()
self_reference_test<std::deque<int, min_allocator<int>> >();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_back.invalidation.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_back.invalidation.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_back.invalidation.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_back.invalidation.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ void test(C c)
assert(&*it2 == &*it4);
}
-int main()
+int main(int, char**)
{
std::deque<int> queue;
for (int i = 0; i < 20; ++i)
@@ -45,4 +45,6 @@ int main()
test(queue);
queue.pop_back();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -63,7 +63,7 @@ testN(int start, int N)
}
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -81,4 +81,6 @@ int main()
testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_front.invalidation.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_front.invalidation.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_front.invalidation.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_front.invalidation.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ void test(C c)
assert(&*it2 == &*it4);
}
-int main()
+int main(int, char**)
{
std::deque<int> queue;
for (int i = 0; i < 20; ++i)
@@ -45,4 +45,6 @@ int main()
test(queue);
queue.pop_back();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/pop_front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -63,7 +63,7 @@ testN(int start, int N)
}
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -81,4 +81,6 @@ int main()
testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ void test(int size)
}
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096};
@@ -69,4 +69,6 @@ int main()
test<std::deque<int, min_allocator<int>> >(rng[j]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back_exception_safety.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back_exception_safety.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back_exception_safety.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back_exception_safety.pass.cpp Mon Feb 4 12:31:13 2019
@@ -64,7 +64,7 @@ CMyClass::~CMyClass() {
bool operator==(const CMyClass &lhs, const CMyClass &rhs) { return lhs.equal(rhs); }
-int main()
+int main(int, char**)
{
CMyClass instance(42);
{
@@ -98,4 +98,6 @@ int main()
assert(vec==vec2);
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_back_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -58,7 +58,7 @@ void test(int size)
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096};
@@ -72,4 +72,6 @@ int main()
for (int j = 0; j < N; ++j)
test<std::deque<MoveOnly, min_allocator<MoveOnly>> >(rng[j]);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -62,7 +62,7 @@ testN(int start, int N)
test(c1, -10);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -80,4 +80,6 @@ int main()
testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front_exception_safety.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front_exception_safety.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front_exception_safety.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front_exception_safety.pass.cpp Mon Feb 4 12:31:13 2019
@@ -64,7 +64,7 @@ CMyClass::~CMyClass() {
bool operator==(const CMyClass &lhs, const CMyClass &rhs) { return lhs.equal(rhs); }
-int main()
+int main(int, char**)
{
CMyClass instance(42);
{
@@ -98,4 +98,6 @@ int main()
assert(vec==vec2);
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.modifiers/push_front_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -67,7 +67,7 @@ testN(int start, int N)
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -83,4 +83,6 @@ int main()
for (int j = 0; j < N; ++j)
testN<std::deque<MoveOnly, min_allocator<MoveOnly>> >(rng[i], rng[j]);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.special/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.special/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.special/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.special/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void testN(int start, int N)
assert(c1 == c2);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -84,4 +84,6 @@ int main()
testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.special/copy_backward.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.special/copy_backward.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.special/copy_backward.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.special/copy_backward.pass.cpp Mon Feb 4 12:31:13 2019
@@ -65,7 +65,7 @@ void testN(int start, int N)
assert(c1 == c2);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -83,4 +83,6 @@ int main()
testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.special/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.special/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.special/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.special/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -65,7 +65,7 @@ void testN(int start, int N)
assert(c1 == c2);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -83,4 +83,6 @@ int main()
testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.special/move_backward.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.special/move_backward.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.special/move_backward.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.special/move_backward.pass.cpp Mon Feb 4 12:31:13 2019
@@ -65,7 +65,7 @@ void testN(int start, int N)
assert(c1 == c2);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -83,4 +83,6 @@ int main()
testN<std::deque<int, min_allocator<int> > >(rng[i], rng[j]);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.special/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.special/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.special/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.special/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -50,7 +50,7 @@ void testN(int start, int N, int M)
assert(c2 == c1_save);
}
-int main()
+int main(int, char**)
{
{
int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049};
@@ -106,4 +106,6 @@ int main()
assert(c2.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,7 +52,7 @@ struct some_alloc2
typedef std::true_type is_always_equal;
};
-int main()
+int main(int, char**)
{
{
typedef std::deque<MoveOnly> C;
@@ -85,4 +85,6 @@ int main()
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::deque<int> C;
@@ -76,4 +76,6 @@ int main()
// assert ( ii1 != c.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/deque/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -71,7 +71,7 @@ test()
typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
}
-int main()
+int main(int, char**)
{
test<int, test_allocator<int> >();
test<int*, std::allocator<int*> >();
@@ -100,4 +100,6 @@ int main()
typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <forward_list>
-int main()
+int main(int, char**)
{
std::forward_list<int, std::allocator<long> > fl;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::forward_list<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::forward_list<int> C;
@@ -42,4 +42,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.access/front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.access/front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.access/front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.access/front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -57,4 +57,6 @@ int main()
assert(*c.begin() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/alloc.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/alloc.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/alloc.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/alloc.fail.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_allocator.h"
#include "../../../NotConstructible.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<NotConstructible> A;
@@ -26,4 +26,6 @@ int main()
assert(c.get_allocator() == A(12));
assert(c.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "../../../NotConstructible.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<NotConstructible> A;
@@ -45,4 +45,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -142,4 +142,6 @@ int main()
assert(c1.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -64,4 +64,6 @@ int main()
assert(*i == 10+n);
assert(n == 4);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef MoveOnly T;
@@ -193,4 +193,6 @@ int main()
assert(c1.get_allocator() == A());
assert(c0.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_op_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_op_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_op_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_op_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -64,4 +64,6 @@ int main()
assert(*i == 10+n);
assert(n == 4);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -74,4 +74,6 @@ int main()
assert(n == 4);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/assign_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -64,4 +64,6 @@ int main()
assert(n == 4);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -64,4 +64,6 @@ int main()
assert(c.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -63,4 +63,6 @@ int main()
assert(c.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.fail.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -38,4 +38,6 @@ int main()
// forward_list<allocator<int>, allocator<allocator<int>>>
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -99,4 +99,6 @@ int main()
static_assert(std::is_same_v<decltype(fwl)::allocator_type, std::allocator<long double>>, "");
assert(std::distance(fwl.begin(), fwl.end()) == 0); // no size for forward_list
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -37,4 +37,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -49,4 +49,6 @@ int main()
typedef std::forward_list<MoveOnly, some_alloc<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default_recursive.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default_recursive.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default_recursive.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/default_recursive.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,6 +19,8 @@ struct X
std::forward_list<X> q;
};
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct some_alloc
~some_alloc() noexcept(false);
};
-int main()
+int main(int, char**)
{
{
typedef std::forward_list<MoveOnly> C;
@@ -47,4 +47,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -37,4 +37,6 @@ int main()
assert(*i == n);
assert(n == 10);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/init_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/init_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/init_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/init_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -42,4 +42,6 @@ int main()
assert(n == 10);
assert(c.get_allocator() == A());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef MoveOnly T;
@@ -67,4 +67,6 @@ int main()
assert(c0.empty());
assert(c.get_allocator() == A());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef MoveOnly T;
@@ -67,4 +67,6 @@ int main()
assert(c0.empty());
assert(c.get_allocator() == A());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
{
typedef std::forward_list<MoveOnly> C;
@@ -51,4 +51,6 @@ int main()
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -49,4 +49,6 @@ int main()
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -44,4 +44,6 @@ int main()
assert(n == std::end(t) - std::begin(t));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/range_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/range_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/range_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/range_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -50,4 +50,6 @@ int main()
assert(c.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ void check_allocator(unsigned n, Allocat
#endif
}
-int main()
+int main(int, char**)
{
{ // test that the ctor is explicit
typedef std::forward_list<DefaultOnly> C;
@@ -70,4 +70,6 @@ int main()
check_allocator<T, min_allocator<T>> ( 3 );
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -41,4 +41,6 @@ int main()
assert(n == N);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size_value_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size_value_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size_value_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size_value_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<int> A;
@@ -46,4 +46,6 @@ int main()
assert(c.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.erasure/erase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.erasure/erase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.erasure/erase.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.erasure/erase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0(S({1,2,1}), opt(3), S({1,2,1}));
}
-int main()
+int main(int, char**)
{
test<std::forward_list<int>>();
test<std::forward_list<int, min_allocator<int>>> ();
@@ -74,4 +74,6 @@ int main()
test<std::forward_list<long>>();
test<std::forward_list<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.erasure/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.erasure/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.erasure/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.erasure/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0(S({1,2,3}), False, S({1,2,3}));
}
-int main()
+int main(int, char**)
{
test<std::forward_list<int>>();
test<std::forward_list<int, min_allocator<int>>> ();
@@ -74,4 +74,6 @@ int main()
test<std::forward_list<long>>();
test<std::forward_list<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/before_begin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/before_begin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/before_begin.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/before_begin.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -100,4 +100,6 @@ int main()
assert(std::distance(i, c.end()) == 11);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -142,4 +142,6 @@ int main()
// assert ( ii1 != c.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "../../../NotConstructible.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef NotConstructible T;
@@ -63,4 +63,6 @@ int main()
assert(distance(c.begin(), c.end()) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/emplace_after.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/emplace_after.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/emplace_after.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/emplace_after.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "../../../Emplaceable.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef Emplaceable T;
@@ -83,4 +83,6 @@ int main()
assert(*next(c.begin(), 3) == Emplaceable(2, 3.5));
assert(distance(c.begin(), c.end()) == 4);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/emplace_front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/emplace_front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/emplace_front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/emplace_front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "../../../Emplaceable.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef Emplaceable T;
@@ -67,4 +67,6 @@ int main()
assert(*next(c.begin()) == Emplaceable());
assert(distance(c.begin(), c.end()) == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/erase_after_many.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/erase_after_many.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/erase_after_many.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/erase_after_many.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -151,4 +151,6 @@ int main()
assert(distance(c.begin(), c.end()) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/erase_after_one.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/erase_after_one.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/erase_after_one.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/erase_after_one.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -93,4 +93,6 @@ int main()
assert(distance(c.begin(), c.end()) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -83,4 +83,6 @@ int main()
assert(distance(c.begin(), c.end()) == 4);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -69,4 +69,6 @@ int main()
assert(*next(c.begin(), 3) == 1);
assert(*next(c.begin(), 4) == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -76,4 +76,6 @@ int main()
assert(*next(c.begin(), 4) == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef MoveOnly T;
@@ -84,4 +84,6 @@ int main()
assert(*next(c.begin(), 3) == 2);
assert(distance(c.begin(), c.end()) == 4);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/insert_after_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -69,4 +69,6 @@ int main()
assert(*next(c.begin(), 4) == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/pop_front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/pop_front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/pop_front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/pop_front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -70,4 +70,6 @@ int main()
assert(distance(c.begin(), c.end()) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -43,4 +43,6 @@ int main()
assert(distance(c.begin(), c.end()) == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_exception_safety.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_exception_safety.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_exception_safety.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_exception_safety.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,7 @@ CMyClass::~CMyClass() {
assert(fMagicValue == kFinishedConstructionMagicValue);
}
-int main()
+int main(int, char**)
{
CMyClass instance;
std::forward_list<CMyClass> vec;
@@ -70,4 +70,6 @@ int main()
}
catch (...) {
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_rv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_rv.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_rv.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_rv.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef MoveOnly T;
@@ -44,4 +44,6 @@ int main()
assert(*next(c.begin()) == 1);
assert(distance(c.begin(), c.end()) == 2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/resize_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/resize_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/resize_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/resize_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef DefaultOnly T;
@@ -110,4 +110,6 @@ int main()
assert(*next(c.begin(), 5) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/resize_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/resize_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/resize_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.modifiers/resize_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "container_test_types.h"
#endif
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -98,4 +98,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -44,4 +44,6 @@ int main()
assert(c1 == c3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_pred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -45,4 +45,6 @@ int main()
assert(c1 == c3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/remove.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/remove.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/remove.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/remove.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct S {
};
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -151,4 +151,6 @@ int main()
assert(c1 == c2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/remove_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/remove_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/remove_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/remove_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ bool g(int i)
return i < 3;
}
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -152,4 +152,6 @@ int main()
assert(cp.count() == static_cast<std::size_t>(std::distance(std::begin(t1), std::end(t1))));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/reverse.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/reverse.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/reverse.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/reverse.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ void test(int N)
assert(*j == i);
}
-int main()
+int main(int, char**)
{
for (int i = 0; i < 10; ++i)
test<std::forward_list<int> >(i);
@@ -38,4 +38,6 @@ int main()
for (int i = 0; i < 10; ++i)
test<std::forward_list<int, min_allocator<int>> >(i);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/sort.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/sort.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/sort.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/sort.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ void test(int N)
assert(*j == i);
}
-int main()
+int main(int, char**)
{
for (int i = 0; i < 40; ++i)
test<std::forward_list<int> >(i);
@@ -46,4 +46,6 @@ int main()
for (int i = 0; i < 40; ++i)
test<std::forward_list<int, min_allocator<int>> >(i);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/sort_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/sort_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/sort_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/sort_pred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,7 @@ void test(int N)
assert(*j == N-1-i);
}
-int main()
+int main(int, char**)
{
for (int i = 0; i < 40; ++i)
test<std::forward_list<int> >(i);
@@ -47,4 +47,6 @@ int main()
for (int i = 0; i < 40; ++i)
test<std::forward_list<int, min_allocator<int>> >(i);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_flist.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_flist.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_flist.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_flist.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ testd(const C& c, int p, int l)
assert(distance(c.begin(), c.end()) == size_t1 + l);
}
-int main()
+int main(int, char**)
{
{
// splicing different containers
@@ -72,4 +72,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_one.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_one.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_one.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_one.pass.cpp Mon Feb 4 12:31:13 2019
@@ -75,7 +75,7 @@ tests(const C& c, int p, int f)
assert(distance(c.begin(), c.end()) == size_t1);
}
-int main()
+int main(int, char**)
{
{
// splicing different containers
@@ -137,4 +137,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -75,7 +75,7 @@ tests(const C& c, int p, int f, int l)
assert(distance(c.begin(), c.end()) == size_t1);
}
-int main()
+int main(int, char**)
{
{
// splicing different containers
@@ -165,4 +165,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/unique.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/unique.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/unique.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/unique.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -116,4 +116,6 @@ int main()
assert(c1 == c2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/unique_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/unique_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/unique_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.ops/unique_pred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@ bool g(int x, int y)
return x == y;
}
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -121,4 +121,6 @@ int main()
assert(c1 == c2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -47,7 +47,7 @@ void test(int N, int M)
}
}
-int main()
+int main(int, char**)
{
for (int i = 0; i < 10; ++i)
for (int j = 0; j < 10; ++j)
@@ -57,4 +57,6 @@ int main()
for (int j = 0; j < 10; ++j)
test<std::forward_list<int, min_allocator<int>> >(i, j);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -256,4 +256,6 @@ int main()
assert(c2.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/non_member_swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/non_member_swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/non_member_swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/non_member_swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -257,4 +257,6 @@ int main()
assert(c2.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/relational.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/relational.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/relational.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/relational.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,7 +52,7 @@ void test(int N, int M)
assert(c1 > c2);
}
-int main()
+int main(int, char**)
{
for (int i = 0; i < 10; ++i)
for (int j = 0; j < 10; ++j)
@@ -62,4 +62,6 @@ int main()
for (int j = 0; j < 10; ++j)
test<std::forward_list<int, min_allocator<int>> >(i, j);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.spec/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ struct some_alloc2
typedef std::true_type is_always_equal;
};
-int main()
+int main(int, char**)
{
{
typedef std::forward_list<MoveOnly> C;
@@ -85,4 +85,6 @@ int main()
static_assert( noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/incomplete.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/incomplete.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/incomplete.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/incomplete.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ struct B {
};
#endif
-int main()
+int main(int, char**)
{
{
A a;
@@ -49,4 +49,6 @@ int main()
b.it2 = b.d.cbefore_begin();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef limited_allocator<int, 10> A;
@@ -44,4 +44,6 @@ int main()
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
struct A { std::forward_list<A> v; }; // incomplete type support
-int main()
+int main(int, char**)
{
{
typedef std::forward_list<char> C;
@@ -72,4 +72,6 @@ int main()
typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <list>
-int main()
+int main(int, char**)
{
std::list<int, std::allocator<long> > l;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/incomplete_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/incomplete_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/incomplete_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/incomplete_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,6 +21,8 @@ struct A {
std::list<A>::const_reverse_iterator crit;
};
-int main() {
+int main(int, char**) {
A a;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ struct A
int second;
};
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -152,4 +152,6 @@ int main()
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.capacity/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.capacity/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.capacity/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.capacity/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::list<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.capacity/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.capacity/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.capacity/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.capacity/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::list<int> C;
@@ -42,4 +42,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.capacity/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.capacity/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.capacity/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.capacity/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main() {
+int main(int, char**) {
{
typedef limited_allocator<int, 10> A;
typedef std::list<int, A> C;
@@ -43,4 +43,6 @@ int main() {
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.capacity/resize_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.capacity/resize_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.capacity/resize_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.capacity/resize_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> l(5, 2);
@@ -77,4 +77,6 @@ int main()
}
#endif // __LIBCPP_MOVE
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.capacity/resize_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.capacity/resize_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.capacity/resize_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.capacity/resize_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<double> l(5, 2);
@@ -49,4 +49,6 @@ int main()
assert(l.back() == 3.5);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.capacity/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.capacity/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.capacity/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.capacity/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::list<int> C;
@@ -58,4 +58,6 @@ int main()
assert(c.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int, test_allocator<int> > l(3, 2, test_allocator<int>(5));
@@ -40,4 +40,6 @@ int main()
assert(l2.get_allocator() == min_allocator<int>());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> d;
@@ -39,4 +39,6 @@ int main()
assert(*i++ == 5);
assert(*i++ == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5));
@@ -76,4 +76,6 @@ int main()
assert(l.empty());
assert(l2.get_allocator() == lo.get_allocator());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> l(3, 2);
@@ -50,4 +50,6 @@ int main()
assert(l2.get_allocator() == l.get_allocator());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int, test_allocator<int> > l(3, 2, test_allocator<int>(5));
@@ -38,4 +38,6 @@ int main()
assert(l2.get_allocator() == min_allocator<int>());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.fail.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -38,4 +38,6 @@ int main()
// deque<allocator<int>, allocator<allocator<int>>>
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -99,4 +99,6 @@ int main()
static_assert(std::is_same_v<decltype(lst)::allocator_type, std::allocator<long double>>, "");
assert(lst.size() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> l;
@@ -64,4 +64,6 @@ int main()
assert(std::distance(l.begin(), l.end()) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -49,4 +49,6 @@ int main()
typedef std::list<MoveOnly, some_alloc<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/default_stack_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/default_stack_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/default_stack_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/default_stack_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> l;
@@ -44,4 +44,6 @@ int main()
assert(std::distance(l.begin(), l.end()) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct some_alloc
~some_alloc() noexcept(false);
};
-int main()
+int main(int, char**)
{
{
typedef std::list<MoveOnly> C;
@@ -47,4 +47,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> d = {3, 4, 5, 6};
@@ -37,4 +37,6 @@ int main()
assert(*i++ == 5);
assert(*i++ == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/initializer_list_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/initializer_list_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/initializer_list_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/initializer_list_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int, test_allocator<int>> d({3, 4, 5, 6}, test_allocator<int>(3));
@@ -40,4 +40,6 @@ int main()
assert(*i++ == 5);
assert(*i++ == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/input_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/input_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/input_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/input_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -244,10 +244,12 @@ void test_ctor_under_alloc_with_alloc()
-int main() {
+int main(int, char**) {
basic_test();
test_emplacable_concept();
test_emplacable_concept_with_alloc();
test_ctor_under_alloc();
test_ctor_under_alloc_with_alloc();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5));
@@ -59,4 +59,6 @@ int main()
assert(l.empty());
assert(l2.get_allocator() == lo.get_allocator());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5));
@@ -72,4 +72,6 @@ int main()
assert(l.empty());
assert(l2.get_allocator() == min_allocator<MoveOnly>());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
{
typedef std::list<MoveOnly> C;
@@ -51,4 +51,6 @@ int main()
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -49,4 +49,6 @@ int main()
typedef std::list<MoveOnly, some_alloc<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/op_equal_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/op_equal_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/op_equal_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/op_equal_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> d;
@@ -38,4 +38,6 @@ int main()
assert(*i++ == 5);
assert(*i++ == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/size_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/size_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/size_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/size_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ test3(unsigned n, Allocator const &alloc
}
-int main()
+int main(int, char**)
{
{
std::list<int> l(3);
@@ -100,4 +100,6 @@ int main()
assert(std::distance(l.begin(), l.end()) == 3);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/size_value_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/size_value_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/size_value_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/size_value_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> l(3, 2);
@@ -76,4 +76,6 @@ int main()
assert(*i == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.erasure/erase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.erasure/erase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.erasure/erase.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.erasure/erase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0(S({1,2,1}), opt(3), S({1,2,1}));
}
-int main()
+int main(int, char**)
{
test<std::list<int>>();
test<std::list<int, min_allocator<int>>> ();
@@ -74,4 +74,6 @@ int main()
test<std::list<long>>();
test<std::list<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.erasure/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.erasure/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.erasure/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.erasure/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0(S({1,2,3}), False, S({1,2,3}));
}
-int main()
+int main(int, char**)
{
test<std::list<int>>();
test<std::list<int, min_allocator<int>>> ();
@@ -74,4 +74,6 @@ int main()
test<std::list<long>>();
test<std::list<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a[] = {1, 2, 3};
@@ -34,4 +34,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ public:
double getd() const {return d_;}
};
-int main()
+int main(int, char**)
{
{
std::list<A> c;
@@ -63,4 +63,6 @@ int main()
assert(c.back().getd() == 4.5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ public:
double getd() const {return d_;}
};
-int main()
+int main(int, char**)
{
{
std::list<A> c;
@@ -84,4 +84,6 @@ int main()
assert(c.back().geti() == 3);
assert(c.back().getd() == 4.5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace_front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace_front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace_front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/emplace_front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -33,7 +33,7 @@ public:
double getd() const {return d_;}
};
-int main()
+int main(int, char**)
{
{
std::list<A> c;
@@ -84,4 +84,6 @@ int main()
assert(c.back().geti() == 2);
assert(c.back().getd() == 3.5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/erase_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/erase_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/erase_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/erase_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -61,4 +61,6 @@ int main()
assert(distance(l1.begin(), l1.end()) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/erase_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/erase_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/erase_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/erase_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
int a1[] = {1, 2, 3};
{
@@ -80,4 +80,6 @@ int main()
assert(i == l1.begin());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> d(10, 1);
@@ -61,4 +61,6 @@ int main()
assert(*i++ == 1);
assert(*i++ == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -81,10 +81,12 @@ void test() {
#endif
}
-int main()
+int main(int, char**)
{
test<std::list<int> >();
#if TEST_STD_VER >= 11
test<std::list<int, min_allocator<int>>>();
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<MoveOnly> l1;
@@ -40,4 +40,6 @@ int main()
assert(l1.front() == MoveOnly(2));
assert(l1.back() == MoveOnly(1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,10 +44,12 @@ void test() {
#endif
}
-int main()
+int main(int, char**)
{
test<std::list<int> >();
#if TEST_STD_VER >= 11
test<std::list<int, min_allocator<int>>>();
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/insert_iter_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -46,10 +46,12 @@ void test()
#endif
}
-int main()
+int main(int, char**)
{
test<std::list<int> >();
#if TEST_STD_VER >= 11
test<std::list<int, min_allocator<int>>>();
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/pop_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/pop_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/pop_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/pop_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a[] = {1, 2, 3};
@@ -40,4 +40,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/pop_front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/pop_front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/pop_front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/pop_front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a[] = {1, 2, 3};
@@ -39,4 +39,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> c;
@@ -33,4 +33,6 @@ int main()
assert((c == std::list<int, min_allocator<int>>(a, a+5)));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back_exception_safety.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back_exception_safety.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back_exception_safety.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back_exception_safety.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,7 @@ CMyClass::~CMyClass() {
assert(fMagicValue == kFinishedConstructionMagicValue);
}
-int main()
+int main(int, char**)
{
CMyClass instance;
std::list<CMyClass> vec;
@@ -70,4 +70,6 @@ int main()
}
catch (...) {
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_back_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<MoveOnly> l1;
@@ -40,4 +40,6 @@ int main()
assert(l1.front() == MoveOnly(1));
assert(l1.back() == MoveOnly(2));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<int> c;
@@ -33,4 +33,6 @@ int main()
assert((c == std::list<int, min_allocator<int>>(a, a+5)));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front_exception_safety.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front_exception_safety.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front_exception_safety.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front_exception_safety.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,7 @@ CMyClass::~CMyClass() {
assert(fMagicValue == kFinishedConstructionMagicValue);
}
-int main()
+int main(int, char**)
{
CMyClass instance;
std::list<CMyClass> vec;
@@ -70,4 +70,6 @@ int main()
}
catch (...) {
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.modifiers/push_front_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::list<MoveOnly> l1;
@@ -40,4 +40,6 @@ int main()
assert(l1.front() == MoveOnly(2));
assert(l1.back() == MoveOnly(1));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 3, 7, 9, 10};
@@ -48,4 +48,6 @@ int main()
assert(c2.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/merge_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/merge_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/merge_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/merge_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a1[] = {10, 9, 7, 3, 1};
@@ -48,4 +48,6 @@ int main()
assert(c2.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/remove.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/remove.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/remove.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/remove.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ struct S {
int *i_;
};
-int main() {
+int main(int, char**) {
{
int a1[] = {1, 2, 3, 4};
int a2[] = {1, 2, 4};
@@ -79,4 +79,6 @@ int main() {
assert((c == std::list<int, min_allocator<int>>(a2, a2 + 3)));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/remove_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/remove_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/remove_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/remove_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ bool g(int i)
typedef unary_counting_predicate<bool(*)(int), int> Predicate;
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3, 4};
@@ -60,4 +60,6 @@ int main()
assert(cp.count() == 4);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/reverse.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/reverse.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/reverse.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/reverse.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a1[] = {11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0};
@@ -33,4 +33,6 @@ int main()
assert((c1 == std::list<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0]))));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/sort.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/sort.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/sort.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/sort.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a1[] = {4, 8, 1, 0, 5, 7, 2, 3, 6, 11, 10, 9};
@@ -33,4 +33,6 @@ int main()
assert((c1 == std::list<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0]))));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/sort_comp.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/sort_comp.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/sort_comp.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/sort_comp.pass.cpp Mon Feb 4 12:31:13 2019
@@ -35,7 +35,7 @@ struct throwingLess {
#endif
-int main()
+int main(int, char**)
{
{
int a1[] = {4, 8, 1, 0, 5, 7, 2, 3, 6, 11, 10, 9};
@@ -75,4 +75,6 @@ int main()
assert((c1 == std::list<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0]))));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
int a1[] = {1, 2, 3};
int a2[] = {4, 5, 6};
@@ -780,4 +780,6 @@ int main()
assert(*i == 6);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
int a1[] = {1, 2, 3};
int a2[] = {4, 5, 6};
@@ -334,4 +334,6 @@ int main()
assert(*i == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/splice_pos_list_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
int a1[] = {1, 2, 3};
int a2[] = {4, 5, 6};
@@ -214,4 +214,6 @@ int main()
assert(*i == 4);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/unique.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/unique.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/unique.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/unique.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a1[] = {2, 1, 1, 4, 4, 4, 4, 3, 3};
@@ -33,4 +33,6 @@ int main()
assert((c == std::list<int, min_allocator<int>>(a2, a2+4)));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/unique_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.ops/unique_pred.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.ops/unique_pred.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.ops/unique_pred.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@ bool g(int x, int y)
return x == y;
}
-int main()
+int main(int, char**)
{
{
int a1[] = {2, 1, 1, 4, 4, 4, 4, 3, 3};
@@ -38,4 +38,6 @@ int main()
assert((c == std::list<int, min_allocator<int>>(a2, a2+4)));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.special/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.special/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.special/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.special/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 3, 7, 9, 10};
@@ -136,4 +136,6 @@ int main()
assert(c2.get_allocator() == A());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/list.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,7 +52,7 @@ struct some_alloc2
typedef std::true_type is_always_equal;
};
-int main()
+int main(int, char**)
{
{
typedef std::list<MoveOnly> C;
@@ -85,4 +85,6 @@ int main()
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/list/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
struct A { std::list<A> v; }; // incomplete type support
-int main()
+int main(int, char**)
{
{
typedef std::list<int> C;
@@ -65,4 +65,6 @@ int main()
typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/nothing_to_do.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/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/containers/sequences/vector.bool/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool, test_allocator<bool> > l(3, true, test_allocator<bool>(5));
@@ -40,4 +40,6 @@ int main()
assert(l2.get_allocator() == min_allocator<bool>());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/assign_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/assign_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/assign_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/assign_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> d;
@@ -37,4 +37,6 @@ int main()
assert(d[2] == false);
assert(d[3] == true);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5));
@@ -75,4 +75,6 @@ int main()
assert(l.empty());
assert(l2.get_allocator() == lo.get_allocator());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/capacity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/capacity.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/capacity.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/capacity.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> v;
@@ -40,4 +40,6 @@ int main()
assert(v.capacity() >= 101);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/construct_default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/construct_default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/construct_default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/construct_default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -59,7 +59,7 @@ test1(const typename C::allocator_type&
assert(c.get_allocator() == a);
}
-int main()
+int main(int, char**)
{
{
test0<std::vector<bool> >();
@@ -75,4 +75,6 @@ int main()
test1<std::vector<bool, explicit_allocator<bool> > >(explicit_allocator<bool>());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/construct_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/construct_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/construct_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/construct_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(Iterator first, Iterator last)
assert(*i == *first);
}
-int main()
+int main(int, char**)
{
bool a[] = {0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0};
bool* an = a + sizeof(a)/sizeof(a[0]);
@@ -46,4 +46,6 @@ int main()
test<std::vector<bool, min_allocator<bool>> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an));
test<std::vector<bool, min_allocator<bool>> >(a, an);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/construct_iter_iter_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/construct_iter_iter_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/construct_iter_iter_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/construct_iter_iter_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@ test(Iterator first, Iterator last, cons
assert(*i == *first);
}
-int main()
+int main(int, char**)
{
bool a[] = {0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0};
bool* an = a + sizeof(a)/sizeof(a[0]);
@@ -53,4 +53,6 @@ int main()
test<std::vector<bool, min_allocator<bool>> >(a, an, alloc);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -56,11 +56,13 @@ test(typename C::size_type n)
test2<C> ( n );
}
-int main()
+int main(int, char**)
{
test<std::vector<bool> >(50);
#if TEST_STD_VER >= 11
test<std::vector<bool, min_allocator<bool>> >(50);
test2<std::vector<bool, test_allocator<bool>> >( 100, test_allocator<bool>(23));
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,10 +28,12 @@ test(typename C::size_type n, const type
assert(*i == x);
}
-int main()
+int main(int, char**)
{
test<std::vector<bool> >(50, true);
#if TEST_STD_VER >= 11
test<std::vector<bool, min_allocator<bool>> >(50, true);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size_value_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size_value_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size_value_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/construct_size_value_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,10 +30,12 @@ test(typename C::size_type n, const type
assert(*i == x);
}
-int main()
+int main(int, char**)
{
test<std::vector<bool> >(50, true, std::allocator<bool>());
#if TEST_STD_VER >= 11
test<std::vector<bool, min_allocator<bool>> >(50, true, min_allocator<bool>());
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ test(const C& x)
assert(c == x);
}
-int main()
+int main(int, char**)
{
{
bool a[] = {0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0};
@@ -61,4 +61,6 @@ int main()
assert(v2.get_allocator() == v.get_allocator());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ test(const C& x, const typename C::alloc
assert(c == x);
}
-int main()
+int main(int, char**)
{
{
bool a[] = {0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0};
@@ -60,4 +60,6 @@ int main()
assert(l2.get_allocator() == min_allocator<bool>());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -50,4 +50,6 @@ int main()
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@ struct some_alloc
~some_alloc() noexcept(false);
};
-int main()
+int main(int, char**)
{
{
typedef std::vector<bool> C;
@@ -46,4 +46,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include <cassert>
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::vector<bool> C;
@@ -63,4 +63,6 @@ int main()
assert(c[1] == true);
assert(c.back() == true);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/emplace_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/emplace_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/emplace_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/emplace_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::vector<bool> C;
@@ -87,4 +87,6 @@ int main()
assert(c[1] == true);
assert(c.back() == true);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::vector<bool> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::vector<bool> C;
@@ -42,4 +42,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/enabled_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/enabled_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/enabled_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/enabled_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,10 +18,12 @@
#include "poisoned_hash_helper.hpp"
#include "min_allocator.h"
-int main() {
+int main(int, char**) {
test_library_hash_specializations_available();
{
test_hash_enabled_for_type<std::vector<bool> >();
test_hash_enabled_for_type<std::vector<bool, min_allocator<bool>>>();
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/erase_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/erase_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/erase_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/erase_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
bool a1[] = {1, 0, 1};
{
@@ -61,4 +61,6 @@ int main()
assert(distance(l1.begin(), l1.end()) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/erase_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/erase_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/erase_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/erase_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
bool a1[] = {1, 0, 1};
{
@@ -81,4 +81,6 @@ int main()
assert(i == l1.begin());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/find.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/find.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/find.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include <cassert>
#include <cstddef>
-int main()
+int main(int, char**)
{
{
for (unsigned i = 1; i < 256; ++i)
@@ -38,4 +38,6 @@ int main()
assert(b.end() == j);
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> d = {true, false, false, true};
@@ -35,4 +35,6 @@ int main()
assert(d[2] == false);
assert(d[3] == true);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/initializer_list_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/initializer_list_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/initializer_list_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/initializer_list_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool, test_allocator<bool>> d({true, false, false, true}, test_allocator<bool>(3));
@@ -38,4 +38,6 @@ int main()
assert(d[2] == false);
assert(d[3] == true);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> d(10, true);
@@ -59,4 +59,6 @@ int main()
assert(d[12] == true);
assert(d[13] == true);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> v(100);
@@ -125,4 +125,6 @@ int main()
assert(v[j] == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> v(100);
@@ -78,4 +78,6 @@ int main()
assert(v[j] == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/insert_iter_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> v(100);
@@ -74,4 +74,6 @@ int main()
assert(v[j] == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef bool T;
@@ -120,4 +120,6 @@ int main()
assert (ii1 - cii == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5));
@@ -89,4 +89,6 @@ int main()
assert(a.get_data() == 42);
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5));
@@ -71,4 +71,6 @@ int main()
assert(l.empty());
assert(l2.get_allocator() == min_allocator<bool>());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -56,7 +56,7 @@ struct some_alloc3
typedef std::false_type is_always_equal;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -97,4 +97,6 @@ int main()
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -56,4 +56,6 @@ int main()
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
#endif
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/op_equal_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/op_equal_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/op_equal_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/op_equal_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> d;
@@ -37,4 +37,6 @@ int main()
assert(d[2] == false);
assert(d[3] == true);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/push_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/push_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/push_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/push_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
bool a[] = {0, 1, 1, 0, 1, 0, 0};
@@ -45,4 +45,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/reference.swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/reference.swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/reference.swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/reference.swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
bool a[] = {false, true, false, true};
@@ -35,4 +35,6 @@ int main()
v.swap(r1, r2);
assert( r1);
assert(!r2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/reserve.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/reserve.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/reserve.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/reserve.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> v;
@@ -50,4 +50,6 @@ int main()
assert(v.capacity() >= 150);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/resize_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/resize_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/resize_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/resize_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> v(100);
@@ -46,4 +46,6 @@ int main()
assert(v.capacity() >= 400);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/resize_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/resize_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/resize_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/resize_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> v(100);
@@ -48,4 +48,6 @@ int main()
assert(v[i] == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/shrink_to_fit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/shrink_to_fit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/shrink_to_fit.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/shrink_to_fit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> v(100);
@@ -34,4 +34,6 @@ int main()
assert(v.size() >= 101);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::vector<bool> C;
@@ -58,4 +58,6 @@ int main()
assert(c.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<bool> v1(100);
@@ -94,4 +94,6 @@ int main()
assert(v[1] == true);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,7 +52,7 @@ struct some_alloc2
typedef std::true_type is_always_equal;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -89,4 +89,6 @@ int main()
}
#endif // _LIBCPP_VERSION
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -67,7 +67,7 @@ test()
std::reverse_iterator<typename C::const_iterator> >::value), "");
}
-int main()
+int main(int, char**)
{
test<test_allocator<bool> >();
test<std::allocator<bool> >();
@@ -76,4 +76,6 @@ int main()
#if TEST_STD_VER >= 11
test<min_allocator<bool> >();
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::vector<bool> T;
@@ -50,4 +50,6 @@ int main()
assert(h(vb) != 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <vector>
-int main()
+int main(int, char**)
{
std::vector<int, std::allocator<long> > v;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/contiguous.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/contiguous.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/contiguous.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/contiguous.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@ void test_contiguous ( const C &c )
assert ( *(c.begin() + static_cast<typename C::difference_type>(i)) == *(std::addressof(*c.begin()) + i));
}
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -48,4 +48,6 @@ int main()
test_contiguous(C(9, 11.0, A{}));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ struct A
int second;
};
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -166,4 +166,6 @@ int main()
assert (ii1 - cii == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -78,7 +78,7 @@ test()
std::reverse_iterator<typename C::const_iterator> >::value), "");
}
-int main()
+int main(int, char**)
{
test<int, test_allocator<int> >();
test<int*, std::allocator<int*> >();
@@ -104,4 +104,6 @@ int main()
// typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/capacity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/capacity.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/capacity.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/capacity.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> v;
@@ -44,4 +44,6 @@ int main()
assert(is_contiguous_container_asan_correct(v));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::vector<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::vector<int> C;
@@ -42,4 +42,6 @@ int main()
assert(c.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "test_macros.h"
-int main() {
+int main(int, char**) {
{
typedef limited_allocator<int, 10> A;
typedef std::vector<int, A> C;
@@ -44,4 +44,6 @@ int main() {
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> v;
@@ -66,4 +66,6 @@ int main()
assert(is_contiguous_container_asan_correct(v));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/resize_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/resize_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/resize_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/resize_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> v(100);
@@ -80,4 +80,6 @@ int main()
assert(is_contiguous_container_asan_correct(v));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/resize_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/resize_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/resize_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/resize_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> v(100);
@@ -73,4 +73,6 @@ int main()
assert(is_contiguous_container_asan_correct(v));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> v(100);
@@ -58,4 +58,6 @@ int main()
assert(is_contiguous_container_asan_correct(v));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::vector<int> C;
@@ -58,4 +58,6 @@ int main()
assert(c.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.capacity/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -16,7 +16,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> v1(100);
@@ -46,4 +46,6 @@ int main()
assert(is_contiguous_container_asan_correct(v2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -15,7 +15,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<int, test_allocator<int> > l(3, 2, test_allocator<int>(5));
@@ -40,4 +40,6 @@ int main()
assert(l2.get_allocator() == min_allocator<int>());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ void test ( Vec &v )
assert(v[3] == 6);
}
-int main()
+int main(int, char**)
{
{
typedef std::vector<int> V;
@@ -48,4 +48,6 @@ int main()
test(d1);
test(d2);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -69,7 +69,9 @@ void test_emplaceable_concept() {
-int main()
+int main(int, char**)
{
test_emplaceable_concept();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5));
@@ -95,4 +95,6 @@ int main()
assert(l2.get_allocator() == lo.get_allocator());
assert(is_contiguous_container_asan_correct(l2));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/assign_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ void test ( Vec &v )
assert(std::all_of(v.begin(), v.end(), is6));
}
-int main()
+int main(int, char**)
{
{
typedef std::vector<int> V;
@@ -50,4 +50,6 @@ int main()
test(d2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -60,7 +60,7 @@ test1(const typename C::allocator_type&
LIBCPP_ASSERT(is_contiguous_container_asan_correct(c));
}
-int main()
+int main(int, char**)
{
{
test0<std::vector<int> >();
@@ -98,4 +98,6 @@ int main()
assert(v.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -176,9 +176,11 @@ void test_ctor_with_different_value_type
}
-int main() {
+int main(int, char**) {
basic_test_cases();
emplaceable_concept_tests(); // See PR34898
test_ctor_under_alloc();
test_ctor_with_different_value_type();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_iter_iter_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_iter_iter_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_iter_iter_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_iter_iter_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -162,8 +162,10 @@ void test_ctor_under_alloc() {
#endif
}
-int main() {
+int main(int, char**) {
basic_tests();
emplaceable_concept_tests(); // See PR34898
test_ctor_under_alloc();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -60,7 +60,7 @@ test(typename C::size_type n)
test2<C> ( n );
}
-int main()
+int main(int, char**)
{
test<std::vector<int> >(50);
test<std::vector<DefaultOnly> >(500);
@@ -71,4 +71,6 @@ int main()
test2<std::vector<DefaultOnly, test_allocator<DefaultOnly>> >( 100, test_allocator<DefaultOnly>(23));
assert(DefaultOnly::count == 0);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(typename C::size_type n, const type
assert(*i == x);
}
-int main()
+int main(int, char**)
{
test<std::vector<int> >(50, 3);
// Add 1 for implementations that dynamically allocate a container proxy.
@@ -38,4 +38,6 @@ int main()
#if TEST_STD_VER >= 11
test<std::vector<int, min_allocator<int>> >(50, 3);
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size_value_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size_value_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size_value_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/construct_size_value_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,10 +31,12 @@ test(typename C::size_type n, const type
assert(*i == x);
}
-int main()
+int main(int, char**)
{
test<std::vector<int> >(50, 3, std::allocator<int>());
#if TEST_STD_VER >= 11
test<std::vector<int, min_allocator<int>> >(50, 3, min_allocator<int>());
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(const C& x)
LIBCPP_ASSERT(is_contiguous_container_asan_correct(c));
}
-int main()
+int main(int, char**)
{
{
int a[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 1, 0};
@@ -74,4 +74,6 @@ int main()
assert(is_contiguous_container_asan_correct(v2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ test(const C& x, const typename C::alloc
LIBCPP_ASSERT(is_contiguous_container_asan_correct(c));
}
-int main()
+int main(int, char**)
{
{
int a[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 1, 0};
@@ -62,4 +62,6 @@ int main()
assert(l2.get_allocator() == min_allocator<int>());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include <cstddef>
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -36,4 +36,6 @@ int main()
// deque<allocator<int>, allocator<allocator<int>>>
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
struct A {};
-int main()
+int main(int, char**)
{
// Test the explicit deduction guides
@@ -112,4 +112,6 @@ int main()
static_assert(std::is_same_v<decltype(vec)::allocator_type, std::allocator<bool>>, "");
assert(vec.size() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/default.recursive.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/default.recursive.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/default.recursive.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/default.recursive.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,6 +17,8 @@ struct X
std::vector<X> q;
};
-int main()
+int main(int, char**)
{
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
{
typedef std::vector<MoveOnly> C;
@@ -47,4 +47,6 @@ int main()
typedef std::vector<MoveOnly, some_alloc<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ struct some_alloc
~some_alloc() noexcept(false);
};
-int main()
+int main(int, char**)
{
{
typedef std::vector<MoveOnly> C;
@@ -47,4 +47,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> d = {3, 4, 5, 6};
@@ -37,4 +37,6 @@ int main()
assert(d[2] == 5);
assert(d[3] == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/initializer_list_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/initializer_list_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/initializer_list_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/initializer_list_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int, test_allocator<int>> d({3, 4, 5, 6}, test_allocator<int>(3));
@@ -41,4 +41,6 @@ int main()
assert(d[2] == 5);
assert(d[3] == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5));
@@ -129,4 +129,6 @@ int main()
assert(a.get_data() == 42);
}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5));
@@ -93,4 +93,6 @@ int main()
assert(l2.get_allocator() == min_allocator<MoveOnly>());
assert(is_contiguous_container_asan_correct(l2));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -57,7 +57,7 @@ struct some_alloc3
};
-int main()
+int main(int, char**)
{
{
typedef std::vector<MoveOnly> C;
@@ -91,4 +91,6 @@ int main()
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
{
typedef std::vector<MoveOnly> C;
@@ -51,4 +51,6 @@ int main()
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
#endif
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/op_equal_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.cons/op_equal_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.cons/op_equal_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.cons/op_equal_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> d;
@@ -40,4 +40,6 @@ int main()
assert(d[2] == 5);
assert(d[3] == 6);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.data/data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.data/data.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.data/data.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.data/data.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ struct Nasty {
int i_;
};
-int main()
+int main(int, char**)
{
{
std::vector<int> v;
@@ -59,4 +59,6 @@ int main()
assert(is_contiguous_container_asan_correct(v));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.data/data_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.data/data_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.data/data_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.data/data_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@ struct Nasty {
int i_;
};
-int main()
+int main(int, char**)
{
{
const std::vector<int> v;
@@ -59,4 +59,6 @@ int main()
assert(is_contiguous_container_asan_correct(v));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.erasure/erase.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.erasure/erase.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.erasure/erase.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.erasure/erase.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0(S({1,2,1}), opt(3), S({1,2,1}));
}
-int main()
+int main(int, char**)
{
test<std::vector<int>>();
test<std::vector<int, min_allocator<int>>> ();
@@ -74,4 +74,6 @@ int main()
test<std::vector<long>>();
test<std::vector<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.erasure/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.erasure/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.erasure/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.erasure/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,7 +66,7 @@ void test()
test0(S({1,2,3}), False, S({1,2,3}));
}
-int main()
+int main(int, char**)
{
test<std::vector<int>>();
test<std::vector<int, min_allocator<int>>> ();
@@ -74,4 +74,6 @@ int main()
test<std::vector<long>>();
test<std::vector<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
int a[] = {1, 2, 3};
@@ -39,4 +39,6 @@ int main()
LIBCPP_ASSERT(is_contiguous_container_asan_correct(c));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -52,7 +52,7 @@ public:
double getd() const {return d_;}
};
-int main()
+int main(int, char**)
{
{
std::vector<A> c;
@@ -132,4 +132,6 @@ int main()
assert(c.back().geti() == 3);
assert(c.back().getd() == 4.5);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ public:
double getd() const {return d_;}
};
-int main()
+int main(int, char**)
{
{
std::vector<A> c;
@@ -144,4 +144,6 @@ int main()
assert(c.size() == 2);
assert(is_contiguous_container_asan_correct(c));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace_extra.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace_extra.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace_extra.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/emplace_extra.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> v;
@@ -56,4 +56,6 @@ int main()
assert(v[0] == 3);
assert(is_contiguous_container_asan_correct(v));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ struct Throws {
bool Throws::sThrows = false;
#endif
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -99,4 +99,6 @@ int main()
assert(v.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/erase_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/erase_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/erase_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/erase_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ struct Throws {
bool Throws::sThrows = false;
#endif
-int main()
+int main(int, char**)
{
int a1[] = {1, 2, 3};
{
@@ -152,4 +152,6 @@ int main()
assert(v.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_initializer_list.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_initializer_list.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> d(10, 1);
@@ -62,4 +62,6 @@ int main()
assert(d[12] == 1);
assert(d[13] == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_iter_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_iter_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
typedef std::vector<int> V;
@@ -171,4 +171,6 @@ int main()
assert(v[j] == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<MoveOnly> v(100);
@@ -62,4 +62,6 @@ int main()
for (++j; j < 101; ++j)
assert(v[j] == MoveOnly());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_size_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_size_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_size_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_size_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> v(100);
@@ -111,4 +111,6 @@ int main()
assert(v[j] == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_value.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_value.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/insert_iter_value.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> v(100);
@@ -93,4 +93,6 @@ int main()
assert(v[j] == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/pop_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/pop_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/pop_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/pop_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> c;
@@ -37,4 +37,6 @@ int main()
assert(c.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<int> c;
@@ -108,4 +108,6 @@ int main()
assert(c[j] == j);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back_exception_safety.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back_exception_safety.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back_exception_safety.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back_exception_safety.pass.cpp Mon Feb 4 12:31:13 2019
@@ -64,7 +64,7 @@ CMyClass::~CMyClass() {
bool operator==(const CMyClass &lhs, const CMyClass &rhs) { return lhs.equal(rhs); }
-int main()
+int main(int, char**)
{
CMyClass instance(42);
std::vector<CMyClass> vec;
@@ -85,4 +85,6 @@ int main()
assert(is_contiguous_container_asan_correct(vec));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/push_back_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
std::vector<MoveOnly> c;
@@ -109,4 +109,6 @@ int main()
for (int j = 0; static_cast<std::size_t>(j) < c.size(); ++j)
assert(c[j] == MoveOnly(j));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.special/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.special/swap.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.special/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.special/swap.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "min_allocator.h"
#include "asan_testing.h"
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 3, 7, 9, 10};
@@ -178,4 +178,6 @@ int main()
assert(is_contiguous_container_asan_correct(c2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.special/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.special/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.special/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.special/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,7 +53,7 @@ struct some_alloc2
typedef std::true_type is_always_equal;
};
-int main()
+int main(int, char**)
{
{
typedef std::vector<MoveOnly> C;
@@ -85,4 +85,6 @@ int main()
static_assert( noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/iterator_difference_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/iterator_difference_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/iterator_difference_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/iterator_difference_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -73,7 +73,7 @@ void testUnorderedSet() {
}
}
-int main() {
+int main(int, char**) {
{
typedef std::unordered_map<int, int> Map;
typedef std::pair<const int, int> ValueTp;
@@ -150,4 +150,6 @@ int main() {
testUnorderedSet<Set, ValueTp, min_pointer<const ValueTp>>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <unordered_map>
-int main()
+int main(int, char**)
{
std::unordered_map<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/bucket.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/bucket.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/bucket.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/bucket.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -74,4 +74,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/bucket_count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/bucket_count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/bucket_count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/bucket_count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -71,4 +71,6 @@ int main()
assert(c.bucket_count() >= 8);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/bucket_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/bucket_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/bucket_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/bucket_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -78,4 +78,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/compare.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/compare.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@ namespace std
};
}
-int main()
+int main(int, char**)
{
typedef std::unordered_map<Key, int> MapT;
typedef MapT::iterator Iter;
@@ -42,4 +42,6 @@ int main()
std::pair<Iter, bool> result = map.insert(std::make_pair(Key(0), 42));
assert(result.second);
assert(result.first->second == 42);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -61,4 +61,6 @@ int main()
assert(c.count(5) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::unordered_map<int, int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, double> M;
@@ -42,4 +42,6 @@ int main()
assert(m.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/eq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -159,4 +159,6 @@ int main()
assert(!(c1 != c2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/equal_range_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/equal_range_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/equal_range_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/equal_range_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -71,4 +71,6 @@ int main()
assert(std::distance(r.first, r.second) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/equal_range_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/equal_range_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/equal_range_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/equal_range_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -71,4 +71,6 @@ int main()
assert(std::distance(r.first, r.second) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -67,7 +67,7 @@ void test()
test0<S>({1,2,3}, False, {1,2,3});
}
-int main()
+int main(int, char**)
{
test<std::unordered_map<int, int>>();
test<std::unordered_map<int, int, std::hash<int>, std::equal_to<int>, min_allocator<std::pair<const int, int>>>> ();
@@ -75,5 +75,7 @@ int main()
test<std::unordered_map<long, short>>();
test<std::unordered_map<short, double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/find_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/find_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/find_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/find_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -67,4 +67,6 @@ int main()
assert(i == c.cend());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/find_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/find_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/find_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/find_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -67,4 +67,6 @@ int main()
assert(i == c.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/incomplete_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/incomplete_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/incomplete_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/incomplete_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,6 +31,8 @@ struct A {
inline bool operator==(A const& L, A const& R) { return &L == &R; }
-int main() {
+int main(int, char**) {
A a;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -126,4 +126,6 @@ int main()
assert (!(cii != ii1 ));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/load_factor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/load_factor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/load_factor.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/load_factor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -73,4 +73,6 @@ int main()
assert(c.load_factor() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/local_iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/local_iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/local_iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/local_iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -417,4 +417,6 @@ int main()
assert(i->second == "four");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/max_bucket_count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/max_bucket_count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/max_bucket_count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/max_bucket_count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -36,4 +36,6 @@ int main()
assert(c.max_bucket_count() > 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/max_load_factor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/max_load_factor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/max_load_factor.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/max_load_factor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -65,4 +65,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, int> KV;
{
@@ -49,4 +49,6 @@ int main()
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/rehash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/rehash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/rehash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/rehash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ void test(const C& c)
assert(c.at(4) == "four");
}
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -100,4 +100,6 @@ int main()
test(c);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/reserve.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/reserve.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/reserve.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/reserve.pass.cpp Mon Feb 4 12:31:13 2019
@@ -46,7 +46,7 @@ void reserve_invariant(size_t n) // LWG
}
}
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -104,4 +104,6 @@ int main()
}
#endif
reserve_invariant(20);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, double> M;
@@ -58,4 +58,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/swap_member.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/swap_member.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/swap_member.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/swap_member.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_hash<std::hash<int> > Hash;
@@ -567,4 +567,6 @@ int main()
assert(c2.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<char, short> C;
@@ -68,4 +68,6 @@ int main()
static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<NotConstructible, NotConstructible,
@@ -126,4 +126,6 @@ int main()
}
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<std::pair<const int, std::string> > A;
@@ -185,4 +185,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "../../../test_hash.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::allocator<std::pair<const int, std::string> > A;
@@ -93,4 +93,6 @@ int main()
assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<std::pair<const int, std::string> > A;
@@ -214,4 +214,6 @@ int main()
assert(c.max_load_factor() == 1);
assert(c0.size() == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,6 +26,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::unordered_map<int, int, std::hash<int>, Comp<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -148,4 +148,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -148,4 +148,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<NotConstructible, NotConstructible,
@@ -108,4 +108,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -72,4 +72,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<MoveOnly, MoveOnly> C;
@@ -65,4 +65,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,6 +26,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::unordered_map<int, int, Hash<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -159,4 +159,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif // TEST_STD_VER > 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -97,4 +97,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -99,4 +99,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -102,4 +102,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -140,4 +140,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -176,4 +176,6 @@ int main()
assert(s2.size() == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, std::string> P;
@@ -195,4 +195,6 @@ int main()
assert(c0.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<MoveOnly, MoveOnly> C;
@@ -71,4 +71,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -68,4 +68,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -169,4 +169,6 @@ int main()
}
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -104,4 +104,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -107,4 +107,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -109,4 +109,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string,
@@ -150,4 +150,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<NotConstructible, NotConstructible,
@@ -66,4 +66,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<NotConstructible, NotConstructible,
@@ -66,4 +66,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<NotConstructible, NotConstructible,
@@ -70,4 +70,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<NotConstructible, NotConstructible,
@@ -72,4 +72,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<NotConstructible, NotConstructible,
@@ -96,4 +96,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "min_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -140,4 +140,6 @@ int main()
#endif
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/index.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/index.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/index.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/index.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "container_test_types.h"
#endif
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -159,4 +159,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/index_tuple.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/index_tuple.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/index_tuple.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem/index_tuple.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,8 +28,10 @@ struct my_hash
size_t operator()(const tuple<int,int>&) const {return 0;}
};
-int main()
+int main(int, char**)
{
unordered_map<tuple<int,int>, size_t, my_hash> m;
m[make_tuple(2,3)]=7;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -60,4 +60,6 @@ int main()
assert(c.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "../../../Emplaceable.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, Emplaceable> C;
@@ -74,4 +74,6 @@ int main()
assert(r.first->first == 5);
assert(r.first->second == Emplaceable(6, 7));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/emplace_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/emplace_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/emplace_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/emplace_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "../../../Emplaceable.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, Emplaceable> C;
@@ -71,4 +71,6 @@ int main()
assert(r->first == 5);
assert(r->second == Emplaceable(6, 7));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_const_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_const_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_const_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_const_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ struct TemplateConstructor
bool operator==(const TemplateConstructor&, const TemplateConstructor&) { return false; }
struct Hash { size_t operator() (const TemplateConstructor &) const { return 0; } };
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -89,4 +89,6 @@ int main()
m.erase(it);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_db1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_db1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_db1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_db1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <unordered_map>
#include <cassert>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -31,8 +31,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_db2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_db2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_db2.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_db2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cstdlib>
#include <exception>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -34,8 +34,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -33,8 +33,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db2.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -33,8 +33,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db3.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db3.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -33,8 +33,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db4.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db4.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db4.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db4.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -32,8 +32,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -38,7 +38,7 @@ bool only_deletions ( const Unordered &w
#endif
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -174,4 +174,6 @@ int main()
assert (only_deletions (m, m2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/erase_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -95,4 +95,6 @@ int main()
assert(k == c.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/extract_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/extract_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/extract_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/extract_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ void test(Container& c)
assert(c.size() == 0);
}
-int main()
+int main(int, char**)
{
{
using map_type = std::unordered_map<int, int>;
@@ -63,4 +63,6 @@ int main()
min_alloc_map m = {{1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}};
test(m);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/extract_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/extract_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/extract_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/extract_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ void test(Container& c, KeyTypeIter firs
}
}
-int main()
+int main(int, char**)
{
{
std::unordered_map<int, int> m = {{1,1}, {2,2}, {3,3}, {4,4}, {5,5}, {6,6}};
@@ -72,4 +72,6 @@ int main()
int keys[] = {1, 2, 3, 4, 5, 6};
test(m, std::begin(keys), std::end(keys));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,10 +21,12 @@
#include "container_test_types.h"
#include "../../../map_allocator_requirement_test_templates.h"
-int main()
+int main(int, char**)
{
testMapInsert<TCT::unordered_map<> >();
testMapInsertHint<TCT::unordered_map<> >();
testMapEmplace<TCT::unordered_map<> >();
testMapEmplaceHint<TCT::unordered_map<> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_const_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_const_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_const_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_const_lvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -65,7 +65,7 @@ void do_insert_cv_test()
assert(r.first->second == 3);
}
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<double, int> M;
@@ -78,4 +78,6 @@ int main()
do_insert_cv_test<M>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_hint_const_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_hint_const_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_hint_const_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_hint_const_lvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -56,7 +56,7 @@ void do_insert_hint_const_lvalue_test()
assert(r->second == 4);
}
-int main()
+int main(int, char**)
{
do_insert_hint_const_lvalue_test<std::unordered_map<double, int> >();
#if TEST_STD_VER >= 11
@@ -80,4 +80,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_hint_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_hint_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_hint_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_hint_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<double, int> C;
@@ -173,4 +173,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -66,4 +66,6 @@ int main()
assert(c.at(3) == "three");
assert(c.at(4) == "four");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_node_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_node_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_node_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_node_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -74,10 +74,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::unordered_map<int, int> m;
test(m);
std::unordered_map<int, int, std::hash<int>, std::equal_to<int>, min_allocator<std::pair<const int, int>>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_node_type_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_node_type_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_node_type_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_node_type_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -54,10 +54,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::unordered_map<int, int> m;
test(m);
std::unordered_map<int, int, std::hash<int>, std::equal_to<int>, min_allocator<std::pair<const int, int>>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_or_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_or_assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_or_assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_or_assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -61,7 +61,7 @@ namespace std {
};
}
-int main()
+int main(int, char**)
{
{ // pair<iterator, bool> insert_or_assign(const key_type& k, M&& obj);
@@ -188,4 +188,6 @@ int main()
assert(r->second.get() == 5); // value
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<int, std::string> C;
@@ -67,4 +67,6 @@ int main()
assert(c.at(4) == "four");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/insert_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_map<double, int> C;
@@ -172,4 +172,6 @@ int main()
assert(r.first->first == 5.5);
assert(r.first->second == 4);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ struct throw_hasher
};
#endif
-int main()
+int main(int, char**)
{
{
std::unordered_map<int, int> src{{1, 0}, {3, 0}, {5, 0}};
@@ -153,4 +153,5 @@ int main()
first.merge(std::move(second));
}
}
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/try.emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/try.emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/try.emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.modifiers/try.emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -60,7 +60,7 @@ namespace std {
};
}
-int main()
+int main(int, char**)
{
{ // pair<iterator, bool> try_emplace(const key_type& k, Args&&... args);
@@ -185,4 +185,6 @@ int main()
assert(r->first.get() == 3); // key
assert(r->second.get() == 4); // value
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/db_swap_1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/db_swap_1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/db_swap_1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/db_swap_1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include <unordered_map>
#include <cassert>
-int main()
+int main(int, char**)
{
#if _LIBCPP_DEBUG >= 1
{
@@ -40,4 +40,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -119,7 +119,7 @@ struct some_alloc3
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> MapType;
{
@@ -188,4 +188,6 @@ int main()
}
#endif // _LIBCPP_VERSION
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/swap_non_member.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/swap_non_member.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/swap_non_member.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.swap/swap_non_member.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_hash<std::hash<int> > Hash;
@@ -567,4 +567,6 @@ int main()
assert(c2.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <unordered_map>
-int main()
+int main(int, char**)
{
std::unordered_multimap<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/bucket.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/bucket.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/bucket.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/bucket.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -74,4 +74,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/bucket_count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/bucket_count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/bucket_count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/bucket_count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -44,4 +44,6 @@ int main()
const C c(std::begin(a), std::end(a));
assert(c.bucket_count() >= 8);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/bucket_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/bucket_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/bucket_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/bucket_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -82,4 +82,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -67,4 +67,6 @@ int main()
assert(c.count(5) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/db_iterators_7.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/db_iterators_7.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/db_iterators_7.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/db_iterators_7.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -52,8 +52,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/db_iterators_8.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/db_iterators_8.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/db_iterators_8.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/db_iterators_8.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -48,8 +48,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/db_local_iterators_7.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/db_local_iterators_7.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/db_local_iterators_7.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/db_local_iterators_7.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -49,8 +49,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/db_local_iterators_8.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/db_local_iterators_8.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/db_local_iterators_8.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/db_local_iterators_8.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -46,8 +46,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::unordered_multimap<int, int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, double> M;
@@ -42,4 +42,6 @@ int main()
assert(m.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/eq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -177,4 +177,6 @@ int main()
assert(!(c1 != c2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/equal_range_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/equal_range_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/equal_range_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/equal_range_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -100,4 +100,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/equal_range_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/equal_range_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/equal_range_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/equal_range_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -100,4 +100,6 @@ int main()
}
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -78,7 +78,7 @@ void test()
test0<S>({1,2,3}, False, {1,2,3});
}
-int main()
+int main(int, char**)
{
test<std::unordered_multimap<int, int>>();
test<std::unordered_multimap<int, int, std::hash<int>, std::equal_to<int>, min_allocator<std::pair<const int, int>>>> ();
@@ -86,4 +86,6 @@ int main()
test<std::unordered_multimap<long, short>>();
test<std::unordered_multimap<short, double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/find_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/find_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/find_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/find_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -67,4 +67,6 @@ int main()
assert(i == c.cend());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/find_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/find_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/find_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/find_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -67,4 +67,6 @@ int main()
assert(i == c.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/incomplete.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/incomplete.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/incomplete.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/incomplete.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,6 +31,8 @@ struct A {
inline bool operator==(A const& L, A const& R) { return &L == &R; }
-int main() {
+int main(int, char**) {
A a;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.fail.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -67,4 +67,6 @@ int main()
assert(std::distance(c.begin(), c.end()) == c.size());
assert(std::distance(c.cbegin(), c.cend()) == c.size());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -132,4 +132,6 @@ int main()
assert (!(cii != ii1 ));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/load_factor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/load_factor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/load_factor.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/load_factor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -72,4 +72,6 @@ int main()
assert(c.load_factor() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/local_iterators.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/local_iterators.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/local_iterators.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/local_iterators.fail.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -284,4 +284,6 @@ int main()
j = c.cend(b);
assert(std::distance(i, j) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/local_iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/local_iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/local_iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/local_iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -658,4 +658,6 @@ int main()
assert(std::distance(i, j) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/max_bucket_count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/max_bucket_count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/max_bucket_count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/max_bucket_count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -35,4 +35,6 @@ int main()
assert(c.max_bucket_count() > 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/max_load_factor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/max_load_factor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/max_load_factor.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/max_load_factor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -63,4 +63,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
typedef std::pair<const int, int> KV;
{
@@ -51,4 +51,6 @@ int main()
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/rehash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/rehash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/rehash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/rehash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -81,7 +81,7 @@ void test(const C& c)
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
}
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -144,4 +144,6 @@ int main()
test(c);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/reserve.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/reserve.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/reserve.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/reserve.pass.cpp Mon Feb 4 12:31:13 2019
@@ -61,7 +61,7 @@ void reserve_invariant(size_t n) // LWG
}
}
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -119,4 +119,6 @@ int main()
}
#endif
reserve_invariant(20);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/scary.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/scary.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/scary.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/scary.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,11 +14,13 @@
#include <unordered_map>
-int main()
+int main(int, char**)
{
typedef std::unordered_map<int, int> M1;
typedef std::unordered_multimap<int, int> M2;
M2::iterator i;
M1::iterator j = i;
((void)j);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, double> M;
@@ -58,4 +58,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/swap_member.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/swap_member.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/swap_member.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/swap_member.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_hash<std::hash<int> > Hash;
@@ -653,4 +653,6 @@ int main()
assert(c2.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<char, short> C;
@@ -68,4 +68,6 @@ int main()
static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<NotConstructible, NotConstructible,
@@ -126,4 +126,6 @@ int main()
}
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<std::pair<const int, std::string> > A;
@@ -227,4 +227,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<std::pair<const int, std::string> > A;
@@ -142,4 +142,6 @@ int main()
assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<std::pair<const int, std::string> > A;
@@ -291,4 +291,6 @@ int main()
assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,6 +26,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::unordered_multimap<int, int, std::hash<int>, Comp<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -190,4 +190,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -190,4 +190,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<NotConstructible, NotConstructible,
@@ -108,4 +108,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -71,4 +71,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<MoveOnly, MoveOnly> C;
@@ -64,4 +64,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -26,6 +26,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::unordered_multimap<int, int, Hash<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -251,4 +251,6 @@ int main()
assert(!(c.get_allocator() == A()));
}
#endif // TEST_STD_VER > 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -141,4 +141,6 @@ int main()
assert(c.key_eq() == test_compare<std::equal_to<int> >());
assert((c.get_allocator() == min_allocator<std::pair<const int, std::string> >()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -143,4 +143,6 @@ int main()
assert(c.key_eq() == test_compare<std::equal_to<int> >());
assert((c.get_allocator() == min_allocator<std::pair<const int, std::string> >()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -146,4 +146,6 @@ int main()
assert(c.key_eq() == test_compare<std::equal_to<int> >(9));
assert((c.get_allocator() == min_allocator<std::pair<const int, std::string> >()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -207,4 +207,6 @@ int main()
assert(c.key_eq() == test_compare<std::equal_to<int> >(9));
assert(c.get_allocator() == A{});
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -221,4 +221,6 @@ int main()
assert(s2.size() == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, std::string> P;
@@ -289,4 +289,6 @@ int main()
assert(c0.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<MoveOnly, MoveOnly> C;
@@ -70,4 +70,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -67,4 +67,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -262,4 +262,6 @@ int main()
}
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -148,4 +148,6 @@ int main()
assert((c.get_allocator() == min_allocator<std::pair<const int, std::string> >()));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -151,4 +151,6 @@ int main()
assert((c.get_allocator() == min_allocator<std::pair<const int, std::string> >()));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -153,4 +153,6 @@ int main()
assert((c.get_allocator() == min_allocator<std::pair<const int, std::string> >()));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,7 +32,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string,
@@ -217,4 +217,6 @@ int main()
assert(c.get_allocator() == A{});
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<NotConstructible, NotConstructible,
@@ -66,4 +66,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<NotConstructible, NotConstructible,
@@ -66,4 +66,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<NotConstructible, NotConstructible,
@@ -70,4 +70,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<NotConstructible, NotConstructible,
@@ -72,4 +72,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<NotConstructible, NotConstructible,
@@ -96,4 +96,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -60,4 +60,6 @@ int main()
assert(c.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "../../../Emplaceable.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, Emplaceable> C;
@@ -68,4 +68,6 @@ int main()
assert(r->first == 5);
assert(r->second == Emplaceable(6, 7));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "min_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, Emplaceable> C;
@@ -88,4 +88,6 @@ int main()
assert(r->first == 3);
LIBCPP_ASSERT(r->second == Emplaceable(5, 6));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_const_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_const_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_const_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_const_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@ struct TemplateConstructor
bool operator==(const TemplateConstructor&, const TemplateConstructor&) { return false; }
struct Hash { size_t operator() (const TemplateConstructor &) const { return 0; } };
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -143,4 +143,6 @@ int main()
m.erase(it);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <unordered_map>
#include <cassert>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -31,8 +31,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db2.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cstdlib>
#include <exception>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -34,8 +34,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -33,8 +33,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db2.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -33,8 +33,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db3.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db3.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -33,8 +33,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db4.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db4.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db4.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db4.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
typedef std::pair<int, int> P;
@@ -32,8 +32,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ bool only_deletions ( const Unordered &w
}
#endif
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -385,4 +385,6 @@ int main()
assert (only_deletions (m, m2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/erase_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -176,4 +176,6 @@ int main()
assert(k == c.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/extract_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/extract_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/extract_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/extract_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ void test(Container& c)
assert(c.size() == 0);
}
-int main()
+int main(int, char**)
{
{
using map_type = std::unordered_multimap<int, int>;
@@ -63,4 +63,6 @@ int main()
min_alloc_map m = {{1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}};
test(m);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/extract_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/extract_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/extract_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/extract_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ void test(Container& c, KeyTypeIter firs
}
}
-int main()
+int main(int, char**)
{
{
std::unordered_multimap<int, int> m =
@@ -73,4 +73,6 @@ int main()
int keys[] = {1, 2, 3, 4, 5, 6};
test(m, std::begin(keys), std::end(keys));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_allocator_requirements.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_allocator_requirements.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_allocator_requirements.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_allocator_requirements.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,8 +19,10 @@
#include "container_test_types.h"
#include "../../../map_allocator_requirement_test_templates.h"
-int main()
+int main(int, char**)
{
testMultimapInsert<TCT::unordered_multimap<> >();
testMultimapInsertHint<TCT::unordered_multimap<> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_const_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_const_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_const_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_const_lvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,7 +51,7 @@ void do_insert_const_lvalue_test()
assert(r->second == 4);
}
-int main()
+int main(int, char**)
{
do_insert_const_lvalue_test<std::unordered_multimap<double, int> >();
#if TEST_STD_VER >= 11
@@ -61,4 +61,6 @@ int main()
do_insert_const_lvalue_test<C>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_hint_const_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_hint_const_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_hint_const_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_hint_const_lvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -56,7 +56,7 @@ void do_insert_const_lvalue_test()
assert(r->second == 4);
}
-int main()
+int main(int, char**)
{
do_insert_const_lvalue_test<std::unordered_multimap<double, int> >();
#if TEST_STD_VER >= 11
@@ -79,4 +79,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_hint_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_hint_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_hint_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_hint_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<double, int> C;
@@ -173,4 +173,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -117,4 +117,6 @@ int main()
assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size());
assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_node_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_node_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_node_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_node_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -67,10 +67,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::unordered_multimap<int, int> m;
test(m);
std::unordered_multimap<int, int, std::hash<int>, std::equal_to<int>, min_allocator<std::pair<const int, int>>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_node_type_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_node_type_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_node_type_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_node_type_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -53,10 +53,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::unordered_multimap<int, int> m;
test(m);
std::unordered_multimap<int, int, std::hash<int>, std::equal_to<int>, min_allocator<std::pair<const int, int>>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<int, std::string> C;
@@ -118,4 +118,6 @@ int main()
assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multimap<double, int> C;
@@ -152,4 +152,6 @@ int main()
assert(r->first == 5.5);
assert(r->second == 4);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ struct throw_hasher
};
#endif
-int main()
+int main(int, char**)
{
{
std::unordered_multimap<int, int> src{{1, 0}, {3, 0}, {5, 0}};
@@ -153,4 +153,5 @@ int main()
first.merge(std::move(second));
}
}
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/db_swap_1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/db_swap_1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/db_swap_1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/db_swap_1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include <unordered_map>
#include <cassert>
-int main()
+int main(int, char**)
{
#if _LIBCPP_DEBUG >= 1
{
@@ -40,4 +40,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -118,7 +118,7 @@ struct some_alloc3
typedef std::false_type is_always_equal;
};
-int main()
+int main(int, char**)
{
typedef std::pair<const MoveOnly, MoveOnly> V;
{
@@ -187,4 +187,6 @@ int main()
}
#endif // _LIBCPP_VERSION
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_non_member.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_non_member.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_non_member.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_non_member.pass.cpp Mon Feb 4 12:31:13 2019
@@ -25,7 +25,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_hash<std::hash<int> > Hash;
@@ -579,4 +579,6 @@ int main()
assert(c2.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <unordered_set>
-int main()
+int main(int, char**)
{
std::unordered_multiset<int, std::hash<int>, std::less<int>, std::allocator<long> > v;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/bucket.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/bucket.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/bucket.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/bucket.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -73,4 +73,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/bucket_count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/bucket_count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/bucket_count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/bucket_count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -70,4 +70,6 @@ int main()
assert(c.bucket_count() >= 8);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/bucket_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/bucket_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/bucket_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/bucket_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -81,4 +81,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -59,4 +59,6 @@ int main()
assert(c.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -66,4 +66,6 @@ int main()
assert(c.count(5) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/db_iterators_7.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/db_iterators_7.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/db_iterators_7.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/db_iterators_7.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -50,8 +50,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/db_iterators_8.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/db_iterators_8.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/db_iterators_8.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/db_iterators_8.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -46,8 +46,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/db_local_iterators_7.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/db_local_iterators_7.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/db_local_iterators_7.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/db_local_iterators_7.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -49,8 +49,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/db_local_iterators_8.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/db_local_iterators_8.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/db_local_iterators_8.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/db_local_iterators_8.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -46,8 +46,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "../../Emplaceable.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<Emplaceable> C;
@@ -58,4 +58,6 @@ int main()
assert(c.size() == 3);
assert(*r == Emplaceable(5, 6));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/emplace_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/emplace_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/emplace_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/emplace_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "../../Emplaceable.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<Emplaceable> C;
@@ -61,4 +61,6 @@ int main()
assert(c.size() == 3);
assert(*r == Emplaceable(5, 6));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::unordered_multiset<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> M;
@@ -42,4 +42,6 @@ int main()
assert(m.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/eq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -176,4 +176,6 @@ int main()
assert(!(c1 != c2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/equal_range_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/equal_range_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/equal_range_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/equal_range_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -86,4 +86,6 @@ int main()
assert(*r.first == 50);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/equal_range_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/equal_range_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/equal_range_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/equal_range_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -86,4 +86,6 @@ int main()
assert(*r.first == 50);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_const_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_const_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_const_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_const_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ struct TemplateConstructor
bool operator==(const TemplateConstructor&, const TemplateConstructor&) { return false; }
struct Hash { size_t operator() (const TemplateConstructor &) const { return 0; } };
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -96,4 +96,6 @@ int main()
m.erase(it);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -79,7 +79,7 @@ void test()
test0<S>({1,2,3}, False, {1,2,3});
}
-int main()
+int main(int, char**)
{
test<std::unordered_multiset<int>>();
test<std::unordered_multiset<int, std::hash<int>, std::equal_to<int>, min_allocator<int>>> ();
@@ -87,4 +87,6 @@ int main()
test<std::unordered_multiset<long>>();
test<std::unordered_multiset<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_db1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_db1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_db1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_db1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <unordered_set>
#include <cassert>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -30,8 +30,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_db2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_db2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_db2.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_db2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cstdlib>
#include <exception>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -33,8 +33,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -32,8 +32,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db2.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -32,8 +32,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db3.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db3.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -32,8 +32,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db4.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db4.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db4.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_iter_iter_db4.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -31,8 +31,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ bool only_deletions ( const Unordered &w
}
#endif
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -172,4 +172,6 @@ int main()
assert (only_deletions (m, m2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/erase_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/erase_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/erase_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/erase_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -91,4 +91,6 @@ int main()
assert(k == c.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/extract_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/extract_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/extract_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/extract_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ void test(Container& c)
assert(c.size() == 0);
}
-int main()
+int main(int, char**)
{
{
using set_type = std::unordered_multiset<int>;
@@ -56,4 +56,6 @@ int main()
min_alloc_set m = {1, 2, 3, 4, 5, 6};
test(m);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/extract_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/extract_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/extract_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/extract_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ void test(Container& c, KeyTypeIter firs
}
}
-int main()
+int main(int, char**)
{
{
std::unordered_multiset<int> m = {1, 2, 3, 4, 5, 6};
@@ -67,4 +67,6 @@ int main()
int keys[] = {1, 2, 3, 4, 5, 6};
test(m, std::begin(keys), std::end(keys));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/find_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/find_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/find_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/find_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -64,4 +64,6 @@ int main()
assert(i == c.cend());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/find_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/find_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/find_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/find_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -64,4 +64,6 @@ int main()
assert(i == c.cend());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/incomplete.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/incomplete.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/incomplete.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/incomplete.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,6 +32,8 @@ struct A {
inline bool operator==(A const& L, A const& R) { return &L == &R; }
-int main() {
+int main(int, char**) {
A a;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/insert_const_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/insert_const_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/insert_const_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/insert_const_lvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -46,7 +46,7 @@ void do_insert_const_lvalue_test()
assert(*r == 5.5);
}
-int main()
+int main(int, char**)
{
do_insert_const_lvalue_test<std::unordered_multiset<double> >();
#if TEST_STD_VER >= 11
@@ -56,4 +56,6 @@ int main()
do_insert_const_lvalue_test<C>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/insert_emplace_allocator_requirements.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/insert_emplace_allocator_requirements.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/insert_emplace_allocator_requirements.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/insert_emplace_allocator_requirements.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,8 +18,10 @@
#include "container_test_types.h"
#include "../../set_allocator_requirement_test_templates.h"
-int main()
+int main(int, char**)
{
testMultisetInsert<TCT::unordered_multiset<> >();
testMultisetEmplace<TCT::unordered_multiset<> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/insert_hint_const_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/insert_hint_const_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/insert_hint_const_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/insert_hint_const_lvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,7 +51,7 @@ void do_insert_hint_const_lvalue_test()
assert(*r == 5.5);
}
-int main()
+int main(int, char**)
{
do_insert_hint_const_lvalue_test<std::unordered_multiset<double> >();
#if TEST_STD_VER >= 11
@@ -74,4 +74,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/insert_hint_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/insert_hint_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/insert_hint_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/insert_hint_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<double> C;
@@ -115,4 +115,6 @@ int main()
assert(*r == 5);
}
#endif // TEST_STD_VER >= 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/insert_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/insert_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/insert_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/insert_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -65,4 +65,6 @@ int main()
assert(c.count(3) == 1);
assert(c.count(4) == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/insert_node_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/insert_node_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/insert_node_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/insert_node_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -66,10 +66,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::unordered_multiset<int> m;
test(m);
std::unordered_multiset<int, std::hash<int>, std::equal_to<int>, min_allocator<int>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/insert_node_type_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/insert_node_type_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/insert_node_type_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/insert_node_type_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,10 +49,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::unordered_multiset<int> m;
test(m);
std::unordered_multiset<int, std::hash<int>, std::equal_to<int>, min_allocator<int>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/insert_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/insert_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/insert_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/insert_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -66,4 +66,6 @@ int main()
assert(c.count(4) == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/insert_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/insert_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/insert_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/insert_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<double> C;
@@ -111,4 +111,6 @@ int main()
assert(*r == 5);
}
#endif // TEST_STD_VER >= 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -65,4 +65,6 @@ int main()
assert(std::distance(c.begin(), c.end()) == c.size());
assert(std::distance(c.cbegin(), c.cend()) == c.size());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -125,4 +125,6 @@ int main()
assert (!(cii != ii1 ));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/load_factor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/load_factor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/load_factor.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/load_factor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -71,4 +71,6 @@ int main()
assert(c.load_factor() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/local_iterators.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/local_iterators.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/local_iterators.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/local_iterators.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -259,4 +259,6 @@ int main()
j = c.cend(b);
assert(std::distance(i, j) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/local_iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/local_iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/local_iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/local_iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -496,4 +496,6 @@ int main()
assert(std::distance(i, j) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/max_bucket_count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/max_bucket_count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/max_bucket_count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/max_bucket_count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -34,4 +34,6 @@ int main()
assert(c.max_bucket_count() > 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/max_load_factor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/max_load_factor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/max_load_factor.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/max_load_factor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -62,4 +62,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef limited_allocator<int, 10> A;
@@ -50,4 +50,6 @@ int main()
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ struct throw_hasher
};
#endif
-int main()
+int main(int, char**)
{
{
std::unordered_multiset<int> src{1, 3, 5};
@@ -150,4 +150,5 @@ int main()
first.merge(std::move(second));
}
}
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/rehash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/rehash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/rehash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/rehash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ void test(const C& c)
assert(c.count(4) == 1);
}
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -99,4 +99,6 @@ int main()
test(c);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/reserve.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/reserve.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/reserve.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/reserve.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ void reserve_invariant(size_t n) // LWG
}
}
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> C;
@@ -103,4 +103,6 @@ int main()
}
#endif
reserve_invariant(20);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/scary.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/scary.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/scary.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/scary.pass.cpp Mon Feb 4 12:31:13 2019
@@ -14,11 +14,13 @@
#include <unordered_set>
-int main()
+int main(int, char**)
{
typedef std::unordered_set<int> M1;
typedef std::unordered_multiset<int> M2;
M2::iterator i;
M1::iterator j = i;
((void)j);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int> M;
@@ -58,4 +58,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/swap_member.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/swap_member.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/swap_member.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/swap_member.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_hash<std::hash<int> > Hash;
@@ -566,4 +566,6 @@ int main()
assert(c2.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<short> C;
@@ -65,4 +65,6 @@ int main()
static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<NotConstructible,
@@ -106,4 +106,6 @@ int main()
}
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<int> A;
@@ -209,4 +209,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<int> A;
@@ -93,4 +93,6 @@ int main()
assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<int> A;
@@ -263,4 +263,6 @@ int main()
assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/compare_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/compare_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/compare_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/compare_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::unordered_multiset<int, std::hash<int>, Comp<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -168,4 +168,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -122,4 +122,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<NotConstructible,
@@ -104,4 +104,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -71,4 +71,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<MoveOnly> C;
@@ -64,4 +64,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/hash_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/hash_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/hash_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/hash_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::unordered_multiset<int, Hash<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -160,4 +160,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif // TEST_STD_VER > 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -94,4 +94,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -97,4 +97,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -99,4 +99,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -101,4 +101,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -171,4 +171,6 @@ int main()
assert(s2.size() == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int P;
@@ -202,4 +202,6 @@ int main()
assert(c0.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<MoveOnly> C;
@@ -70,4 +70,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -67,4 +67,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -166,4 +166,6 @@ int main()
}
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -100,4 +100,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -103,4 +103,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -105,4 +105,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range_size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<int,
@@ -108,4 +108,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.fail.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<NotConstructible,
@@ -62,4 +62,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<NotConstructible,
@@ -62,4 +62,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<NotConstructible,
@@ -66,4 +66,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<NotConstructible,
@@ -68,4 +68,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<NotConstructible,
@@ -70,4 +70,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/db_swap_1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/db_swap_1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/db_swap_1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/db_swap_1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include <unordered_set>
#include <cassert>
-int main()
+int main(int, char**)
{
#if _LIBCPP_DEBUG >= 1
{
@@ -39,4 +39,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -118,7 +118,7 @@ struct some_alloc3
typedef std::false_type is_always_equal;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_multiset<MoveOnly> C;
@@ -186,4 +186,6 @@ int main()
}
#endif // _LIBCPP_VERSION
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/swap_non_member.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/swap_non_member.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/swap_non_member.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.swap/swap_non_member.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_hash<std::hash<int> > Hash;
@@ -566,4 +566,6 @@ int main()
assert(c2.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/allocator_mismatch.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/allocator_mismatch.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/allocator_mismatch.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/allocator_mismatch.fail.cpp Mon Feb 4 12:31:13 2019
@@ -11,7 +11,9 @@
#include <unordered_set>
-int main()
+int main(int, char**)
{
std::unordered_set<int, std::hash<int>, std::less<int>, std::allocator<long> > v;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/bucket.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/bucket.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/bucket.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/bucket.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -72,4 +72,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/bucket_count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/bucket_count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/bucket_count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/bucket_count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -68,4 +68,6 @@ int main()
assert(c.bucket_count() >= 8);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/bucket_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/bucket_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/bucket_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/bucket_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -76,4 +76,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/clear.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/clear.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -58,4 +58,6 @@ int main()
assert(c.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -65,4 +65,6 @@ int main()
assert(c.count(5) == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/db_iterators_7.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/db_iterators_7.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/db_iterators_7.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/db_iterators_7.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -50,8 +50,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/db_iterators_8.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/db_iterators_8.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/db_iterators_8.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/db_iterators_8.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -46,8 +46,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/db_local_iterators_7.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/db_local_iterators_7.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/db_local_iterators_7.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/db_local_iterators_7.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -49,8 +49,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/db_local_iterators_8.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/db_local_iterators_8.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/db_local_iterators_8.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/db_local_iterators_8.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -46,8 +46,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/emplace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/emplace.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/emplace.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/emplace.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "../../Emplaceable.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<Emplaceable> C;
@@ -64,4 +64,6 @@ int main()
assert(*r.first == Emplaceable(5, 6));
assert(!r.second);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/emplace_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/emplace_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/emplace_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/emplace_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "../../Emplaceable.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<Emplaceable> C;
@@ -61,4 +61,6 @@ int main()
assert(c.size() == 2);
assert(*r == Emplaceable(5, 6));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/empty.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/empty.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/empty.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/empty.fail.cpp Mon Feb 4 12:31:13 2019
@@ -20,8 +20,10 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::unordered_set<int> c;
c.empty(); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> M;
@@ -42,4 +42,6 @@ int main()
assert(m.empty());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/eq.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/eq.pass.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -155,4 +155,6 @@ int main()
assert(!(c1 != c2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/equal_range_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/equal_range_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/equal_range_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/equal_range_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -77,4 +77,6 @@ int main()
assert(*r.first == 50);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/equal_range_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/equal_range_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/equal_range_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/equal_range_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -77,4 +77,6 @@ int main()
assert(*r.first == 50);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_const_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_const_iter.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_const_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_const_iter.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ struct TemplateConstructor
bool operator==(const TemplateConstructor&, const TemplateConstructor&) { return false; }
struct Hash { size_t operator() (const TemplateConstructor &) const { return 0; } };
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -94,4 +94,6 @@ int main()
m.erase(it);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_if.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_if.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_if.pass.cpp Mon Feb 4 12:31:13 2019
@@ -69,7 +69,7 @@ void test()
test0<S>({1,2,3}, False, {1,2,3});
}
-int main()
+int main(int, char**)
{
test<std::unordered_set<int>>();
test<std::unordered_set<int, std::hash<int>, std::equal_to<int>, min_allocator<int>>> ();
@@ -77,4 +77,6 @@ int main()
test<std::unordered_set<long>>();
test<std::unordered_set<double>>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_db1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_db1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_db1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_db1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -17,7 +17,7 @@
#include <unordered_set>
#include <cassert>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -30,8 +30,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_db2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_db2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_db2.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_db2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <cstdlib>
#include <exception>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -33,8 +33,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -32,8 +32,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db2.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db2.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db2.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -32,8 +32,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db3.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db3.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db3.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db3.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -32,8 +32,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db4.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db4.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db4.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_iter_iter_db4.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include <exception>
#include <cstdlib>
-int main()
+int main(int, char**)
{
{
int a1[] = {1, 2, 3};
@@ -31,8 +31,10 @@ int main()
#else
-int main()
+int main(int, char**)
{
+
+ return 0;
}
#endif
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ bool only_deletions ( const Unordered &w
}
#endif
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -171,4 +171,6 @@ int main()
assert (only_deletions (m, m2));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/erase_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/erase_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/erase_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/erase_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -90,4 +90,6 @@ int main()
assert(k == c.end());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/extract_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/extract_iterator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/extract_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/extract_iterator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ void test(Container& c)
assert(c.size() == 0);
}
-int main()
+int main(int, char**)
{
{
using set_type = std::unordered_set<int>;
@@ -56,4 +56,6 @@ int main()
min_alloc_set m = {1, 2, 3, 4, 5, 6};
test(m);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/extract_key.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/extract_key.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/extract_key.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/extract_key.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ void test(Container& c, KeyTypeIter firs
}
}
-int main()
+int main(int, char**)
{
{
std::unordered_set<int> m = {1, 2, 3, 4, 5, 6};
@@ -67,4 +67,6 @@ int main()
int keys[] = {1, 2, 3, 4, 5, 6};
test(m, std::begin(keys), std::end(keys));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/find_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/find_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/find_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/find_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -63,4 +63,6 @@ int main()
assert(i == c.cend());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/find_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/find_non_const.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/find_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/find_non_const.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -63,4 +63,6 @@ int main()
assert(i == c.cend());
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/incomplete.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/incomplete.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/incomplete.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/incomplete.pass.cpp Mon Feb 4 12:31:13 2019
@@ -32,6 +32,8 @@ struct A {
inline bool operator==(A const& L, A const& R) { return &L == &R; }
-int main() {
+int main(int, char**) {
A a;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/insert_and_emplace_allocator_requirements.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/insert_and_emplace_allocator_requirements.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/insert_and_emplace_allocator_requirements.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/insert_and_emplace_allocator_requirements.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,8 +21,10 @@
#include "../../set_allocator_requirement_test_templates.h"
-int main()
+int main(int, char**)
{
testSetInsert<TCT::unordered_set<> >();
testSetEmplace<TCT::unordered_set<> >();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/insert_const_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/insert_const_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/insert_const_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/insert_const_lvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -50,7 +50,7 @@ void do_insert_const_lvalue_test()
assert(r.second);
}
-int main()
+int main(int, char**)
{
do_insert_const_lvalue_test<std::unordered_set<double> >();
#if TEST_STD_VER >= 11
@@ -60,4 +60,6 @@ int main()
do_insert_const_lvalue_test<C>();
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/insert_hint_const_lvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/insert_hint_const_lvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/insert_hint_const_lvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/insert_hint_const_lvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,7 +51,7 @@ void do_insert_hint_const_lvalue_test()
assert(*r == 5.5);
}
-int main()
+int main(int, char**)
{
do_insert_hint_const_lvalue_test<std::unordered_set<double> >();
#if TEST_STD_VER >= 11
@@ -74,4 +74,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/insert_hint_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/insert_hint_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/insert_hint_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/insert_hint_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<double> C;
@@ -115,4 +115,6 @@ int main()
assert(*r == 5);
}
#endif // TEST_STD_VER >= 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/insert_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/insert_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/insert_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/insert_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -65,4 +65,6 @@ int main()
assert(c.count(3) == 1);
assert(c.count(4) == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/insert_node_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/insert_node_type.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/insert_node_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/insert_node_type.pass.cpp Mon Feb 4 12:31:13 2019
@@ -73,10 +73,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::unordered_set<int> m;
test(m);
std::unordered_set<int, std::hash<int>, std::equal_to<int>, min_allocator<int>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/insert_node_type_hint.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/insert_node_type_hint.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/insert_node_type_hint.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/insert_node_type_hint.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,10 +51,12 @@ void test(Container& c)
}
}
-int main()
+int main(int, char**)
{
std::unordered_set<int> m;
test(m);
std::unordered_set<int, std::hash<int>, std::equal_to<int>, min_allocator<int>> m2;
test(m2);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/insert_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/insert_range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/insert_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/insert_range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "test_iterators.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -66,4 +66,6 @@ int main()
assert(c.count(4) == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/insert_rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/insert_rvalue.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/insert_rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/insert_rvalue.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "MoveOnly.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<double> C;
@@ -127,4 +127,6 @@ int main()
assert(r.second);
}
#endif // TEST_STD_VER >= 11
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/iterators.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/iterators.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/iterators.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/iterators.fail.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include <unordered_set>
#include <cassert>
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -63,4 +63,6 @@ int main()
assert(std::distance(c.begin(), c.end()) == c.size());
assert(std::distance(c.cbegin(), c.cend()) == c.size());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -125,4 +125,6 @@ int main()
assert (!(cii != ii1 ));
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/load_factor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/load_factor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/load_factor.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/load_factor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -71,4 +71,6 @@ int main()
assert(c.load_factor() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/local_iterators.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/local_iterators.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/local_iterators.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/local_iterators.fail.cpp Mon Feb 4 12:31:13 2019
@@ -22,7 +22,7 @@
#include <unordered_set>
#include <cassert>
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -257,4 +257,6 @@ int main()
j = c.cend(b);
assert(std::distance(i, j) == 0);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/local_iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/local_iterators.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/local_iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/local_iterators.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -384,4 +384,6 @@ int main()
assert(*i == 4);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/max_bucket_count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/max_bucket_count.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/max_bucket_count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/max_bucket_count.pass.cpp Mon Feb 4 12:31:13 2019
@@ -19,7 +19,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -34,4 +34,6 @@ int main()
assert(c.max_bucket_count() > 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/max_load_factor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/max_load_factor.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/max_load_factor.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/max_load_factor.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -62,4 +62,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/max_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/max_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/max_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/max_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -20,7 +20,7 @@
#include "test_allocator.h"
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
typedef limited_allocator<int, 10> A;
@@ -46,4 +46,6 @@ int main()
assert(c.max_size() <= max_dist);
assert(c.max_size() <= alloc_max_size(c.get_allocator()));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/merge.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/merge.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/merge.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/merge.pass.cpp Mon Feb 4 12:31:13 2019
@@ -49,7 +49,7 @@ struct throw_hasher
};
#endif
-int main()
+int main(int, char**)
{
{
std::unordered_set<int> src{1, 3, 5};
@@ -150,4 +150,5 @@ int main()
first.merge(std::move(second));
}
}
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/rehash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/rehash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/rehash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/rehash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -36,7 +36,7 @@ void test(const C& c)
assert(c.count(4) == 1);
}
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -99,4 +99,6 @@ int main()
test(c);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/reserve.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/reserve.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/reserve.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/reserve.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ void reserve_invariant(size_t n) // LWG
}
}
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> C;
@@ -103,4 +103,6 @@ int main()
}
#endif
reserve_invariant(20);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -18,7 +18,7 @@
#include "test_macros.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int> M;
@@ -58,4 +58,6 @@ int main()
assert(m.size() == 0);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/swap_member.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/swap_member.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/swap_member.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/swap_member.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_hash<std::hash<int> > Hash;
@@ -566,4 +566,6 @@ int main()
assert(c2.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -31,7 +31,7 @@
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<short> C;
@@ -65,4 +65,6 @@ int main()
static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<NotConstructible,
@@ -106,4 +106,6 @@ int main()
}
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<int> A;
@@ -184,4 +184,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<int> A;
@@ -93,4 +93,6 @@ int main()
assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/assign_move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_allocator<int> A;
@@ -210,4 +210,6 @@ int main()
assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/compare_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/compare_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/compare_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/compare_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::unordered_set<int, std::hash<int>, Comp<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -144,4 +144,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/copy_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/copy_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -26,7 +26,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -106,4 +106,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<NotConstructible,
@@ -104,4 +104,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/default_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/default_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/default_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/default_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -44,7 +44,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -71,4 +71,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/dtor_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/dtor_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/dtor_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/dtor_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<MoveOnly> C;
@@ -64,4 +64,6 @@ int main()
static_assert(!std::is_nothrow_destructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/hash_copy_constructible.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/hash_copy_constructible.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/hash_copy_constructible.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/hash_copy_constructible.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,6 +23,8 @@ private:
};
-int main() {
+int main(int, char**) {
std::unordered_set<int, Hash<int> > m;
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -160,4 +160,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -94,4 +94,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -97,4 +97,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -99,4 +99,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -101,4 +101,6 @@ int main()
assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -171,4 +171,6 @@ int main()
assert(s2.size() == 2);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_alloc.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_alloc.pass.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef int P;
@@ -152,4 +152,6 @@ int main()
assert(c0.empty());
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_assign_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_assign_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_assign_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_assign_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -43,7 +43,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<MoveOnly> C;
@@ -70,4 +70,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_assignable<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/move_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ struct some_hash
std::size_t operator()(T const&) const;
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -67,4 +67,6 @@ int main()
some_comp<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -167,4 +167,6 @@ int main()
#endif
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -100,4 +100,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -103,4 +103,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -29,7 +29,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -105,4 +105,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range_size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -30,7 +30,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<int,
@@ -108,4 +108,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size.fail.cpp Mon Feb 4 12:31:13 2019
@@ -23,7 +23,7 @@
#include "../../../test_hash.h"
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<NotConstructible,
@@ -42,4 +42,6 @@ int main()
assert(c.load_factor() == 0);
assert(c.max_load_factor() == 1);
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<NotConstructible,
@@ -62,4 +62,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<NotConstructible,
@@ -66,4 +66,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<NotConstructible,
@@ -68,4 +68,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal_allocator.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/size_hash_equal_allocator.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<NotConstructible,
@@ -70,4 +70,6 @@ int main()
assert(c.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/db_swap_1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/db_swap_1.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/db_swap_1.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/db_swap_1.pass.cpp Mon Feb 4 12:31:13 2019
@@ -21,7 +21,7 @@
#include <unordered_set>
#include <cassert>
-int main()
+int main(int, char**)
{
#if _LIBCPP_DEBUG >= 1
{
@@ -39,4 +39,6 @@ int main()
assert(false);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/swap_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/swap_noexcept.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/swap_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/swap_noexcept.pass.cpp Mon Feb 4 12:31:13 2019
@@ -118,7 +118,7 @@ struct some_alloc3
typedef std::false_type is_always_equal;
};
-int main()
+int main(int, char**)
{
{
typedef std::unordered_set<MoveOnly> C;
@@ -186,4 +186,6 @@ int main()
}
#endif // _LIBCPP_VERSION
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/swap_non_member.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/swap_non_member.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/swap_non_member.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.swap/swap_non_member.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
{
typedef test_hash<std::hash<int> > Hash;
@@ -566,4 +566,6 @@ int main()
assert(c2.max_load_factor() == 1);
}
#endif
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/array.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/array.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/array.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/array.fail.cpp Mon Feb 4 12:31:13 2019
@@ -34,7 +34,7 @@ const int carr[] = {4,5,6};
volatile int varr[] = {7,8,9};
const volatile int cvarr[] = {1,3,5};
-int main ()
+int main(int, char**)
{
// Size wrong
{
@@ -68,4 +68,6 @@ int main ()
std::span< volatile int,3> s6{ carr}; // expected-error {{no matching constructor for initialization of 'std::span<volatile int, 3>'}}
std::span< volatile int,3> s7{cvarr}; // expected-error {{no matching constructor for initialization of 'std::span<volatile int, 3>'}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/array.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/array.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/array.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/array.pass.cpp Mon Feb 4 12:31:13 2019
@@ -105,7 +105,7 @@ void testRuntimeSpan()
struct A{};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan<int>(), "");
static_assert(testConstexprSpan<long>(), "");
@@ -119,4 +119,6 @@ int main ()
testRuntimeSpan<A>();
checkCV();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/assign.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/assign.pass.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,7 @@ constexpr int carr3[] = {7,8};
std::string strs[] = {"ABC", "DEF", "GHI"};
-int main ()
+int main(int, char**)
{
// constexpr dynamically sized assignment
@@ -289,4 +289,6 @@ int main ()
for (size_t j = i; j < std::size(spans); ++j)
assert((doAssign(spans[i], spans[j])));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/container.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/container.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/container.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/container.fail.cpp Mon Feb 4 12:31:13 2019
@@ -63,7 +63,7 @@ private:
};
-int main ()
+int main(int, char**)
{
// Making non-const spans from const sources (a temporary binds to `const &`)
@@ -129,4 +129,6 @@ int main ()
std::span< volatile int,1> s7{cv}; // expected-error {{no matching constructor for initialization of 'std::span<volatile int, 1>'}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/container.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/container.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/container.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/container.pass.cpp Mon Feb 4 12:31:13 2019
@@ -117,7 +117,7 @@ void testRuntimeSpan()
struct A{};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan<int>(), "");
static_assert(testConstexprSpan<long>(), "");
@@ -131,4 +131,6 @@ int main ()
testRuntimeSpan<A>();
checkCV();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/copy.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/copy.pass.cpp Mon Feb 4 12:31:13 2019
@@ -42,7 +42,7 @@ void testCV ()
}
-int main ()
+int main(int, char**)
{
constexpr int carr[] = {1,2,3};
@@ -67,4 +67,6 @@ int main ()
testCV<const int>();
testCV< volatile int>();
testCV<const volatile int>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/deduct.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/deduct.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/deduct.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/deduct.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main ()
+int main(int, char**)
{
{
int arr[] = {1,2,3};
@@ -83,4 +83,6 @@ int main ()
assert((size_t)s.size() == str.size());
assert((std::equal(s.begin(), s.end(), std::begin(s), std::end(s))));
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/default.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/default.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/default.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/default.fail.cpp Mon Feb 4 12:31:13 2019
@@ -22,10 +22,12 @@
#include "test_macros.h"
-int main ()
+int main(int, char**)
{
std::span<int, 2> s; // expected-error-re at span:* {{static_assert failed{{( due to requirement '2[LL]{0,2} == 0')?}} "Can't default construct a statically sized span with size > 0"}}
// TODO: This is what I want:
// eXpected-error {{no matching constructor for initialization of 'std::span<int, 2>'}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/default.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/default.pass.cpp Mon Feb 4 12:31:13 2019
@@ -64,7 +64,7 @@ void testRuntimeSpan()
struct A{};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan<int>(), "");
static_assert(testConstexprSpan<long>(), "");
@@ -78,4 +78,6 @@ int main ()
testRuntimeSpan<A>();
checkCV();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/ptr_len.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/ptr_len.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/ptr_len.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/ptr_len.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ const int carr[] = {4,5,6};
volatile int varr[] = {7,8,9};
const volatile int cvarr[] = {1,3,5};
-int main ()
+int main(int, char**)
{
// We can't check that the size doesn't match - because that's a runtime property
// std::span<int, 2> s1(arr, 3);
@@ -59,4 +59,6 @@ int main ()
std::span< volatile int,3> s6{ carr, 3}; // expected-error {{no matching constructor for initialization of 'std::span<volatile int, 3>'}}
std::span< volatile int,3> s7{cvarr, 3}; // expected-error {{no matching constructor for initialization of 'std::span<volatile int, 3>'}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/ptr_len.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/ptr_len.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/ptr_len.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/ptr_len.pass.cpp Mon Feb 4 12:31:13 2019
@@ -95,7 +95,7 @@ void testRuntimeSpan()
struct A{};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan<int>(), "");
static_assert(testConstexprSpan<long>(), "");
@@ -109,4 +109,6 @@ int main ()
testRuntimeSpan<A>();
checkCV();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/ptr_ptr.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/ptr_ptr.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/ptr_ptr.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/ptr_ptr.fail.cpp Mon Feb 4 12:31:13 2019
@@ -27,7 +27,7 @@ const int carr[] = {4,5,6};
volatile int varr[] = {7,8,9};
const volatile int cvarr[] = {1,3,5};
-int main ()
+int main(int, char**)
{
// We can't check that the size doesn't match - because that's a runtime property
// std::span<int, 2> s1(arr, arr + 3);
@@ -59,4 +59,6 @@ int main ()
std::span< volatile int,3> s6{ carr, carr + 3}; // expected-error {{no matching constructor for initialization of 'std::span<volatile int, 3>'}}
std::span< volatile int,3> s7{cvarr, cvarr + 3}; // expected-error {{no matching constructor for initialization of 'std::span<volatile int, 3>'}}
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/ptr_ptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/ptr_ptr.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/ptr_ptr.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/ptr_ptr.pass.cpp Mon Feb 4 12:31:13 2019
@@ -95,7 +95,7 @@ void testRuntimeSpan()
struct A{};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan<int>(), "");
static_assert(testConstexprSpan<long>(), "");
@@ -109,4 +109,6 @@ int main ()
testRuntimeSpan<A>();
checkCV();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/span.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/span.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/span.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/span.fail.cpp Mon Feb 4 12:31:13 2019
@@ -89,7 +89,7 @@ void checkCV ()
}
}
-int main ()
+int main(int, char**)
{
std::span<int> sp;
std::span<int, 0> sp0;
@@ -100,4 +100,6 @@ int main ()
std::span<float, 0> s4{sp0}; // expected-error {{no matching constructor for initialization of 'std::span<float, 0>'}}
checkCV();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/span.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/span.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/span.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/span.pass.cpp Mon Feb 4 12:31:13 2019
@@ -121,7 +121,7 @@ bool testConversionSpan()
struct A{};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan<int>(), "");
static_assert(testConstexprSpan<long>(), "");
@@ -138,4 +138,6 @@ int main ()
// assert((testConversionSpan<unsigned char, char>()));
checkCV();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.cons/stdarray.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.cons/stdarray.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.cons/stdarray.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.cons/stdarray.pass.cpp Mon Feb 4 12:31:13 2019
@@ -96,7 +96,7 @@ void testRuntimeSpan()
struct A{};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan<int>(), "");
static_assert(testConstexprSpan<long>(), "");
@@ -110,4 +110,6 @@ int main ()
testRuntimeSpan<A>();
checkCV();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.elem/data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.elem/data.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.elem/data.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.elem/data.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ struct A{};
constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
-int main ()
+int main(int, char**)
{
// dynamic size
@@ -117,4 +117,6 @@ int main ()
testRuntimeSpan(std::span<std::string>(&s, 1), &s);
testRuntimeSpan(std::span<std::string, 1>(&s, 1), &s);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.elem/op_idx.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.elem/op_idx.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.elem/op_idx.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.elem/op_idx.pass.cpp Mon Feb 4 12:31:13 2019
@@ -51,7 +51,7 @@ struct A{};
constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), 0), "");
@@ -115,4 +115,6 @@ int main ()
std::string s;
testRuntimeSpan(std::span<std::string> (&s, 1), 0);
testRuntimeSpan(std::span<std::string, 1>(&s, 1), 0);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.iterators/begin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.iterators/begin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.iterators/begin.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.iterators/begin.pass.cpp Mon Feb 4 12:31:13 2019
@@ -70,7 +70,7 @@ constexpr int iArr1[] = { 0, 1, 2, 3,
int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
-int main()
+int main(int, char**)
{
static_assert(testConstexprSpan(std::span<int>()), "");
static_assert(testConstexprSpan(std::span<long>()), "");
@@ -112,4 +112,6 @@ int main()
std::string s;
testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0));
testRuntimeSpan(std::span<std::string>(&s, 1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.iterators/end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.iterators/end.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.iterators/end.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.iterators/end.pass.cpp Mon Feb 4 12:31:13 2019
@@ -78,7 +78,7 @@ constexpr int iArr1[] = { 0, 1, 2, 3,
int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
-int main()
+int main(int, char**)
{
static_assert(testConstexprSpan(std::span<int>()), "");
static_assert(testConstexprSpan(std::span<long>()), "");
@@ -120,4 +120,6 @@ int main()
std::string s;
testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0));
testRuntimeSpan(std::span<std::string>(&s, 1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.iterators/rbegin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.iterators/rbegin.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.iterators/rbegin.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.iterators/rbegin.pass.cpp Mon Feb 4 12:31:13 2019
@@ -71,7 +71,7 @@ constexpr int iArr1[] = { 0, 1, 2, 3,
int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
-int main()
+int main(int, char**)
{
static_assert(testConstexprSpan(std::span<int>()), "");
static_assert(testConstexprSpan(std::span<long>()), "");
@@ -113,4 +113,6 @@ int main()
std::string s;
testRuntimeSpan(std::span<std::string>(&s, static_cast<std::ptrdiff_t>(0)));
testRuntimeSpan(std::span<std::string>(&s, 1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.iterators/rend.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.iterators/rend.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.iterators/rend.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.iterators/rend.pass.cpp Mon Feb 4 12:31:13 2019
@@ -72,7 +72,7 @@ constexpr int iArr1[] = { 0, 1, 2, 3,
int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
-int main()
+int main(int, char**)
{
static_assert(testConstexprSpan(std::span<int>()), "");
static_assert(testConstexprSpan(std::span<long>()), "");
@@ -114,4 +114,6 @@ int main()
std::string s;
testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0));
testRuntimeSpan(std::span<std::string>(&s, 1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.objectrep/as_bytes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.objectrep/as_bytes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.objectrep/as_bytes.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.objectrep/as_bytes.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ void testRuntimeSpan(Span sp)
struct A{};
int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
-int main ()
+int main(int, char**)
{
testRuntimeSpan(std::span<int> ());
testRuntimeSpan(std::span<long> ());
@@ -74,4 +74,6 @@ int main ()
std::string s;
testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0));
testRuntimeSpan(std::span<std::string>(&s, 1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp Mon Feb 4 12:31:13 2019
@@ -28,7 +28,7 @@ const int iArr2[] = { 0, 1, 2, 3, 4,
struct A {};
-int main ()
+int main(int, char**)
{
std::as_writeable_bytes(std::span<const int>()); // expected-error {{no matching function for call to 'as_writeable_bytes'}}
std::as_writeable_bytes(std::span<const long>()); // expected-error {{no matching function for call to 'as_writeable_bytes'}}
@@ -44,4 +44,6 @@ int main ()
std::as_writeable_bytes(std::span<const int> (iArr2, 1)); // expected-error {{no matching function for call to 'as_writeable_bytes'}}
std::as_writeable_bytes(std::span<const int, 1>(iArr2 + 5, 1)); // expected-error {{no matching function for call to 'as_writeable_bytes'}}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp Mon Feb 4 12:31:13 2019
@@ -45,7 +45,7 @@ void testRuntimeSpan(Span sp)
struct A{};
int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
-int main ()
+int main(int, char**)
{
testRuntimeSpan(std::span<int> ());
testRuntimeSpan(std::span<long> ());
@@ -74,4 +74,6 @@ int main ()
std::string s;
testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0));
testRuntimeSpan(std::span<std::string>(&s, 1));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.obs/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.obs/empty.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.obs/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.obs/empty.pass.cpp Mon Feb 4 12:31:13 2019
@@ -24,7 +24,7 @@ struct A{};
constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
-int main ()
+int main(int, char**)
{
static_assert( noexcept(std::span<int> ().empty()), "");
static_assert( noexcept(std::span<int, 0>().empty()), "");
@@ -69,4 +69,6 @@ int main ()
std::string s;
assert( ((std::span<std::string>(&s, (std::ptrdiff_t) 0)).empty()));
assert(!((std::span<std::string>(&s, 1).empty())));
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.obs/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.obs/size.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.obs/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.obs/size.pass.cpp Mon Feb 4 12:31:13 2019
@@ -40,7 +40,7 @@ struct A{};
constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan(std::span<int>(), 0), "");
static_assert(testConstexprSpan(std::span<long>(), 0), "");
@@ -87,4 +87,6 @@ int main ()
std::string s;
testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0), 0);
testRuntimeSpan(std::span<std::string>(&s, 1), 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.obs/size_bytes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.obs/size_bytes.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.obs/size_bytes.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.obs/size_bytes.pass.cpp Mon Feb 4 12:31:13 2019
@@ -41,7 +41,7 @@ struct A{};
constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
-int main ()
+int main(int, char**)
{
static_assert(testConstexprSpan(std::span<int>(), 0), "");
static_assert(testConstexprSpan(std::span<long>(), 0), "");
@@ -88,4 +88,6 @@ int main ()
std::string s;
testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0), 0);
testRuntimeSpan(std::span<std::string>(&s, 1), 1);
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.sub/first.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.sub/first.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.sub/first.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.sub/first.pass.cpp Mon Feb 4 12:31:13 2019
@@ -68,7 +68,7 @@ constexpr int carr1[] = {1,2,3,4};
int arr[] = {5,6,7};
std::string sarr [] = { "ABC", "DEF", "GHI", "JKL", "MNO"};
-int main ()
+int main(int, char**)
{
{
using Sp = std::span<const int>;
@@ -132,4 +132,6 @@ int main ()
testRuntimeSpan<Sp, 4>(Sp{sarr});
testRuntimeSpan<Sp, 5>(Sp{sarr});
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.sub/last.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.sub/last.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.sub/last.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.sub/last.pass.cpp Mon Feb 4 12:31:13 2019
@@ -68,7 +68,7 @@ constexpr int carr1[] = {1,2,3,4};
int arr[] = {5,6,7};
std::string sarr [] = { "ABC", "DEF", "GHI", "JKL", "MNO"};
-int main ()
+int main(int, char**)
{
{
using Sp = std::span<const int>;
@@ -132,4 +132,6 @@ int main ()
testRuntimeSpan<Sp, 4>(Sp{sarr});
testRuntimeSpan<Sp, 5>(Sp{sarr});
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/span.sub/subspan.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/span.sub/subspan.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/span.sub/subspan.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/span.sub/subspan.pass.cpp Mon Feb 4 12:31:13 2019
@@ -106,7 +106,7 @@ void testRuntimeSpan(Span sp)
constexpr int carr1[] = {1,2,3,4};
int arr1[] = {5,6,7};
-int main ()
+int main(int, char**)
{
{
using Sp = std::span<const int>;
@@ -206,4 +206,6 @@ int main ()
testRuntimeSpan<Sp, 2>(Sp{arr1});
testRuntimeSpan<Sp, 3>(Sp{arr1});
}
+
+ return 0;
}
Modified: libcxx/trunk/test/std/containers/views/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/views/types.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/views/types.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/views/types.pass.cpp Mon Feb 4 12:31:13 2019
@@ -96,11 +96,13 @@ void test()
struct A{};
-int main ()
+int main(int, char**)
{
test<int>();
test<long>();
test<double>();
test<std::string>();
test<A>();
+
+ return 0;
}
Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/assignment.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/assignment.fail.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/assignment.fail.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/assignment.fail.cpp Mon Feb 4 12:31:13 2019
@@ -37,7 +37,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/assignment.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/assignment.pass.cpp?rev=353086&r1=353085&r2=353086&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/assignment.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/assignment.pass.cpp Mon Feb 4 12:31:13 2019
@@ -39,7 +39,9 @@ test()
assert(A::count == 0);
}
-int main()
+int main(int, char**)
{
test();
+
+ return 0;
}
More information about the libcxx-commits
mailing list