PR c++/68666 - member variable template-id
authorJason Merrill <jason@redhat.com>
Wed, 18 Jan 2017 21:05:12 +0000 (16:05 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 18 Jan 2017 21:05:12 +0000 (16:05 -0500)
commit8b1346a80ab539a680eb7d010a1de5f18c53a9d5
tree72684e3337feb472dad772d8b129d16f1e244246
parent0edd264dfc29db3c30641771d46634b4ef3ffe10
PR c++/68666 - member variable template-id

* typeck.c (finish_class_member_access_expr): Handle variable
template-id.
* pt.c (lookup_and_finish_template_variable): No longer static.
* cp-tree.h: Declare it.

From-SVN: r244599
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/testsuite/g++.dg/concepts/var-templ3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/var-templ55.C [new file with mode: 0644]