https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94155
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Even simpler: struct S { int i, j; }; struct A { S s; constexpr A(S e) : s(e) {} }; void f() { A g[1]({{1, 1}}); }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94155
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Even simpler: struct S { int i, j; }; struct A { S s; constexpr A(S e) : s(e) {} }; void f() { A g[1]({{1, 1}}); }