]> gcc.gnu.org Git - gcc.git/commit
re PR c++/3663 (G++ doesn't check access control during template instanation)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Thu, 19 Dec 2002 14:45:19 +0000 (14:45 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Thu, 19 Dec 2002 14:45:19 +0000 (14:45 +0000)
commitcab7a9a3b95c833df6d0175a9a287a9a767879c8
tree1ff704a66b54d93a6cd51c9b45cd3b759cc0ba35
parent7f60195472c11b56916475902514935fde53fbe3
re PR c++/3663 (G++ doesn't check access control during template instanation)

PR c++/3663
* pt.c (lookup_template_class): Copy TREE_PRIVATE and
TREE_PROTECTED to created decl nodes.

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

From-SVN: r60307
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/access7.C [new file with mode: 0644]
This page took 0.057571 seconds and 5 git commands to generate.