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

--- Comment #1 from 康桓瑋 <hewillk at gmail dot com> ---
Segmentation fault:

template<class>
struct A {
  template<int... Is>
  static constexpr auto c = [] { return Is; }();
  using type = decltype(c<0>);
};

#include<tuple>
int main() {
  typename A<std::tuple<int>>::type x;
}

https://godbolt.org/z/EbdanW16d

Reply via email to