================ @@ -96,3 +96,49 @@ namespace PR38286 { template<typename> struct C; // expected-note {{non-type declaration found}} template<typename T> C<T>::~C() {} // expected-error {{identifier 'C' after '~' in destructor name does not name a type}} } + +namespace GH121706 { ---------------- a-tarasyuk wrote:
@cor3ntin I've added tests to cover these cases and additional tests to address https://eel.is/c++draft/class.conv.fct#1., if I've missed any cases from the spec, I'd appreciate it if you could point them out. thanks https://github.com/llvm/llvm-project/pull/122621 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits