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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
template <int N = 42>
void
foo ()
{
  int x = 42;
  decltype (auto) y = ({ int z = x; z; });
}

int
main ()
{
  foo ();
}

Reply via email to