re PR c++/14429 (valid template template argument rejected)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Tue, 27 Jul 2004 15:47:10 +0000 (15:47 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Tue, 27 Jul 2004 15:47:10 +0000 (15:47 +0000)
commit00bdb87f8e8107ade3abd37e37db8270a0016bc3
treef8e0486ef514e91ec9dffab97caca820bcbf2f22
parent18d7916e393bbc7f8213f07a31a7220cdbbb284b
re PR c++/14429 (valid template template argument rejected)

PR c++/14429
* pt.c (coerce_template_template_parms) <PARM_DECL case>: Only check
when the type of ARG is not dependent.

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

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