summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/language.support/support.runtime/ctime.pass.cpp')
-rw-r--r--libcxx/test/std/language.support/support.runtime/ctime.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp b/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp
index 57fb0124515..a8c2dc7ff56 100644
--- a/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp
+++ b/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp
@@ -26,7 +26,7 @@
#endif
#endif
-int main()
+int main(int, char**)
{
std::clock_t c = 0;
std::size_t s = 0;
@@ -58,4 +58,6 @@ int main()
((void)c1); // Prevent unused warning
((void)c2); // Prevent unused warning
static_assert((std::is_same<decltype(std::strftime(c1,s,c2,&tm)), std::size_t>::value), "");
+
+ return 0;
}
OpenPOWER on IntegriCloud