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

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This is accepted fine (as it should be):

struct S {
  int a;
  int b;
};

int
main ()
{
  S s{.a = 1, .b = 2};
}

Reply via email to