From Giovanni Bajo <giovannibajo@libero.it>
commit797cb3b4eab26ea0be0227bfb750242bd7a69769
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jun 2003 12:59:46 +0000 (26 12:59 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jun 2003 12:59:46 +0000 (26 12:59 +0000)
tree162ef2b655a1102fc1a381f676a3629cb63ecd89
parent68e6cb9d694d54693cd4bd349451c7648c67e7ce
From  Giovanni Bajo  <giovannibajo@libero.it>
cp:
       PR c++/8266
        * pt.c (check_explicit_specialization): When looking up a
        template function from an identifier outside class-scope, bind
        it to CP_DECL_CONTEXT.
testsuite:
        PR c++/8266
        * g++.dg/template/explicit-instantiation3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68527 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/explicit-instantiation3.C [new file with mode: 0644]