diff options
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.cpp | 4 |
1 files changed, 4 insertions, 0 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 97671d4e01b..6bd2b2d3098 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 @@ -34,10 +34,14 @@ int main() // a complete object type other than an array type that can hold the conversion // state information necessary to convert between sequences of multibyte // characters and wide characters +#if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wmissing-braces" +#endif mbstate_t mb = {0}; +#if defined(__clang__) #pragma clang diagnostic pop +#endif size_t s = 0; tm *tm = 0; |