* pt.c (push_access_scope_real): Call push_to_top_level for
authorlerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jan 2003 13:55:46 +0000 (13:55 +0000)
committerlerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jan 2003 13:55:46 +0000 (13:55 +0000)
commit7917481edbeb71ce4dde0b1a0b6b1efd7c866e0b
tree61ec05e405f79cba389afca5e3e35514896a3ce6
parent2555ff80a13e2b0d5c0ff464fd84471b52617258
* pt.c (push_access_scope_real): Call push_to_top_level for
function in namespace scope.
(pop_access_scope): Call pop_from_top_level for function in
namespace scope.

* g++.dg/template/friend14.C: New test.

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