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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Arthur O'Dwyer from comment #7)
> // https://godbolt.org/z/Ea43Y65z4
> struct Widget {
>     int i = 1;
...
> In this case, Widget has no constructors,

No, it has a constructor because of the NSDMI . NSDMI causes a non-trival
constexpr constructor to be created.

Reply via email to