https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88028

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
And even more:

struct S {};
struct A { S s[1]; };

template <typename>
struct R { static constexpr auto h = A{S{}}; };

A foo = R<int>::h;

Reply via email to