summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/test/depr/depr.c.headers/stdio_h.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/depr/depr.c.headers/stdio_h.pass.cpp b/libcxx/test/depr/depr.c.headers/stdio_h.pass.cpp
index 50e1c80d424..8e236e32b8e 100644
--- a/libcxx/test/depr/depr.c.headers/stdio_h.pass.cpp
+++ b/libcxx/test/depr/depr.c.headers/stdio_h.pass.cpp
@@ -78,6 +78,8 @@
#include <cstdarg>
+#pragma clang diagnostic ignored "-Wformat-zero-length"
+
int main()
{
FILE* fp = 0;
OpenPOWER on IntegriCloud