summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.alg/re.alg.search/egrep.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.alg/re.alg.search/egrep.pass.cpp')
-rw-r--r--libcxx/test/std/re/re.alg/re.alg.search/egrep.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.alg/re.alg.search/egrep.pass.cpp b/libcxx/test/std/re/re.alg/re.alg.search/egrep.pass.cpp
index 4e329526088..df8560f5fa8 100644
--- a/libcxx/test/std/re/re.alg/re.alg.search/egrep.pass.cpp
+++ b/libcxx/test/std/re/re.alg/re.alg.search/egrep.pass.cpp
@@ -21,7 +21,7 @@
#include "test_macros.h"
#include "test_iterators.h"
-int main()
+int main(int, char**)
{
{
std::cmatch m;
@@ -87,4 +87,6 @@ int main()
assert(m.position(0) == 0);
assert(m.str(0) == "tourna");
}
+
+ return 0;
}
OpenPOWER on IntegriCloud