Improve diagnostic for redundant template arguments in declaration.
authorJason Merrill <jason@redhat.com>
Mon, 18 Feb 2019 21:35:48 +0000 (16:35 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 18 Feb 2019 21:35:48 +0000 (16:35 -0500)
commit802813eab9ab6f05a7a81161f372ac5be0b120a4
tree4f00a5a579cba57de7870560d4c60a2bb6a99b84
parentab7b72e10002e96c0a092a6a2ef6ba2a9ec25f2b
Improve diagnostic for redundant template arguments in declaration.

* pt.c (check_explicit_specialization): If the declarator is a
template-id, only check whether the arguments are dependent.

From-SVN: r268997
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.robertl/eb82.C