summaryrefslogtreecommitdiff
path: root/pstl
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-07-18 20:21:52 +0000
committerLouis Dionne <ldionne@apple.com>2019-07-18 20:21:52 +0000
commit249c1c7407ab6cd489ddce14f5574bc8c094c9bc (patch)
tree68059cc3eefbb28e0d486eefbb4ae5b8751f08d2 /pstl
parentf893d5bf0f313b718f6209d666e5a6e32eed961e (diff)
downloadllvm-249c1c7407ab6cd489ddce14f5574bc8c094c9bc.tar.gz
[pstl] Declare main() as returning int, not int32_t
llvm-svn: 366490
Diffstat (limited to 'pstl')
-rw-r--r--pstl/test/pstl/header_inclusion_order_algorithm_0.pass.cpp2
-rw-r--r--pstl/test/pstl/header_inclusion_order_algorithm_1.pass.cpp2
-rw-r--r--pstl/test/pstl/header_inclusion_order_memory_0.pass.cpp2
-rw-r--r--pstl/test/pstl/header_inclusion_order_memory_1.pass.cpp2
-rw-r--r--pstl/test/pstl/header_inclusion_order_numeric_0.pass.cpp2
-rw-r--r--pstl/test/pstl/header_inclusion_order_numeric_1.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.merge/inplace_merge.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.merge/merge.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/copy_move.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/fill.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/generate.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/remove_copy.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/replace_copy.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/rotate.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/rotate_copy.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/transform_binary.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/transform_unary.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/unique_copy_equal.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/adjacent_find.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/all_of.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/any_of.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/count.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/find.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/find_end.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/find_first_of.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/for_each.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/none_of.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/search_n.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.sorting/alg.heap.operations/is_heap.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.sorting/is_sorted.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.sorting/partial_sort.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.sorting/partial_sort_copy.pass.cpp2
-rw-r--r--pstl/test/std/algorithms/alg.sorting/sort.pass.cpp2
-rw-r--r--pstl/test/std/numerics/numeric.ops/adjacent_difference.pass.cpp2
-rw-r--r--pstl/test/std/numerics/numeric.ops/reduce.pass.cpp2
-rw-r--r--pstl/test/std/numerics/numeric.ops/scan.pass.cpp2
-rw-r--r--pstl/test/std/numerics/numeric.ops/transform_reduce.pass.cpp2
-rw-r--r--pstl/test/std/numerics/numeric.ops/transform_scan.pass.cpp2
-rw-r--r--pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_construct.pass.cpp2
-rw-r--r--pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_copy_move.pass.cpp2
-rw-r--r--pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_fill_destroy.pass.cpp2
59 files changed, 59 insertions, 59 deletions
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 4b72bda1be00..df8ebe58390f 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 <execution>
#include <algorithm>
-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 6469cc7d85aa..818ae4ba7457 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 <algorithm>
#include <execution>
-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 ed61e4ef3a41..104610a8d896 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 <execution>
#include <memory>
-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 e18317a38fb5..aece3eeef497 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 <memory>
#include <execution>
-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 dd70ab9f12d4..79086e70ed3e 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 <execution>
#include <numeric>
-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 6d8cae953dbe..a9b32c8225c2 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 <numeric>
#include <execution>
-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 a7aa2e70bbe8..64433c835edd 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<float64_t>([](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 6d7027ca024a..56b557cca74b 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<int32_t>([](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 7e5337b49b6e..62eb7f688784 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<float64_t>(-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 135d35d741ec..e5856a13b07b 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<float64_t>([](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 36783a7b6ff9..57d783095d5b 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 a391ba8ba7a6..1a06c55d3566 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<int32_t>([](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 5372524b8541..a9dbdf048f20 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<int32_t>();
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 7bd2444c5f46..668f970ef0fe 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 1ef1a9c6185a..8aa616e42777 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<int32_t>(-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 760cb3a18d28..5d1715705c60 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 025fa387a16c..d3375ec5b20f 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 2166cb41e13b..c01b8e23b2eb 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 0a2a4468e7d3..9b47cca54c0e 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 96b169139a23..963ff1214eeb 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<int32_t, float32_t>(__pstl::__internal::__equal_value<int32_t>(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 05079f6b5f36..a2e4f721e85c 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 c63866d6519d..a5c0bc2dad86 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<int32_t>();
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 f61534a40d8c..0706c9c4e7fd 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<int32_t, int8_t>();
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 fca8bf5c4897..2c8f652fdefd 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<wrapper<uint16_t>>();
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 ead2f7d5e583..d0f8c68afa72 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 e99b64ade2e2..55726db0c276 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<int32_t, int32_t>();
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 3d986b47797a..7ef5d9194926 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 8b46966c1680..f55209f4ed62 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>(Number(42, OddTag()), std::equal_to<Number>(),
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 61cfa31f9c82..d9c983afec45 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 cde47515ae29..97e41441ac4f 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<int32_t>(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 c06dc409ced1..1430de9b63db 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<int32_t>(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 f40d59c9b557..7ec77f376048 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<int32_t>(42, IsEqual<int32_t>(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 742256abffcd..45ec237a4b2c 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 a5c213021fe1..d6bcadb7bddf 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 a24d82a497dc..b6a60f0c12e3 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<int32_t>(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 07df841fd964..7f5a55681172 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<int32_t>(std::equal_to<int32_t>());
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 947b0f5e404c..5bafbbc5e500 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 88b622a47a1e..3aae4a4aaefc 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<int32_t>();
diff --git a/pstl/test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp
index a7a639bcc392..109ac4b82567 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 de1d651a18ce..e84de3cbaf08 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<int32_t>(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 c620450e9df8..49cf28be30b1 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>([](int32_t i) { return 10 * i; }, [](int32_t i) { return i + 1; }, std::less<int32_t>());
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 e587eb5c3742..a42193a4441f 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<int32_t>();
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 fc6cf70142b1..6dc8bb6a6f7e 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<float32_t>(std::greater<float32_t>());
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 e9f8a9562084..abd10667cad4 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<uint16_t, float64_t>(std::less<float64_t>());
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 e4a4ff6ddece..a1a29b7b646a 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 2f4a72f5b2f2..8712f173f10d 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 35ab452d5161..5b86dd5bdc27 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 782849cdd935..3a48160fc17b 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 81cb14e04e3d..b1cd66965e1f 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 a27dc6289edb..55b1d04c7986 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<float32_t>>([](Num<float32_t> x, Num<float32_t> 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 74a071b11c0a..7280dfb61ca7 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 74c4c8192faf..d77f2c1127ea 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<uint8_t, uint32_t>([](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 78f6fab676e7..743208fd19c4 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 6b1bebcce92e..4b422dc64fdb 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 1c905d68448e..c4317c43e7d4 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<int32_t>(42, std::plus<int32_t>(), std::multiplies<int32_t>(), std::negate<int32_t>(),
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 ddf18eb179c7..c9475c97c9d9 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 e1aad5cc3361..c9c1e79fb40d 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 289b830efce2..cb7df7829fe1 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 77ea601a882c..fe85f32a1f7b 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