================ @@ -51,6 +51,11 @@ struct A { ~A(); }; } namespace test5 { +struct A { ~A(); }; +[[clang::always_destroy]] A a; // no warning +} + ---------------- ycdtosa wrote: Yup. I will do. https://github.com/llvm/llvm-project/pull/86486