re PR c++/45917 (inaccessible types allowed as template argument in nested-name-speci...
authorJason Merrill <jason@redhat.com>
Sun, 17 Mar 2013 02:39:22 +0000 (22:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 17 Mar 2013 02:39:22 +0000 (22:39 -0400)
commitcae7d26460f523a98305e054c3eb3d1e5726654b
tree0811ef060cab7473da032d514ae8a35637fc8e83
parent7805032d9a298af97f9b84d62e454476b47adb79
re PR c++/45917 (inaccessible types allowed as template argument in nested-name-specifier)

PR c++/45917
* parser.c (cp_parser_template_id): Don't forget access checks.

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