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