[libcxx-commits] [clang] [libcxx] [Clang] Diagnose forming references to nullptr (PR #143667)
Aaron Ballman via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 10 05:03:33 PDT 2025
================
@@ -59,7 +59,7 @@ constexpr bool test() {
{
// bidi
- int buffer[2] = {1, 2};
+ int buffer[3] = {1, 2, 3};
----------------
AaronBallman wrote:
I'd think that as well, but the fact that it passed when it should fail means we should double-check. :-D I don't have opinions either way, just calling attention to it for the libc++ folks.
https://github.com/llvm/llvm-project/pull/143667
More information about the libcxx-commits
mailing list