Skip to content
Snippets Groups Projects
Commit 93673597 authored by mmitchel's avatar mmitchel
Browse files

PR c++/19253

	* parser.c (cp_parser_postfix_expression): Use
	cp_parser_elaborated_type_specifier to handle typename-types in
	functional casts.
	(cp_parser_enclosed_argument_list): Skip ahead to the end of the
	template argument list if the closing ">" is not found.
	PR c++/19253
	* g++.dg/parse/typename8.C: Compile with -w -fpermissive.
	* g++.dg/parse/typename9.C: New test.
	* g++/dg/parse/typename10.C: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106398 138bc75d-0d04-0410-961f-82ee72b054a4
parent 376a3611
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment