https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 61135, which changed state.
Bug 61135 Summary: It seems to be not able to call virtual method of literal object in lambda expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61135 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED