================ @@ -17,7 +18,7 @@ struct fake_tuple { int arr[4] = {1, 2, 3, 6}; template <unsigned i> - int get() { + constexpr int& get() { ---------------- zwuis wrote:
> Were these two functions never called in a constant context before? Yes. Only semantic analysis was performed on these functions. https://github.com/llvm/llvm-project/pull/146474 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits