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