================ @@ -0,0 +1,31 @@ +// RUN: %clang_cc1 -fsyntax-only -fenable-matrix -std=c++11 -verify %s +// expected-no-diagnostics + +template <typename T> +void f() { + T().~T(); +} + +template <typename T> +void f1(T *f) { ---------------- Sirraide wrote:
Well, it turns out we currently don’t support matrix types in constant expressions, so, er, I’ll open a separate issue about that. 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