pt.c (check_explicit_specialization): Check the namespace after we choose a template.
authorJason Merrill <jason@redhat.com>
Thu, 12 Nov 2015 20:37:46 +0000 (15:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 12 Nov 2015 20:37:46 +0000 (15:37 -0500)
commit84edfc8aef7aabeaa5086e6a82f2d74917ec8b95
treeddf60d660fd53d0909bb937bb96a2c465d07f1d5
parent633ce9715781eb43a5e0af1858cfa861c3a86113
pt.c (check_explicit_specialization): Check the namespace after we choose a template.

* pt.c (check_explicit_specialization): Check the namespace after
we choose a template.

From-SVN: r230271
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/explicit-instantiation4.C [new file with mode: 0644]