summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-02-25 20:04:11 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-02-25 20:04:11 +0000
commit167d0fbb8adc7d42b4d99df6b823fe411cacec1f (patch)
tree5c118b14661d5b0e9052c227c28cf173d238333a /libcxx/test
parent7b99bada0b281c915ed7e8ac99e145aa7f0f6d81 (diff)
downloadbcm5719-llvm-167d0fbb8adc7d42b4d99df6b823fe411cacec1f.tar.gz
bcm5719-llvm-167d0fbb8adc7d42b4d99df6b823fe411cacec1f.zip
Silence some warnings in a test.
llvm-svn: 151451
Diffstat (limited to 'libcxx/test')
-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