diff options
Diffstat (limited to 'clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp')
| -rw-r--r-- | clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp b/clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp index d48ee03dcce..8f4c34744d9 100644 --- a/clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp +++ b/clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp @@ -220,7 +220,7 @@ void backtrace() { void test_array_fill() { constexpr unsigned char a[4] = {1, 2}; constexpr unsigned int i = bit_cast<unsigned int>(a); - static_assert(i == LITTLE_END ? 0x00000201 : 0x01020000, ""); + static_assert(i == LITTLE_END ? 0x00000201 : 0x01020000, ""); // expected-warning {{converting the result of '?:' with integer constants to a boolean always evaluates to 'true'}} } typedef decltype(nullptr) nullptr_t; |

