re PR c++/54276 (Lambda in a Template Function Undefined Reference to local static)
authorJason Merrill <jason@redhat.com>
Fri, 15 Feb 2013 19:22:14 +0000 (14:22 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 15 Feb 2013 19:22:14 +0000 (14:22 -0500)
commit9fd30fece6891bcd427a5b793d8020a657959760
tree61d03cb82a12362afce84796980c24dea58b2707
parent479189517610591e746369fc4d80302f5cebdbd7
re PR c++/54276 (Lambda in a Template Function Undefined Reference to local static)

PR c++/54276
* semantics.c (finish_id_expression): Also return the identifier
for an outer local static.

From-SVN: r196091
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template9.C [new file with mode: 0644]