PR c++/82069 - ICE with lambda in template
authorJason Merrill <jason@redhat.com>
Mon, 18 Sep 2017 17:41:07 +0000 (13:41 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 18 Sep 2017 17:41:07 +0000 (13:41 -0400)
commit04dcd57085271abc8c603c72f4d10472056996ea
tree232df7072703fc42b4cf4870b5451895cc56e4aa
parent8b7e9dba2bc921c24994129bb9231caa176d6da5
PR c++/82069 - ICE with lambda in template

* semantics.c (process_outer_var_ref): Check uses_template_parms
instead of any_dependent_template_arguments_p.

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