summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp')
-rw-r--r--libcxx/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp b/libcxx/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp
index 0b5d0c50413..3dcf29fa009 100644
--- a/libcxx/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp
+++ b/libcxx/test/std/re/re.regex/re.regex.construct/iter_iter.pass.cpp
@@ -28,7 +28,7 @@ test(Iter first, Iter last, unsigned mc)
assert(r.mark_count() == mc);
}
-int main()
+int main(int, char**)
{
typedef forward_iterator<std::string::const_iterator> F;
std::string s1("\\(a\\)");
@@ -40,4 +40,6 @@ int main()
test(F(s2.begin()), F(s2.end()), 0);
test(F(s3.begin()), F(s3.end()), 0);
test(F(s4.begin()), F(s4.end()), 2);
+
+ return 0;
}
OpenPOWER on IntegriCloud