Skip to content
Snippets Groups Projects
Commit 856367df authored by Volker Reichelt's avatar Volker Reichelt Committed by Volker Reichelt
Browse files

re PR c++/28249 ("long long long" accepted by catch)

	PR c++/28249
	* parser.c (cp_parser_check_decl_spec): New function.
	(cp_parser_decl_specifier_seq): Factor out check for repeated
	decl-specifiers into cp_parser_check_decl_spec. Use it.
	(cp_parser_type_specifier_seq) Use it.

	* g++.dg/parse/catch1.C: New test.

From-SVN: r115469
parent 0a9367cb
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