PR c++/78906 - ICE with member variable template
authorJason Merrill <jason@redhat.com>
Thu, 22 Dec 2016 20:29:07 +0000 (15:29 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 22 Dec 2016 20:29:07 +0000 (15:29 -0500)
commitbcf77f8ae6b9616537d539de911124a1db219aac
treeef1ff916620ef8c03a175a76f9356d155d517efc
parent67a5ad7cbdef324726772a35b03474f51c3e1a46
PR c++/78906 - ICE with member variable template

* pt.c (finish_template_variable): Use most_general_template.

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