summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp')
-rw-r--r--libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp
index 03de33a6b3f..2b9619b73ee 100644
--- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp
@@ -58,7 +58,7 @@ bool counting_equals ( const T &a, const T &b ) {
return a == b;
}
-int main()
+int main(int, char**)
{
int ia[] = {0, 1, 2, 3, 4, 5};
const unsigned s = sizeof(ia)/sizeof(ia[0]);
@@ -114,4 +114,6 @@ int main()
#if TEST_STD_VER > 17
static_assert(test_constexpr());
#endif
+
+ return 0;
}
OpenPOWER on IntegriCloud