]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PR c++/86610] lambda captures in templates
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Jan 2019 11:56:58 +0000 (11:56 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Jan 2019 11:56:58 +0000 (11:56 +0000)
commita395125a4202aac0496b251bc17714faf45e4258
tree74d7a86f509de000262ea8da0863b3d4b9560707
parent1f1f43378b1dd87f8c6cc9e12d2a78a554f2d013
[PR c++/86610] lambda captures in templates

https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00948.html
PR c++/86610
* semantics.c (process_outer_var_ref): Only skip dependent types
in templates.

PR c++/86610
* g++.dg/cpp0x/pr86610.C: New.

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