https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84314
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Ah, this isn't a lambda issue at all; replacing the lambda with 0 doesn't avoid the ICE. It seems to be a templates/attributes issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84314
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Ah, this isn't a lambda issue at all; replacing the lambda with 0 doesn't avoid the ICE. It seems to be a templates/attributes issue.