From 249c1c7407ab6cd489ddce14f5574bc8c094c9bc Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 18 Jul 2019 20:21:52 +0000 Subject: [pstl] Declare main() as returning int, not int32_t llvm-svn: 366490 --- pstl/test/pstl/header_inclusion_order_algorithm_0.pass.cpp | 2 +- pstl/test/pstl/header_inclusion_order_algorithm_1.pass.cpp | 2 +- pstl/test/pstl/header_inclusion_order_memory_0.pass.cpp | 2 +- pstl/test/pstl/header_inclusion_order_memory_1.pass.cpp | 2 +- pstl/test/pstl/header_inclusion_order_numeric_0.pass.cpp | 2 +- pstl/test/pstl/header_inclusion_order_numeric_1.pass.cpp | 2 +- pstl/test/std/algorithms/alg.merge/inplace_merge.pass.cpp | 2 +- pstl/test/std/algorithms/alg.merge/merge.pass.cpp | 2 +- .../std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp | 2 +- .../alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp | 2 +- .../alg.modifying.operations/alg.partitions/partition.pass.cpp | 2 +- .../alg.modifying.operations/alg.partitions/partition_copy.pass.cpp | 2 +- .../algorithms/alg.modifying.operations/alg.reverse/reverse.pass.cpp | 2 +- .../alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/copy_move.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/fill.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/generate.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/remove_copy.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/replace_copy.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/rotate.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/rotate_copy.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp | 2 +- .../std/algorithms/alg.modifying.operations/transform_binary.pass.cpp | 2 +- .../std/algorithms/alg.modifying.operations/transform_unary.pass.cpp | 2 +- pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp | 2 +- .../std/algorithms/alg.modifying.operations/unique_copy_equal.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/adjacent_find.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/all_of.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/any_of.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/count.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/find.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/find_end.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/find_first_of.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/for_each.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/none_of.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp | 2 +- pstl/test/std/algorithms/alg.nonmodifying/search_n.pass.cpp | 2 +- .../std/algorithms/alg.sorting/alg.heap.operations/is_heap.pass.cpp | 2 +- .../alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp | 2 +- .../test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp | 2 +- .../std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp | 2 +- pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp | 2 +- pstl/test/std/algorithms/alg.sorting/is_sorted.pass.cpp | 2 +- pstl/test/std/algorithms/alg.sorting/partial_sort.pass.cpp | 2 +- pstl/test/std/algorithms/alg.sorting/partial_sort_copy.pass.cpp | 2 +- pstl/test/std/algorithms/alg.sorting/sort.pass.cpp | 2 +- pstl/test/std/numerics/numeric.ops/adjacent_difference.pass.cpp | 2 +- pstl/test/std/numerics/numeric.ops/reduce.pass.cpp | 2 +- pstl/test/std/numerics/numeric.ops/scan.pass.cpp | 2 +- pstl/test/std/numerics/numeric.ops/transform_reduce.pass.cpp | 2 +- pstl/test/std/numerics/numeric.ops/transform_scan.pass.cpp | 2 +- .../memory/specialized.algorithms/uninitialized_construct.pass.cpp | 2 +- .../memory/specialized.algorithms/uninitialized_copy_move.pass.cpp | 2 +- .../memory/specialized.algorithms/uninitialized_fill_destroy.pass.cpp | 2 +- 59 files changed, 59 insertions(+), 59 deletions(-) (limited to 'pstl') diff --git a/pstl/test/pstl/header_inclusion_order_algorithm_0.pass.cpp b/pstl/test/pstl/header_inclusion_order_algorithm_0.pass.cpp index 4b72bda..df8ebe5 100644 --- a/pstl/test/pstl/header_inclusion_order_algorithm_0.pass.cpp +++ b/pstl/test/pstl/header_inclusion_order_algorithm_0.pass.cpp @@ -14,7 +14,7 @@ #include #include -int32_t +int main() { return 0; diff --git a/pstl/test/pstl/header_inclusion_order_algorithm_1.pass.cpp b/pstl/test/pstl/header_inclusion_order_algorithm_1.pass.cpp index 6469cc7..818ae4b 100644 --- a/pstl/test/pstl/header_inclusion_order_algorithm_1.pass.cpp +++ b/pstl/test/pstl/header_inclusion_order_algorithm_1.pass.cpp @@ -14,7 +14,7 @@ #include #include -int32_t +int main() { return 0; diff --git a/pstl/test/pstl/header_inclusion_order_memory_0.pass.cpp b/pstl/test/pstl/header_inclusion_order_memory_0.pass.cpp index ed61e4e..104610a 100644 --- a/pstl/test/pstl/header_inclusion_order_memory_0.pass.cpp +++ b/pstl/test/pstl/header_inclusion_order_memory_0.pass.cpp @@ -14,7 +14,7 @@ #include #include -int32_t +int main() { return 0; diff --git a/pstl/test/pstl/header_inclusion_order_memory_1.pass.cpp b/pstl/test/pstl/header_inclusion_order_memory_1.pass.cpp index e18317a..aece3ee 100644 --- a/pstl/test/pstl/header_inclusion_order_memory_1.pass.cpp +++ b/pstl/test/pstl/header_inclusion_order_memory_1.pass.cpp @@ -14,7 +14,7 @@ #include #include -int32_t +int main() { return 0; diff --git a/pstl/test/pstl/header_inclusion_order_numeric_0.pass.cpp b/pstl/test/pstl/header_inclusion_order_numeric_0.pass.cpp index dd70ab9..79086e7 100644 --- a/pstl/test/pstl/header_inclusion_order_numeric_0.pass.cpp +++ b/pstl/test/pstl/header_inclusion_order_numeric_0.pass.cpp @@ -14,7 +14,7 @@ #include #include -int32_t +int main() { return 0; diff --git a/pstl/test/pstl/header_inclusion_order_numeric_1.pass.cpp b/pstl/test/pstl/header_inclusion_order_numeric_1.pass.cpp index 6d8cae9..a9b32c8 100644 --- a/pstl/test/pstl/header_inclusion_order_numeric_1.pass.cpp +++ b/pstl/test/pstl/header_inclusion_order_numeric_1.pass.cpp @@ -14,7 +14,7 @@ #include #include -int32_t +int main() { return 0; diff --git a/pstl/test/std/algorithms/alg.merge/inplace_merge.pass.cpp b/pstl/test/std/algorithms/alg.merge/inplace_merge.pass.cpp index a7aa2e7..64433c8 100644 --- a/pstl/test/std/algorithms/alg.merge/inplace_merge.pass.cpp +++ b/pstl/test/std/algorithms/alg.merge/inplace_merge.pass.cpp @@ -134,7 +134,7 @@ struct test_non_const } }; -int32_t +int main() { test_by_type([](int32_t i) { return -2 * i; }, [](int32_t i) { return -(2 * i + 1); }, diff --git a/pstl/test/std/algorithms/alg.merge/merge.pass.cpp b/pstl/test/std/algorithms/alg.merge/merge.pass.cpp index 6d7027c..56b557c 100644 --- a/pstl/test/std/algorithms/alg.merge/merge.pass.cpp +++ b/pstl/test/std/algorithms/alg.merge/merge.pass.cpp @@ -96,7 +96,7 @@ struct test_non_const } }; -int32_t +int main() { test_merge_by_type([](size_t v) { return (v % 2 == 0 ? v : -v) * 3; }, [](size_t v) { return v * 2; }); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp index 7e5337b..62eb7f6 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp @@ -123,7 +123,7 @@ struct test_non_const } }; -int32_t +int main() { test(-666.0, [](const float64_t& x) { return x * x <= 1024; }, diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp index 135d35d..e5856a1 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp @@ -84,7 +84,7 @@ struct test_non_const } }; -int32_t +int main() { test([](const float64_t x) { return x < 0; }); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp index 36783a7..57d7830 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp @@ -161,7 +161,7 @@ struct test_non_const } }; -int32_t +int main() { #if !_PSTL_ICC_16_17_TEST_REDUCTION_RELEASE_BROKEN diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp index a391ba8..1a06c55 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp @@ -97,7 +97,7 @@ struct test_non_const } }; -int32_t +int main() { test([](const int32_t value) { return value % 2; }); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse.pass.cpp index 5372524..a9dbdf0 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse.pass.cpp @@ -89,7 +89,7 @@ struct wrapper } }; -int32_t +int main() { test(); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp index 7bd2444..668f970e 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp @@ -117,7 +117,7 @@ test() } } -int32_t +int main() { // clang-3.8 fails to correctly auto vectorize the loop in some cases of different types of container's elements, diff --git a/pstl/test/std/algorithms/alg.modifying.operations/copy_move.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/copy_move.pass.cpp index 1ef1a9c..8aa616e 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/copy_move.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/copy_move.pass.cpp @@ -185,7 +185,7 @@ test(T trash, Convert convert) } } -int32_t +int main() { test(-666, [](size_t j) { return int32_t(j); }); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/fill.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/fill.pass.cpp index 760cb3a..5d17157 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/fill.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/fill.pass.cpp @@ -82,7 +82,7 @@ test_fill_by_type(std::size_t n) invoke_on_all_policies(test_fill_n(), in.begin(), n, value); } -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.modifying.operations/generate.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/generate.pass.cpp index 025fa38..d3375ec 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/generate.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/generate.pass.cpp @@ -91,7 +91,7 @@ struct test_non_const } }; -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp index 2166cb4..c01b8e2 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp @@ -130,7 +130,7 @@ struct test_non_const } }; -int32_t +int main() { #if !_PSTL_ICC_18_TEST_EARLY_EXIT_MONOTONIC_RELEASE_BROKEN diff --git a/pstl/test/std/algorithms/alg.modifying.operations/remove_copy.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/remove_copy.pass.cpp index 0a2a446..9b47cca 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/remove_copy.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/remove_copy.pass.cpp @@ -76,7 +76,7 @@ test(T trash, const T& value, Convert convert, bool check_weakness = true) } } -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp index 96b1691..963ff12 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp @@ -145,7 +145,7 @@ struct test_non_const } }; -int32_t +int main() { test(__pstl::__internal::__equal_value(666)); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/replace_copy.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/replace_copy.pass.cpp index 05079f6..a2e4f72 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/replace_copy.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/replace_copy.pass.cpp @@ -83,7 +83,7 @@ struct test_non_const } }; -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.modifying.operations/rotate.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/rotate.pass.cpp index c63866d6..a5c0bc2 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/rotate.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/rotate.pass.cpp @@ -162,7 +162,7 @@ test() } } -int32_t +int main() { test(); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/rotate_copy.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/rotate_copy.pass.cpp index f61534a..0706c9c 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/rotate_copy.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/rotate_copy.pass.cpp @@ -133,7 +133,7 @@ test() } } -int32_t +int main() { test(); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp index fca8bf5..2c8f652 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp @@ -120,7 +120,7 @@ test() } } -int32_t +int main() { test>(); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/transform_binary.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/transform_binary.pass.cpp index ead2f7d..d0f8c68 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/transform_binary.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/transform_binary.pass.cpp @@ -103,7 +103,7 @@ struct test_non_const } }; -int32_t +int main() { //const operator() diff --git a/pstl/test/std/algorithms/alg.modifying.operations/transform_unary.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/transform_unary.pass.cpp index e99b64a..55726db 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/transform_unary.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/transform_unary.pass.cpp @@ -75,7 +75,7 @@ struct test_non_const } }; -int32_t +int main() { test(); diff --git a/pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp index 3d986b4..7ef5d91 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp @@ -136,7 +136,7 @@ struct test_non_const } }; -int32_t +int main() { #if !_PSTL_ICC_16_17_18_TEST_UNIQUE_MASK_RELEASE_BROKEN diff --git a/pstl/test/std/algorithms/alg.modifying.operations/unique_copy_equal.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/unique_copy_equal.pass.cpp index 8b46966..f55209f 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/unique_copy_equal.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/unique_copy_equal.pass.cpp @@ -115,7 +115,7 @@ struct test_non_const } }; -int32_t +int main() { test(Number(42, OddTag()), std::equal_to(), diff --git a/pstl/test/std/algorithms/alg.nonmodifying/adjacent_find.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/adjacent_find.pass.cpp index 61cfa31..d9c983a 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/adjacent_find.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/adjacent_find.pass.cpp @@ -100,7 +100,7 @@ struct test_non_const } }; -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.nonmodifying/all_of.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/all_of.pass.cpp index cde4751..97e4144 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/all_of.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/all_of.pass.cpp @@ -100,7 +100,7 @@ struct test_non_const } }; -int32_t +int main() { test(8 * sizeof(int32_t)); diff --git a/pstl/test/std/algorithms/alg.nonmodifying/any_of.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/any_of.pass.cpp index c06dc40..1430de9 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/any_of.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/any_of.pass.cpp @@ -86,7 +86,7 @@ struct test_non_const } }; -int32_t +int main() { test(8 * sizeof(int32_t)); diff --git a/pstl/test/std/algorithms/alg.nonmodifying/count.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/count.pass.cpp index f40d59c..7ec77f3 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/count.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/count.pass.cpp @@ -90,7 +90,7 @@ struct test_non_const } }; -int32_t +int main() { test(42, IsEqual(50, OddTag()), [](int32_t j) { return j; }); diff --git a/pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp index 742256a..45ec237 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp @@ -149,7 +149,7 @@ struct test_non_const } }; -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.nonmodifying/find.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/find.pass.cpp index a5c2130..d6bcadb 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/find.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/find.pass.cpp @@ -80,7 +80,7 @@ class Weird Weird(int32_t val, OddTag) : value(val, OddTag()) {} }; -int32_t +int main() { // Note that the "hit" and "miss" functions here avoid overflow issues. diff --git a/pstl/test/std/algorithms/alg.nonmodifying/find_end.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/find_end.pass.cpp index a24d82a..b6a60f0 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/find_end.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/find_end.pass.cpp @@ -106,7 +106,7 @@ struct test_non_const } }; -int32_t +int main() { test(8 * sizeof(int32_t)); diff --git a/pstl/test/std/algorithms/alg.nonmodifying/find_first_of.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/find_first_of.pass.cpp index 07df841..7f5a556 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/find_first_of.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/find_first_of.pass.cpp @@ -98,7 +98,7 @@ struct test_non_const } }; -int32_t +int main() { test(std::equal_to()); diff --git a/pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp index 947b0f5..5bafbbc 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp @@ -89,7 +89,7 @@ struct test_non_const } }; -int32_t +int main() { #if !_PSTL_ICC_17_TEST_MAC_RELEASE_32_BROKEN diff --git a/pstl/test/std/algorithms/alg.nonmodifying/for_each.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/for_each.pass.cpp index 88b622a..3aae4a4 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/for_each.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/for_each.pass.cpp @@ -88,7 +88,7 @@ struct test_non_const } }; -int32_t +int main() { test(); diff --git a/pstl/test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp index a7a639b..109ac4b 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp @@ -117,7 +117,7 @@ struct test_non_const } }; -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.nonmodifying/none_of.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/none_of.pass.cpp index de1d651..e84de3c 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/none_of.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/none_of.pass.cpp @@ -84,7 +84,7 @@ struct test_non_const } }; -int32_t +int main() { test(8 * sizeof(int32_t)); diff --git a/pstl/test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp index c620450..49cf28b 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp @@ -156,7 +156,7 @@ struct test_non_const } }; -int32_t +int main() { test_by_type([](int32_t i) { return 10 * i; }, [](int32_t i) { return i + 1; }, std::less()); diff --git a/pstl/test/std/algorithms/alg.nonmodifying/search_n.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/search_n.pass.cpp index e587eb5..a42193a 100644 --- a/pstl/test/std/algorithms/alg.nonmodifying/search_n.pass.cpp +++ b/pstl/test/std/algorithms/alg.nonmodifying/search_n.pass.cpp @@ -92,7 +92,7 @@ struct test_non_const } }; -int32_t +int main() { test(); diff --git a/pstl/test/std/algorithms/alg.sorting/alg.heap.operations/is_heap.pass.cpp b/pstl/test/std/algorithms/alg.sorting/alg.heap.operations/is_heap.pass.cpp index fc6cf70..6dc8bb6 100644 --- a/pstl/test/std/algorithms/alg.sorting/alg.heap.operations/is_heap.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/alg.heap.operations/is_heap.pass.cpp @@ -132,7 +132,7 @@ struct test_non_const } }; -int32_t +int main() { test_is_heap_by_type(std::greater()); diff --git a/pstl/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp b/pstl/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp index e9f8a95..abd1066 100644 --- a/pstl/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp @@ -156,7 +156,7 @@ struct test_non_const } }; -int32_t +int main() { test(std::less()); diff --git a/pstl/test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp b/pstl/test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp index e4a4ff6..a1a29b7b 100644 --- a/pstl/test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp @@ -174,7 +174,7 @@ struct test_non_const } }; -int32_t +int main() { using TestUtils::float64_t; diff --git a/pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp b/pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp index 2f4a72f..8712f17 100644 --- a/pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp @@ -94,7 +94,7 @@ test_includes(Compare compare) } } -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp b/pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp index 35ab452..5b86dd5 100644 --- a/pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp @@ -147,7 +147,7 @@ struct test_non_const } }; -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.sorting/is_sorted.pass.cpp b/pstl/test/std/algorithms/alg.sorting/is_sorted.pass.cpp index 782849c..3a48160 100644 --- a/pstl/test/std/algorithms/alg.sorting/is_sorted.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/is_sorted.pass.cpp @@ -84,7 +84,7 @@ struct test_non_const } }; -int32_t +int main() { diff --git a/pstl/test/std/algorithms/alg.sorting/partial_sort.pass.cpp b/pstl/test/std/algorithms/alg.sorting/partial_sort.pass.cpp index 81cb14e..b1cd669 100644 --- a/pstl/test/std/algorithms/alg.sorting/partial_sort.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/partial_sort.pass.cpp @@ -131,7 +131,7 @@ struct test_non_const } }; -int32_t +int main() { count_val = 0; diff --git a/pstl/test/std/algorithms/alg.sorting/partial_sort_copy.pass.cpp b/pstl/test/std/algorithms/alg.sorting/partial_sort_copy.pass.cpp index a27dc62..55b1d04 100644 --- a/pstl/test/std/algorithms/alg.sorting/partial_sort_copy.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/partial_sort_copy.pass.cpp @@ -178,7 +178,7 @@ struct test_non_const } }; -int32_t +int main() { test_partial_sort_copy>([](Num x, Num y) { return x < y; }); diff --git a/pstl/test/std/algorithms/alg.sorting/sort.pass.cpp b/pstl/test/std/algorithms/alg.sorting/sort.pass.cpp index 74a071b..7280dfb 100644 --- a/pstl/test/std/algorithms/alg.sorting/sort.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/sort.pass.cpp @@ -224,7 +224,7 @@ struct test_non_const } }; -int32_t +int main() { std::srand(42); diff --git a/pstl/test/std/numerics/numeric.ops/adjacent_difference.pass.cpp b/pstl/test/std/numerics/numeric.ops/adjacent_difference.pass.cpp index 74c4c81..d77f2c1 100644 --- a/pstl/test/std/numerics/numeric.ops/adjacent_difference.pass.cpp +++ b/pstl/test/std/numerics/numeric.ops/adjacent_difference.pass.cpp @@ -156,7 +156,7 @@ test(Pred pred) } } -int32_t +int main() { test([](uint32_t a, uint32_t b) { return a - b; }); diff --git a/pstl/test/std/numerics/numeric.ops/reduce.pass.cpp b/pstl/test/std/numerics/numeric.ops/reduce.pass.cpp index 78f6fab..743208f 100644 --- a/pstl/test/std/numerics/numeric.ops/reduce.pass.cpp +++ b/pstl/test/std/numerics/numeric.ops/reduce.pass.cpp @@ -97,7 +97,7 @@ test_short_forms() } } -int32_t +int main() { // Test for popular types diff --git a/pstl/test/std/numerics/numeric.ops/scan.pass.cpp b/pstl/test/std/numerics/numeric.ops/scan.pass.cpp index 6b1bebc..4b422dc 100644 --- a/pstl/test/std/numerics/numeric.ops/scan.pass.cpp +++ b/pstl/test/std/numerics/numeric.ops/scan.pass.cpp @@ -180,7 +180,7 @@ test_matrix(Out init, BinaryOp binary_op, Out trash) } } -int32_t +int main() { for (int32_t mode = 0; mode < 2; ++mode) diff --git a/pstl/test/std/numerics/numeric.ops/transform_reduce.pass.cpp b/pstl/test/std/numerics/numeric.ops/transform_reduce.pass.cpp index 1c905d6..c4317c4 100644 --- a/pstl/test/std/numerics/numeric.ops/transform_reduce.pass.cpp +++ b/pstl/test/std/numerics/numeric.ops/transform_reduce.pass.cpp @@ -116,7 +116,7 @@ test_by_type(T init, BinaryOperation1 opB1, BinaryOperation2 opB2, UnaryOp opU, } } -int32_t +int main() { test_by_type(42, std::plus(), std::multiplies(), std::negate(), diff --git a/pstl/test/std/numerics/numeric.ops/transform_scan.pass.cpp b/pstl/test/std/numerics/numeric.ops/transform_scan.pass.cpp index ddf18eb..c9475c9 100644 --- a/pstl/test/std/numerics/numeric.ops/transform_scan.pass.cpp +++ b/pstl/test/std/numerics/numeric.ops/transform_scan.pass.cpp @@ -160,7 +160,7 @@ test_matrix(UnaryOp unary_op, Out init, BinaryOp binary_op, Out trash) } } -int32_t +int main() { for (int32_t mode = 0; mode < 2; ++mode) diff --git a/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_construct.pass.cpp b/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_construct.pass.cpp index e1aad5c..c9c1e79 100644 --- a/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_construct.pass.cpp +++ b/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_construct.pass.cpp @@ -104,7 +104,7 @@ test_uninit_construct_by_type() } } -int32_t +int main() { diff --git a/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_copy_move.pass.cpp b/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_copy_move.pass.cpp index 289b830..cb7df78 100644 --- a/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_copy_move.pass.cpp +++ b/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_copy_move.pass.cpp @@ -124,7 +124,7 @@ test_uninitialized_copy_move_by_type() } } -int32_t +int main() { diff --git a/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_fill_destroy.pass.cpp b/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_fill_destroy.pass.cpp index 77ea601..fe85f32a 100644 --- a/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_fill_destroy.pass.cpp +++ b/pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_fill_destroy.pass.cpp @@ -77,7 +77,7 @@ test_uninitialized_fill_destroy_by_type() } } -int32_t +int main() { // for trivial types -- cgit v1.1