================ @@ -31,6 +32,11 @@ namespace usage_ok { return *(int*)param; } + template <class T, class R = void> R dependent_void(const T& t [[clang::lifetimebound]]); + void dependent_void_instantiation() { + dependent_void<int>(1); ---------------- bricknerb wrote:
Done. https://github.com/llvm/llvm-project/pull/113460 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits