summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp')
-rw-r--r--libcxx/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp b/libcxx/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp
index 998f28db892..e918b03116b 100644
--- a/libcxx/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp
+++ b/libcxx/test/std/re/re.regex/re.regex.construct/ptr_flg.pass.cpp
@@ -25,7 +25,7 @@ test(const CharT* p, std::regex_constants::syntax_option_type f, unsigned mc)
assert(r.mark_count() == mc);
}
-int main()
+int main(int, char**)
{
test("\\(a\\)", std::regex_constants::basic, 1);
test("\\(a[bc]\\)", std::regex_constants::basic, 1);
@@ -56,4 +56,6 @@ int main()
test("\\(a[bc]\\)", std::regex_constants::egrep, 0);
test("\\(a\\([bc]\\)\\)", std::regex_constants::egrep, 0);
test("(a([bc]))", std::regex_constants::egrep, 2);
+
+ return 0;
}
OpenPOWER on IntegriCloud