https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80091
--- Comment #6 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Tue Mar 21 17:40:40 2017 New Revision: 246329 URL: https://gcc.gnu.org/viewcvs?rev=246329&root=gcc&view=rev Log: PR c++/80091 * lambda.c (maybe_generic_this_capture): Capture when fn is an identifier node. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr80091.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/lambda.c