summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_max_length.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_max_length.pass.cpp')
-rw-r--r--libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_max_length.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_max_length.pass.cpp b/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_max_length.pass.cpp
index a353ad6cf56..57e5f5850c6 100644
--- a/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_max_length.pass.cpp
+++ b/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_max_length.pass.cpp
@@ -21,7 +21,7 @@
#include <codecvt>
#include <cassert>
-int main()
+int main(int, char**)
{
{
typedef std::codecvt_utf8<wchar_t> C;
@@ -59,4 +59,6 @@ int main()
int r = c.max_length();
assert(r == 7);
}
+
+ return 0;
}
OpenPOWER on IntegriCloud