[clang] [libcxx] [Clang] Diagnose forming references to nullptr (PR #143667)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 10 05:01:31 PDT 2025
================
@@ -59,7 +59,7 @@ constexpr bool test() {
{
// bidi
- int buffer[2] = {1, 2};
+ int buffer[3] = {1, 2, 3};
----------------
cor3ntin wrote:
Well, the test is called `increment.pass.cpp`, and used to be valid, so I assume it should remain valid!
https://github.com/llvm/llvm-project/pull/143667
More information about the cfe-commits
mailing list