https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79461
--- Comment #2 from Morris Hafner <hafnermorris at gmail dot com> --- I can see that the ice-on-invalid-code tag was set. This is only true in C++14 mode, because constexpr lambdas are part of the current C++17 draft (see Bug 70979). The code is also accepted by the current clang svn in C++1z mode exclusively.