cp:
commitae8dd64bcd07d4cc5cad404819d0cbb2cab25ca5
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Aug 2003 14:54:22 +0000 (10 14:54 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Aug 2003 14:54:22 +0000 (10 14:54 +0000)
treeebbe19ab3f32b618c056e966ef2359cd6a508112
parent5f9c20f00ddf567ffeec37df7f339488099d10c4
cp:
PR c++/10530
* pt.c (dependent_type_p_r): A dependent template-id is a class
type with dependent template arguments, or a bound template
template parameter.
(type_dependent_expression_p): A template function decl cannot
have a dependent context.
testsuite:
PR c++/10530
* g++.dg/template/dependent-name2.C: New test.

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