re PR c++/22618 (Template non-type arguments break class access protection)
authorMark Mitchell <mark@codesourcery.com>
Thu, 20 Oct 2005 18:01:52 +0000 (18:01 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 20 Oct 2005 18:01:52 +0000 (18:01 +0000)
commit94c813b4572f371dcdb8aca1ed4bf0d37cde47a6
treed95106204bf6a622797c7dce4267d7c630cfe311
parent9ca4afb947aa1edc2da5d4d8f809f92eb5b7149c
re PR c++/22618 (Template non-type arguments break class access protection)

PR c++/22618
* search.c (accessible_p): Check access in the outermost set of
template parameters.
PR c++/22618
* g++.dg/parse/access8.C: New test.

From-SVN: r105682
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/access8.C [new file with mode: 0644]