PR c++/58761
commit3c688d2db432b0c4709370ea3668c35ddd02ae53
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 May 2014 18:41:24 +0000 (19 18:41 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 May 2014 18:41:24 +0000 (19 18:41 +0000)
tree45a497289f59024303bdeb0203c9cfaecad002ee
parenta4d705f930f24655e72b6580177f4c704e358dea
PR c++/58761
* pt.c (tsubst_copy): Don't check at_function_scope_p.
(instantiate_class_template_1): Don't push_to_top_level in an nsdmi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210624 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi6.C [new file with mode: 0644]