================ @@ -0,0 +1,19 @@ +// RUN: %clang_cc1 -fsyntax-only -fenable-matrix -std=c++11 -verify %s +// expected-no-diagnostics + +template <typename T> +void f() { + T().~T(); +} ---------------- Sirraide wrote:
Added a test for this too https://github.com/llvm/llvm-project/pull/117483 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits