[clang] [clang] Fix C++20 list initialization of const references to arrays of unknown bound (PR #218225)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 30 03:00:51 PDT 2026
================
@@ -48,3 +48,21 @@ void gh151716_f() {
}
} // namespace One
+
+namespace Two {
+
+void unknownBoundArrayRef(const int (&)[]);
----------------
cor3ntin wrote:
Do we have sema tests with rvalue ref and non-const ref (the latter should fail)
https://github.com/llvm/llvm-project/pull/218225
More information about the cfe-commits
mailing list