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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note it is not lambda related at all, here is a (invalid) C++98 case were we
ICE too:
class A {
  ~A() {}
};
template <class> class B {
  A f = 1;
};
B<int> c;

Reply via email to