https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 78816, which changed state.
Bug 78816 Summary: [c++14] Static auto variable usage in generic/variadic lambda fails to compile https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78816 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED