================ @@ -271,3 +271,33 @@ void operators() { if (to_int_int) {} // expected-error {{attempt to use a deleted function: deleted (TO<int, int>, operator bool)}} static_cast<bool>(to_int_int); // expected-error {{static_cast from 'TO<int, int>' to 'bool' uses deleted function: deleted (TO<int, int>, operator bool)}} }; + +namespace gh135506 { +struct a { + // FIXME: We currently don't diagnose these invalid redeclarations if the ---------------- Fznamznon wrote:
Does it make sense to create a gh issue? https://github.com/llvm/llvm-project/pull/135679 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits