================ @@ -300,7 +300,11 @@ int test_extract_template(MyMatrix<int, 2, 2> Mat1) { using double4x4 = double __attribute__((matrix_type(4, 4))); template <class R, class C> -auto matrix_subscript(double4x4 m, R r, C c) -> decltype(m[r][c]) {} +auto matrix_subscript(double4x4 m, R r, C c) -> decltype(m[r][c]) { + // FIXME: We can't actually do 'return m[r][c]' here currently. + static double d; ---------------- cor3ntin wrote:
are we supposed to be able to? https://github.com/llvm/llvm-project/pull/123464 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits