]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/6695 (Regression: template friend declaration doesn't work)
authorMark Mitchell <mark@codesourcery.com>
Thu, 27 Jun 2002 21:45:56 +0000 (21:45 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 27 Jun 2002 21:45:56 +0000 (21:45 +0000)
commit5ce49b4b08490bb2dc9a8f669fcc145a344cd73d
tree6a2f4d318a68eabe42b1feb48d0eadccd6cf7ca7
parentc8f863fc557e5430754bb1d6a53f9761d8a6634b
re PR c++/6695 (Regression: template friend declaration doesn't work)

PR c++/6695
* pt.c (tsubst_friend_class): Substitute into the context of the
friend before using it.

PR c++/6695
* g++.dg/template/friend7.C: New file.

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