summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp')
-rw-r--r--libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp b/libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp
index 095980c6055..43fc9b89cb8 100644
--- a/libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp
+++ b/libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp
@@ -27,7 +27,7 @@
#include "platform_support.h" // locale name macros
-int main()
+int main(int, char**)
{
{
std::cmatch m;
@@ -1391,4 +1391,5 @@ int main()
assert(m.position(0) == 0);
assert(m.str(0) == s);
}
+ return 0;
}
OpenPOWER on IntegriCloud