diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:13:34 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:13:34 +0000 |
| commit | 733153a0fb52facba02c550ec849f0c734dfa412 (patch) | |
| tree | 8f249e8b8f6a7803a81bb0fed33213b9249b7ac1 /test/std/utilities/template.bitset/bitset.members/op_eq_eq.pass.cpp | |
| parent | 2fa809d9eabddd820af54059faa8362dd50b51de (diff) | |
Notes
Diffstat (limited to 'test/std/utilities/template.bitset/bitset.members/op_eq_eq.pass.cpp')
| -rw-r--r-- | test/std/utilities/template.bitset/bitset.members/op_eq_eq.pass.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/std/utilities/template.bitset/bitset.members/op_eq_eq.pass.cpp b/test/std/utilities/template.bitset/bitset.members/op_eq_eq.pass.cpp index 5b7e10d677ee3..52157696e22f6 100644 --- a/test/std/utilities/template.bitset/bitset.members/op_eq_eq.pass.cpp +++ b/test/std/utilities/template.bitset/bitset.members/op_eq_eq.pass.cpp @@ -17,8 +17,12 @@ #include <cstdlib> #include <cassert> -#if defined(__clang__) +#include "test_macros.h" + +#if defined(TEST_COMPILER_CLANG) #pragma clang diagnostic ignored "-Wtautological-compare" +#elif defined(TEST_COMPILER_C1XX) +#pragma warning(disable: 6294) // Ill-defined for-loop: initial condition does not satisfy test. Loop body not executed. #endif template <std::size_t N> |
