summaryrefslogtreecommitdiffstats
path: root/pstl/test
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-04-12 18:38:58 +0000
committerLouis Dionne <ldionne@apple.com>2019-04-12 18:38:58 +0000
commit11bbb5831ba5d5823bccea7f84eaaab54276e32c (patch)
treec21ac58c06b6039fa569e3c21007974177080cc5 /pstl/test
parentb95559c96475672c30fc767f99228fd449fbaa45 (diff)
downloadbcm5719-llvm-11bbb5831ba5d5823bccea7f84eaaab54276e32c.tar.gz
bcm5719-llvm-11bbb5831ba5d5823bccea7f84eaaab54276e32c.zip
[NFC] Add explicit return from main() in tests
llvm-svn: 358302
Diffstat (limited to 'pstl/test')
-rw-r--r--pstl/test/pstl/version.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/pstl/test/pstl/version.pass.cpp b/pstl/test/pstl/version.pass.cpp
index 15f6aeba762..e57569b5010 100644
--- a/pstl/test/pstl/version.pass.cpp
+++ b/pstl/test/pstl/version.pass.cpp
@@ -14,4 +14,6 @@ static_assert(_PSTL_VERSION_MAJOR == 9);
static_assert(_PSTL_VERSION_MINOR == 00);
static_assert(_PSTL_VERSION_PATCH == 0);
-int main() { }
+int main() {
+ return 0;
+}
OpenPOWER on IntegriCloud