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