re PR c++/50220 ([C++0x] [4.7 Regression] ICE when capturing a by-reference template...
authorJason Merrill <jason@redhat.com>
Tue, 30 Aug 2011 15:28:40 +0000 (11:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 30 Aug 2011 15:28:40 +0000 (11:28 -0400)
commita728a2ada0698cbd8688d5eb6d88d357ec27eb5b
treebc2dda5b8a4431bb6229ddcdf43feb5f9d5fe4c4
parentd05da2b9d529b199ff3589353e91ec4440f5ab1f
re PR c++/50220 ([C++0x] [4.7 Regression] ICE when capturing a by-reference template function argument in a lambda)

PR c++/50220
* semantics.c (add_capture): Call complete_type for copy.

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