PR c++/80856 - ICE with local extern in template
authorJason Merrill <jason@redhat.com>
Tue, 30 May 2017 21:13:27 +0000 (17:13 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 30 May 2017 21:13:27 +0000 (17:13 -0400)
commit3c1f5a3a6d6425158ee35ef4ff67ac54010190f1
tree232b2b27bf148eba86b45cb90e902fa16978fb7e
parentf012c8ef4b35dcee9b5a3807868d050812d5b3b9
PR c++/80856 - ICE with local extern in template

* semantics.c (finish_call_expr): Replace a local extern overload
set in a template with the IDENTIFIER_NODE.

From-SVN: r248699
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/template/local-fn2.C [new file with mode: 0644]