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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #2)
> EDG rejects it for the same reason as GCC.
> 
> Clang 17 rejected it too, but Clang 18 accepts it.
> 
> I suspect this is a Core DR but I'm not sure which one.

Maybe https://cplusplus.github.io/CWG/issues/1368.html ?
There seems to be a few in the area of value initialization too.

Reply via email to