https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490
ensadc at mailnesia dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ensadc at mailnesia dot com --- Comment #2 from ensadc at mailnesia dot com --- reduced & modified: ``` template<class T> constexpr int fake_tuple_size_v = 3; template<int...> struct intseq {}; template<int N> using genseq = intseq<__integer_pack(N)...>; template<int A, class S = genseq<0 ? A : A>> struct arith_result { }; template<typename T> auto Mul(const T&) { return [](auto) { return arith_result<fake_tuple_size_v<T>> { }; }(0); } auto x = Mul(0); ```