[Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 18 14:11:00 GMT 2019


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

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:

$ cat ice.ii
template <template <typename, typename> class a> class b {
  using c = int;
  using f = a<unsigned, c>;
  f::d;
  void e() {
    [&] { d(); };
  }
  void d();
};


More information about the Gcc-bugs mailing list