parser.c (cp_parser_explicit_instantiation): Restore old access before template insta...
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Sun, 25 May 2003 12:59:22 +0000 (12:59 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Sun, 25 May 2003 12:59:22 +0000 (12:59 +0000)
commitb7fc8b576e9aafd37dcc8e78a87372eb8eae011b
treeb4fe5fbb56771ed361b7bb1fd800cb8a22806330
parentc7684ffe55c75b893fe40988dbb8fcea9beae3ba
parser.c (cp_parser_explicit_instantiation): Restore old access before template instantiation.

* parser.c (cp_parser_explicit_instantiation): Restore old
access before template instantiation.

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

From-SVN: r67166
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/access11.C [new file with mode: 0644]