diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-02-10 06:51:19 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-02-10 06:51:19 +0000 |
commit | 74ec9d794752449be4bd8288ec619a6435e4ad0d (patch) | |
tree | a243df9dc8c0158765a955a66842b56eb6a28972 /test | |
parent | f3078f63a9896656815babc4f95ded9c30d04009 (diff) | |
download | external_libcxx-74ec9d794752449be4bd8288ec619a6435e4ad0d.tar.gz external_libcxx-74ec9d794752449be4bd8288ec619a6435e4ad0d.tar.bz2 external_libcxx-74ec9d794752449be4bd8288ec619a6435e4ad0d.zip |
test: fix test under Windows
When running the test under clang-cl, we do not report `__GNUC__`, which
is needed to supress the warnings which are being treated as errors.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/libcxx/containers/associative/undef_min_max.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libcxx/containers/associative/undef_min_max.pass.cpp b/test/libcxx/containers/associative/undef_min_max.pass.cpp index b108f0ce5..be5e11052 100644 --- a/test/libcxx/containers/associative/undef_min_max.pass.cpp +++ b/test/libcxx/containers/associative/undef_min_max.pass.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#if defined(__GNUC__) +#if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic ignored "-W#warnings" #endif |