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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
struct A {
  int b;
};

struct B {
  A g;
};

const auto j = A{};

template <typename>
void k()
{
  B{j};
}

Reply via email to