================ @@ -67,15 +68,19 @@ struct Bar { template <typename U, int num> constexpr int fail2() const { return 1 / 0; } // expected-warning {{division by zero}} \ // expected-note {{division by zero}} +#ifndef NEW_CONST_INTERP template <typename ...Args> constexpr int fail3(Args... args) const { return 1 / 0; } // expected-warning {{division by zero}} \ // expected-note {{division by zero}} ---------------- tbaederr wrote:
Ah, I get it. It's missing because the `static_assert` calling that function is `#if 0`ed out. https://github.com/llvm/llvm-project/pull/102170 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits