From 7b4d40e8db36532abdd0c5cd6b5c42a8d414ca42 Mon Sep 17 00:00:00 2001 From: David Bolvansky Date: Sun, 22 Sep 2019 22:15:11 +0000 Subject: [PATCH] [NFC] Fixed failed test llvm-svn: 372533 --- clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp b/clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp index d48ee03dccebb..8f4c34744d9f1 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(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;