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

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Somewhat cleaned up test:

struct A
{
  A (int);
};

struct BB
{
  A v;
};

struct B : BB
{};

B
foo ()
{
  return {{B {{42}}}};
}

Reply via email to