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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Testcase which doesn't need C++26, C++20 is enough:
template <typename T>
int
foo ()
{
  static auto [a] = 0;
  return 0;
}

int a = foo <int> ();

Reply via email to