PR c++/88373 - wrong parse error with ~.
	* parser.c (cp_parser_template_name): Check tag_type for
	none_type.

	* g++.dg/cpp2a/fn-template19.C: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266865 138bc75d-0d04-0410-961f-82ee72b054a4
4 files changed