================
@@ -48,3 +48,24 @@ void gh151716_f() {
}
} // namespace One
+
+namespace Two {
+
+// A braced-init-list may also bind to a const lvalue reference to an array of
+// unknown bound, not just to an rvalue reference. This used to crash in
+// CodeGen with "type mismatch in call argument!" (GH215501).
----------------
zyn0217 wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/218225
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits