re PR c++/64085 (ICE on C++14 lambda by-reference capture with an initializer)
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 3 Apr 2015 17:23:27 +0000 (17:23 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 3 Apr 2015 17:23:27 +0000 (17:23 +0000)
commita3d94329e909d9d14ba6a6cf9f398cdafc84da53
tree94fa7053e0114e4946c451a921ae30f9a4e0c703
parent1dc15b0b9dd13b4ef6c7af420b2d3b6fe877d4a1
re PR c++/64085 (ICE on C++14 lambda by-reference capture with an initializer)

/cp
2015-04-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/64085
* lambda.c (add_capture): Use dependent_type_p for capture by
reference too.

/testsuite
2015-04-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/64085
* g++.dg/cpp1y/lambda-init13.C: New.

From-SVN: r221858
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/lambda-init13.C [new file with mode: 0644]