re PR c++/56901 (lambda with implicit capture by reference)
authorJason Merrill <jason@redhat.com>
Thu, 11 Apr 2013 16:49:57 +0000 (12:49 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 11 Apr 2013 16:49:57 +0000 (12:49 -0400)
commita2a5f18ea792acb01cf1ae24e94d9ad0daf3acca
treec00b873e05f47bbc82743c6005cf74237a6a257a
parent7b55f98f5ceb209d2d77147e29ad49a84da5d36d
re PR c++/56901 (lambda with implicit capture by reference)

PR c++/56901
* semantics.c (lambda_capture_field_type, lambda_proxy_type):
Strip references before checking WILDCARD_TYPE_P.

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