================
@@ -645,4 +645,27 @@ namespace undefined_warnings {
     auto test2 = TemplDObj(.0f);
   }
 }
+
+namespace GH51710 {
+template<typename T>
+struct A {
+  A(T f()) {}
+  A(int f(), T) {}
+
+  A(T array[10]) {}
+  A(int array[10], T) {}
----------------
cor3ntin wrote:

Can you add tests for incomplete array (in another struct ie

```cpp
template<typename T>
struct B {
   B(T array[]) {}
   B(int array[], T) {}
};


https://github.com/llvm/llvm-project/pull/78159
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to