[PR c++/86610] lambda captures in templates
authorNathan Sidwell <nathan@acm.org>
Thu, 17 Jan 2019 11:56:58 +0000 (11:56 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 17 Jan 2019 11:56:58 +0000 (11:56 +0000)
commite32fc4499f863fe0fa81767d11f40ad2f1ab1668
tree74d7a86f509de000262ea8da0863b3d4b9560707
parentfc881de2825e37142436efcfd7537cc467f3430c
[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.

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