summaryrefslogtreecommitdiffstats
path: root/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp')
-rw-r--r--libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp b/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp
index 9b8212150e4..9b2e5118fff 100644
--- a/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp
+++ b/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp
@@ -78,6 +78,9 @@
#include <cstdarg>
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wformat-zero-length"
+
int main()
{
std::FILE* fp = 0;
OpenPOWER on IntegriCloud