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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Gawain Bolton from comment #0)

> From my understanding of the C++20 standard (cf.
> https://eel.is/c++draft/dcl.init.general#nt:brace-or-equal-initializer)
> this code attached is valid since a designated-initializer-clause may be a
> braced-init-list.

https://eel.is/c++draft/dcl.init.general#nt:braced-init-list shows that
intermixing them is not allowed.

Reply via email to