summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/template.bitset/bitset.cons/default.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-04-28 01:49:03 +0000
committerEric Fiselier <eric@efcs.ca>2016-04-28 01:49:03 +0000
commite5eb7049eb45f960dd7927e037a637a175d3f6db (patch)
tree411bac5f89419725ec6adc92d9d6ef7845d08e28 /libcxx/test/std/utilities/template.bitset/bitset.cons/default.pass.cpp
parent15643352ebec4e44ec03ab02491986f15acf132a (diff)
downloadbcm5719-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.cons/default.pass.cpp')
-rw-r--r--libcxx/test/std/utilities/template.bitset/bitset.cons/default.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/template.bitset/bitset.cons/default.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.cons/default.pass.cpp
index bd5ca7e08b2..2162f34b4d5 100644
--- a/libcxx/test/std/utilities/template.bitset/bitset.cons/default.pass.cpp
+++ b/libcxx/test/std/utilities/template.bitset/bitset.cons/default.pass.cpp
@@ -12,7 +12,9 @@
#include <bitset>
#include <cassert>
+#if defined(__clang__)
#pragma clang diagnostic ignored "-Wtautological-compare"
+#endif
template <std::size_t N>
void test_default_ctor()
OpenPOWER on IntegriCloud