re PR c++/27787 (Qualified lookup fails to find inherited class template)
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 25 Aug 2006 16:56:07 +0000 (16:56 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 25 Aug 2006 16:56:07 +0000 (16:56 +0000)
commit7d3bec9db50a2d46f697ad621edd50165e51c168
tree1975a26da88ae00800dc1b09ba8808327325e61d
parent9eb8a531c0127cff8323c43fc9b148e585cd9288
re PR c++/27787 (Qualified lookup fails to find inherited class template)

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.

From-SVN: r116409
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]