summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp')
-rw-r--r--libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp
index 9774dd6e83d..fd2419bb707 100644
--- a/libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp
+++ b/libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp
@@ -39,9 +39,11 @@
#error NULL not defined
#endif
-int main()
+int main(int, char**)
{
lconv lc; ((void)lc);
static_assert((std::is_same<decltype(setlocale(0, "")), char*>::value), "");
static_assert((std::is_same<decltype(localeconv()), lconv*>::value), "");
+
+ return 0;
}
OpenPOWER on IntegriCloud