================
@@ -246,6 +246,17 @@ void PTMFTester::convert() [[clang::nonblocking]]
        (this->*mConvertFunc)();
 }
 
+// Allow implicit conversion from array to pointer.
+void nb14(unsigned idx) [[clang::nonblocking]]
+{
+       using FP = void (*)() [[clang::nonblocking]];
+       using FPArray = FP[2];
----------------
Sirraide wrote:

Can you add some tests for multidimensional arrays and VLAs too?

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

Reply via email to