summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.regex/re.regex.assign/string.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.regex/re.regex.assign/string.pass.cpp')
-rw-r--r--libcxx/test/std/re/re.regex/re.regex.assign/string.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.regex/re.regex.assign/string.pass.cpp b/libcxx/test/std/re/re.regex/re.regex.assign/string.pass.cpp
index 3cb8e8b41be..e33819ab3c3 100644
--- a/libcxx/test/std/re/re.regex/re.regex.assign/string.pass.cpp
+++ b/libcxx/test/std/re/re.regex/re.regex.assign/string.pass.cpp
@@ -17,10 +17,12 @@
#include <cassert>
#include "test_macros.h"
-int main()
+int main(int, char**)
{
std::regex r2;
r2 = std::string("(a([bc]))");
assert(r2.flags() == std::regex::ECMAScript);
assert(r2.mark_count() == 2);
+
+ return 0;
}
OpenPOWER on IntegriCloud