diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-02-18 19:28:41 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-02-18 19:28:41 +0000 |
| commit | c409aa8a9e58f95548b9fb3bdb4a4be47bf605d7 (patch) | |
| tree | 5f04b8930a8e33da96666e2d90997a4a27c54642 /libcxx/test/std/depr | |
| parent | af14a631d0fcc7f5e6804571cca1c6f6876b10ca (diff) | |
| download | bcm5719-llvm-c409aa8a9e58f95548b9fb3bdb4a4be47bf605d7.tar.gz bcm5719-llvm-c409aa8a9e58f95548b9fb3bdb4a4be47bf605d7.zip | |
test: silence warnings on clang under clang-cl
When running under clang-cl mode, we do not define `__GNUC__`, resulting
in the test failing.
llvm-svn: 295560
Diffstat (limited to 'libcxx/test/std/depr')
| -rw-r--r-- | libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp index 85f9d298628..8670af6d4da 100644 --- a/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp @@ -99,7 +99,7 @@ #include <cstdarg> -#if defined(__GNUC__) +#if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic ignored "-Wformat-zero-length" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" // for tmpnam #endif |

