re PR c++/65195 (Variable template cannot be used as a function)
authorJason Merrill <jason@redhat.com>
Wed, 5 Aug 2015 17:51:29 +0000 (13:51 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 5 Aug 2015 17:51:29 +0000 (13:51 -0400)
commit85171e7877e60e2af5a76b0961e3ee8903bd084f
treeb33563c16aa512d246a6a9ea38a0d146b779bc86
parent76787f70097bb232a9bb4afbd9e8c190e57291f0
re PR c++/65195 (Variable template cannot be used as a function)

PR c++/65195
PR c++/66619
* semantics.c (finish_id_expression): Call convert_from_reference
for variable template.

From-SVN: r226641
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp1y/var-templ37.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/var-templ40.C [new file with mode: 0644]