diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-04-28 01:49:03 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-04-28 01:49:03 +0000 |
commit | e5eb7049eb45f960dd7927e037a637a175d3f6db (patch) | |
tree | 411bac5f89419725ec6adc92d9d6ef7845d08e28 /libcxx/test/std/utilities/template.bitset/bitset.members/test.pass.cpp | |
parent | 15643352ebec4e44ec03ab02491986f15acf132a (diff) | |
download | bcm5719-llvm-e5eb7049eb45f960dd7927e037a637a175d3f6db.tar.gz bcm5719-llvm-e5eb7049eb45f960dd7927e037a637a175d3f6db.zip |
Guard Clang and GCC specific pragmas. Patch from STL@microsoft.com
llvm-svn: 267836
Diffstat (limited to 'libcxx/test/std/utilities/template.bitset/bitset.members/test.pass.cpp')
-rw-r--r-- | libcxx/test/std/utilities/template.bitset/bitset.members/test.pass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/template.bitset/bitset.members/test.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.members/test.pass.cpp index ce594d0ae89..1566106fdf1 100644 --- a/libcxx/test/std/utilities/template.bitset/bitset.members/test.pass.cpp +++ b/libcxx/test/std/utilities/template.bitset/bitset.members/test.pass.cpp @@ -14,7 +14,9 @@ #include <cstdlib> #include <cassert> +#if defined(__clang__) #pragma clang diagnostic ignored "-Wtautological-compare" +#endif template <std::size_t N> std::bitset<N> |