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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
struct H {
  int a;
};
struct I {
  int c;
  H b;
};
struct E { I d; };
void foo(E);

template<typename>
void fn ()
{
  int a = 42;
  int &k = a;
  foo({1, {H{k}}});
}

Reply via email to