summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp')
-rw-r--r--libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp
index d35927a1a9b..4f32b6e94a4 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp
@@ -50,7 +50,7 @@ test()
assert(ia[4] == 4);
}
-int main()
+int main(int, char**)
{
test<forward_iterator<int*> >();
test<bidirectional_iterator<int*> >();
@@ -60,4 +60,6 @@ int main()
#if TEST_STD_VER > 17
static_assert(test_constexpr());
#endif
+
+ return 0;
}
OpenPOWER on IntegriCloud