PR c++/81204 - parse error with dependent template-name
authorJason Merrill <jason@redhat.com>
Wed, 28 Jun 2017 19:41:18 +0000 (15:41 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 28 Jun 2017 19:41:18 +0000 (15:41 -0400)
commit2a4754f59786550a11706d807753c1747968ed01
treee24e00fb3e20feec734eee2e34b6e2a3fbd24d52
parentad669a1af4009b2d1f667716874758d91282869b
PR c++/81204 - parse error with dependent template-name

* parser.c (cp_parser_lookup_name): Disqualify function templates
after lookup.

From-SVN: r249750
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/template/lookup10.C [new file with mode: 0644]