re PR c++/10552 (Small sample using nested templates causes internal compiler error.)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Sun, 11 May 2003 09:45:30 +0000 (09:45 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Sun, 11 May 2003 09:45:30 +0000 (09:45 +0000)
commitfcea74011f2d59f310379d393799c353b7c54293
treefafd1d159294e40e041c9c430a0138c23d9ef377
parentcdc958d823386608ae27e2cda751711595dd838d
re PR c++/10552 (Small sample using nested templates causes internal compiler error.)

PR c++/10552
* pt.c (tsubst_copy): Handle TEMPLATE_DECL that is a member class
template and has dependent context.

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

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