summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_utf16_in.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_utf16_in.pass.cpp')
-rw-r--r--libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_utf16_in.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_utf16_in.pass.cpp b/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_utf16_in.pass.cpp
index aab52fdf12e..482521032af 100644
--- a/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_utf16_in.pass.cpp
+++ b/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_utf16_in.pass.cpp
@@ -234,10 +234,12 @@ void TestHelper<CharT, 4>::test() {
}
}
-int main() {
+int main(int, char**) {
#ifndef _WIN32
TestHelper<wchar_t>::test();
#endif
TestHelper<char32_t>::test();
TestHelper<char16_t>::test();
+
+ return 0;
}
OpenPOWER on IntegriCloud