This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/65195] Variable template cannot be used as a function


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65195

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Aug  5 17:51:29 2015
New Revision: 226641

URL: https://gcc.gnu.org/viewcvs?rev=226641&root=gcc&view=rev
Log:
        PR c++/65195
        PR c++/66619
        * semantics.c (finish_id_expression): Call convert_from_reference
        for variable template.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ37.C
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ40.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]