re PR c++/10530 (Cannot access non-dependent type within nested template)
authorNathan Sidwell <nathan@codesourcery.com>
Sun, 10 Aug 2003 14:54:22 +0000 (14:54 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sun, 10 Aug 2003 14:54:22 +0000 (14:54 +0000)
commit86306a6b111cf8e6bef4c451761f3a458212a756
treeebbe19ab3f32b618c056e966ef2359cd6a508112
parent3372178cc3d73aeedb6afbd02871ce6cd6aea0af
re PR c++/10530 (Cannot access non-dependent type within nested template)

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.

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