PR c++/82069 - ICE with lambda in template
commit20c4114f15d3e4c827b773f2cc93b28b04e86bbe
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Sep 2017 17:41:07 +0000 (18 17:41 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Sep 2017 17:41:07 +0000 (18 17:41 +0000)
tree232df7072703fc42b4cf4870b5451895cc56e4aa
parent1c57101b479dc152d9c1080fbdd92c3c69306980
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.

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