http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54276
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-15 19:22:23 UTC --- Author: jason Date: Fri Feb 15 19:22:14 2013 New Revision: 196091 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196091 Log: PR c++/54276 * semantics.c (finish_id_expression): Also return the identifier for an outer local static. Added: trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c