[clang] [clang] Add tests for some CWG 5xx issues (PR #87909)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 8 02:21:57 PDT 2024


================
@@ -1568,6 +1568,18 @@ namespace dr391 { // dr391: 2.8 c++11
 }
 
 // dr392 is in dr392.cpp
+
+namespace dr393 { // dr393: 2.7
+
+template <typename T>
+struct S {};
+
+void f1(S<int (*)[]>);
+void f2(S<int (&)[]>);
+void g(int(*S<int>::*)[]);
----------------
Endilll wrote:

Done.

https://github.com/llvm/llvm-project/pull/87909


More information about the cfe-commits mailing list