https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93431
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> --- The following are unsupported: UNSUPPORTED: g++.dg/cpp2a/lambda-uneval9.C -std=c++98 UNSUPPORTED: g++.dg/cpp2a/lambda-uneval9.C -std=c++14 UNSUPPORTED: g++.dg/cpp2a/lambda-uneval9.C -std=c++17 Seems like on issue with check_effective_target_c++2a.