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

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Another version, without a converting ctor:

struct B {
  int c;
};

struct D : B { };

void
fn ()
{
  D b{{D{42}}};
}

Reply via email to