https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89512
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 30 20:43:07 2019 New Revision: 270728 URL: https://gcc.gnu.org/viewcvs?rev=270728&root=gcc&view=rev Log: Backported from mainline 2019-03-14 Jakub Jelinek <ja...@redhat.com> PR c++/89512 * semantics.c (finish_qualified_id_expr): Reject variable templates. * g++.dg/cpp1y/var-templ61.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1y/var-templ61.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/semantics.c branches/gcc-8-branch/gcc/testsuite/ChangeLog