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

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Note that it compiles with an int instead of a reflection:

#include <array>

template<int = 0>
void f() {
  static constexpr auto [...a] = std::array { 42 };
}

int main() {
        f();
}

Reply via email to