https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94155
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Reduced:
template <typename T> struct A {
int i;
T t;
constexpr A(int, T e) : i(), t(e) {}
};
void
f()
{
A<A<int>> g[1]({1, {1, 1}});
}
We ICE because we don't satisfy:
4662 /* ??? Here's to hoping the front end fills in all of the indices,
4663 so we don't have to figure out what's missing ourselves. */
4664 gcc_assert (purpose);
