re PR c++/11347 (Error on valid expression in default value for int argument to inner...
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 31 Jul 2003 09:10:58 +0000 (09:10 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 31 Jul 2003 09:10:58 +0000 (09:10 +0000)
commitfb5ce3c93a8f904d786aed712e5df6f0d53f0241
tree124bcabd3bfecaca917061b037a6d5339781e848
parent8c6ab2db94dd89afd71a17768dac974ff91cbe8f
re PR c++/11347 (Error on valid expression in default value for int argument to inner template.)

cp:
PR c++/11347
* pt.c (instantiate_class_template): Increment
processing_template_decl around the tsubst of a template member
class.
(tsubst_qualified_id): Assert we do not have a dependent scope.
testsuite:
PR c++/11347
* g++.dg/template/memtmpl1.C: New.

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