cp/
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Aug 2006 16:56:07 +0000 (16:56 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Aug 2006 16:56:07 +0000 (16:56 +0000)
commite2423a3dffff59e9c696c26a60a9ed98039eae86
tree1975a26da88ae00800dc1b09ba8808327325e61d
parentde46f109628830aa292f6e38bc03029acbcdef2c
cp/
PR c++/27787
* decl.c (make_typename_type): Only try and resolve it when
context is not dependent.  Refactor.
* decl2.c (check_classfn): Push to class scope before looking for
the function.
testsuite/
PR c++/27787
* g++.dg/template/typename10.C: New.
* g++.dg/template/lookup4.C: Remove bogus error marker.

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