PR c++/80866
commit81a73aa8351c3b2b909ee80862bfc5e54ec623b5
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 May 2017 17:04:56 +0000 (23 17:04 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 May 2017 17:04:56 +0000 (23 17:04 +0000)
treeedabca55a819f56695f04ed2eceaf24350dafd87
parent20b414d1e7869ca5acbc4162d48f504f575c6b18
PR c++/80866
* parser.c (cp_parser_template_id): Keep the lookup when stashing
the template_id.

PR c++/80866
* g++.dg/parse/pr80866.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248377 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/pr80866.C [new file with mode: 0644]