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/std/algorithms/alg.nonmodifying/nth_element.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pstl/test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp') 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 c620450e9df..49cf28be30b 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()); -- cgit v1.2.3