]> git.ipfire.org Git - thirdparty/gcc.git/commit
Backport:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Mon, 5 Dec 2005 13:09:17 +0000 (13:09 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Mon, 5 Dec 2005 13:09:17 +0000 (13:09 +0000)
commit985561226e1963f0c2e88d1d615e882e7db67830
treea2db2a1cb8bdbdfdace3ee4966174ce809e038c1
parent810e0f0d3aaa397bf90338be41081fee4d566e7f
Backport:

2005-10-13  Mark Mitchell  <mark@codesourcery.com>

PR c++/23307
* pt.c (push_template_decl_real): Complain about attempts to
declare template variables.

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

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