summaryrefslogtreecommitdiffstats
path: root/pstl/test/std/algorithms/alg.modifying.operations/alg.reverse
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/test/std/algorithms/alg.modifying.operations/alg.reverse
parentf893d5bf0f313b718f6209d666e5a6e32eed961e (diff)
downloadbcm5719-llvm-249c1c7407ab6cd489ddce14f5574bc8c094c9bc.tar.gz
bcm5719-llvm-249c1c7407ab6cd489ddce14f5574bc8c094c9bc.zip
[pstl] Declare main() as returning int, not int32_t
llvm-svn: 366490
Diffstat (limited to 'pstl/test/std/algorithms/alg.modifying.operations/alg.reverse')
-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
2 files changed, 2 insertions, 2 deletions
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 5372524b854..a9dbdf048f2 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 7bd2444c5f4..668f970ef0f 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,
OpenPOWER on IntegriCloud