broadwaylamb added a comment. In D78404#1990192 <https://reviews.llvm.org/D78404#1990192>, @rsmith wrote:
> ... please also test ... > > template<typename T> class TemplateClass3<T, &TestClass::func> > varTemplate3{}; > > > ... which we should diagnose, because that's a primary variable template > definition, not a partial / explicit specialization or explicit instantiation. Interestingly, the latest GCC doesn't diagnose here <https://godbolt.org/z/svejsJ>, but we do. Do we need to remain compatible with GCC in this case? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78404/new/ https://reviews.llvm.org/D78404 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits