]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/15025 (accepts redeclaration of template as non-template)
authorMark Mitchell <mark@codesourcery.com>
Sun, 23 May 2004 21:06:56 +0000 (21:06 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 23 May 2004 21:06:56 +0000 (21:06 +0000)
commit9ce1594a3e521c3b0f6bd8b8eba1cc3a14e5ced7
tree12483800056c2eb68f15aaf63464308c42054407
parentf746161e4ffa1427f1b2c7b08fafaad3046a9222
re PR c++/15025 (accepts redeclaration of template as non-template)

PR c++/15025
* decl.c (xref_tag): Issue errors about redeclaring template
classes as non-template classes.

PR c++/15025
* g++.dg/template/redecl1.C: New test.

From-SVN: r82172
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/redecl1.C [new file with mode: 0644]