Skip to content

Commit

Permalink
[NFC] Fixed failed test
Browse files Browse the repository at this point in the history
llvm-svn: 372533
  • Loading branch information
davidbolvansky committed Sep 22, 2019
1 parent 7c3d6f5 commit 7b4d40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7b4d40e

Please sign in to comment.