[clang] [clang] Add test for CWG110 "Can template functions and classes be declared in the same scope?" (PR #111446)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 8 04:55:18 PDT 2024
================
@@ -119,6 +119,16 @@ namespace cwg109 { // cwg109: yes
};
}
+namespace cwg110 { // cwg110: 2.8
+template <typename>
+void f();
+
+class f;
+
+template <typename>
+void f(int);
+} // namespace cwg110
----------------
Endilll wrote:
I updated the test. Does it look good now?
https://github.com/llvm/llvm-project/pull/111446
More information about the cfe-commits
mailing list