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