================
@@ -153,6 +153,12 @@ namespace cwg727 { // cwg727: partial
       // expected-error@-2 {{variable template partial specialization of 'N' 
not in class 'A' or an enclosing namespace}}
       //   expected-note@#cwg727-N {{explicitly specialized declaration is 
here}}
     };
+
+    template <class> struct E {
+      template <class> struct F {};
+    };
+    template <> template <class> struct E<void>::F {};
+    template <> template <class> struct E<char>::F {};
----------------
Endilll wrote:

I asked because when I went through the rest of the test, most of the FIXMEs 
were about lack of redefinition diagnostics, so I thought it would be prudent 
to make sure we don't have that shortcoming here.

https://github.com/llvm/llvm-project/pull/207256
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to