PR c++/71630 - extern variable template
authorJason Merrill <jason@redhat.com>
Fri, 22 Jul 2016 03:45:43 +0000 (23:45 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 22 Jul 2016 03:45:43 +0000 (23:45 -0400)
commit44ed47547a1cb981faa264b9c29bd52c2f2891af
treef779b1f3cb43ec94e1d6c785bb2e547a8f9a246c
parenta93f3513c2c1fef4541306f24597f1fc154548b3
PR c++/71630 - extern variable template

* pt.c (instantiate_decl): Fix pattern_defined for namespace scope
variable templates.

From-SVN: r238622
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1y/var-templ53.C [new file with mode: 0644]