Skip to content

Commit

Permalink
[libc++] Fix a test failure in 7b00e9f (D93815).
Browse files Browse the repository at this point in the history
"LLVM Buildbot on libcxx-libcxxabi-x86_64-linux-debian" is not happy
with default-initializing the `double` member of `A` in a constexpr
function. At least I'm pretty sure that's what it's complaining about.
  • Loading branch information
Arthur O'Dwyer committed Dec 28, 2020
1 parent 9abc457 commit dd756e3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ TEST_CONSTEXPR_CXX20 bool
test(F f)
{
{
A a;
A a = {0.0};
f(a) = 5;
assert(a.data_ == 5);
A* ap = &a;
Expand Down

0 comments on commit dd756e3

Please sign in to comment.