summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp')
-rw-r--r--libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp
index aa7c74788d7..58e6084626a 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp
@@ -48,7 +48,9 @@ void test_stability(bool expect_stable) {
assert(expect_stable == !unstable);
}
-int main() {
+int main(int, char**) {
test_stability<forward_iterator<int *>, output_iterator<int *> >(true);
test_stability<input_iterator<int *>, random_access_iterator<int *> >(false);
+
+ return 0;
}
OpenPOWER on IntegriCloud