summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp')
-rw-r--r--libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp
index 6072159952c..b964ea76f94 100644
--- a/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp
+++ b/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp
@@ -28,7 +28,7 @@
#error WEOF not defined
#endif
-int main()
+int main(int, char**)
{
// mbstate_t comes from the underlying C library; it is defined (in C99) as:
// a complete object type other than an array type that can hold the conversion
@@ -126,4 +126,6 @@ int main()
static_assert((std::is_same<decltype(vwprintf(L"", va)), int>::value), "");
static_assert((std::is_same<decltype(wprintf(L"")), int>::value), "");
#endif
+
+ return 0;
}
OpenPOWER on IntegriCloud