summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.regex/re.regex.construct/string.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.regex/re.regex.construct/string.pass.cpp')
-rw-r--r--libcxx/test/std/re/re.regex/re.regex.construct/string.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.regex/re.regex.construct/string.pass.cpp b/libcxx/test/std/re/re.regex/re.regex.construct/string.pass.cpp
index 58f607183e9..ecd0451d82b 100644
--- a/libcxx/test/std/re/re.regex/re.regex.construct/string.pass.cpp
+++ b/libcxx/test/std/re/re.regex/re.regex.construct/string.pass.cpp
@@ -26,10 +26,12 @@ test(const String& p, unsigned mc)
assert(r.mark_count() == mc);
}
-int main()
+int main(int, char**)
{
test(std::string("\\(a\\)"), 0);
test(std::string("\\(a[bc]\\)"), 0);
test(std::string("\\(a\\([bc]\\)\\)"), 0);
test(std::string("(a([bc]))"), 2);
+
+ return 0;
}
OpenPOWER on IntegriCloud