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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot 
gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #7 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Non-constexpr testcase exhibiting an even older regression (since
r8-2720-gf44a8dd56f5bfb):

template <int N>
void f(int (&)[N]);

template <class T>
struct A {
  static int STR[];
  A() { [](auto){ f(STR); }; }
};

template<class T>
int A<T>::STR[] = {1,2,3};

A<void> a;

Reply via email to