[clang] [Clang][P1061] Fix invalid pack binding crash (PR #135129)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 10 19:14:43 PDT 2025
================
@@ -3,9 +3,15 @@
// RUN: %clang_cc1 -std=c++23 -verify=cxx23,nontemplate -fsyntax-only -Wc++26-extensions %s
void decompose_array() {
- int arr[4] = {1, 2, 3, 6};
----------------
shafik wrote:
We should have both cases tested, we want as wide test coverage as possible.
Since we just saw w/ the bug this fixes the change in semantics uncovered a bug so covering both semantics is the right thing to do.
https://github.com/llvm/llvm-project/pull/135129
More information about the cfe-commits
mailing list