From: David Bolvansky Date: Sun, 22 Sep 2019 22:15:11 +0000 (+0000) Subject: [NFC] Fixed failed test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=831e1f80629ab427a15dcb0cbd0d1e7e41c71d3b;p=clang [NFC] Fixed failed test git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372533 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/constexpr-builtin-bit-cast.cpp b/test/SemaCXX/constexpr-builtin-bit-cast.cpp index d48ee03dcc..8f4c34744d 100644 --- a/test/SemaCXX/constexpr-builtin-bit-cast.cpp +++ b/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;