diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-05-02 20:08:16 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-05-02 20:08:16 +0000 |
commit | 76af416afc02c53ce636057661d88e54dbfd2465 (patch) | |
tree | 89e50d5ec8d89c62c55b69563e300762dcaa41bd /libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp | |
parent | 2b957b5a6f228797a871426d48098fee479883ef (diff) | |
download | bcm5719-llvm-76af416afc02c53ce636057661d88e54dbfd2465.tar.gz bcm5719-llvm-76af416afc02c53ce636057661d88e54dbfd2465.zip |
Cleanup warnings and remove use of __builtin_va_list in depr.c.headers
llvm-svn: 268294
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp')
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp index 0d229af409b..a2639383cda 100644 --- a/libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp @@ -25,7 +25,7 @@ int main() clock_t c = 0; ((void)c); size_t s = 0; time_t t = 0; - tm tmv = {0}; + tm tmv = {}; static_assert((std::is_same<decltype(clock()), clock_t>::value), ""); static_assert((std::is_same<decltype(difftime(t,t)), double>::value), ""); static_assert((std::is_same<decltype(mktime(&tmv)), time_t>::value), ""); |