]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/pt.c
re PR c++/11697 (Failure to diagnose class template redeclaration via using declaration)
authorMark Mitchell <mark@codesourcery.com>
Fri, 1 Aug 2003 18:48:50 +0000 (18:48 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 1 Aug 2003 18:48:50 +0000 (18:48 +0000)
commitee935db4b6f1bf4c055cc99521a55ed1b4ed476a
tree11282088f2347ed5579eceafb21ff924a97c8da1
parentf91f41b2949dac51c1367e1b5e5678cac6f30e27
re PR c++/11697 (Failure to diagnose class template redeclaration via using declaration)

PR c++/11697
* decl.c (decls_match): Don't ignore the types of template
classes.

PR c++/11744
* pt.c (tsubst_copy_and_build): Refine Koenig lookup logic.

PR c++/11697
* g++.dg/template/using6.C: New test.

PR c++/11744
* g++.dg/template/koenig2.C: New test.

From-SVN: r70062
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/koenig2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/using6.C [new file with mode: 0644]
This page took 0.061819 seconds and 5 git commands to generate.