re PR c++/89512 (ICE in get_expr_operands, at tree-ssa-operands.c:882)
authorJakub Jelinek <jakub@redhat.com>
Thu, 14 Mar 2019 08:14:48 +0000 (09:14 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 14 Mar 2019 08:14:48 +0000 (09:14 +0100)
commitb2725ea5df920e68591375847c0310254020eec7
tree898cefc46e0c617c71ce27643bef4f2b5907ebf9
parent0ee285909bcef729415995e16c68e8713c59996f
re PR c++/89512 (ICE in get_expr_operands, at tree-ssa-operands.c:882)

PR c++/89512
* semantics.c (finish_qualified_id_expr): Reject variable templates.

* g++.dg/cpp1y/var-templ61.C: New test.

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