Skip to content
Snippets Groups Projects
Commit c3b2fdf9 authored by Marek Polacek's avatar Marek Polacek Committed by Marek Polacek
Browse files

PR c++/90572 - wrong disambiguation in friend declaration.

	* parser.c (cp_parser_constructor_declarator_p): Don't allow missing
	typename for friend declarations.

	* g++.dg/cpp2a/typename16.C: New test.
	* g++.dg/parse/friend13.C: New test.

From-SVN: r271619
parent e266148f
No related merge requests found
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