pt.c (find_parameter_packs_r): Handle variable templates.
authorJason Merrill <jason@redhat.com>
Fri, 10 Jul 2015 21:35:04 +0000 (17:35 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 10 Jul 2015 21:35:04 +0000 (17:35 -0400)
commit8de8fdb45603c76ad268c9eb5135f736c1ac84c4
tree3b2bb50f893c0743734c07ed5cc02f3ddd79bc57
parent55b467a057d1ad5176a89413c6168aed84865c6c
pt.c (find_parameter_packs_r): Handle variable templates.

* pt.c (find_parameter_packs_r): Handle variable templates.
(variable_template_specialization_p): New.
* cp-tree.h: Declare it.

From-SVN: r225692
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1y/var-templ33.C [new file with mode: 0644]