https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81204
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Wed Jun 28 21:08:43 2017 New Revision: 249761 URL: https://gcc.gnu.org/viewcvs?rev=249761&root=gcc&view=rev Log: PR c++/81204 - parse error with dependent template-name * parser.c (cp_parser_lookup_name): Disqualify function templates after lookup. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/template/lookup10.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/parser.c