Skip to content
Snippets Groups Projects
Commit b2d49fe5 authored by Nathan Froyd's avatar Nathan Froyd Committed by Nathan Froyd
Browse files

re PR c++/46852 (ICE: tree check: expected class ‘type’, have ‘exceptional’...

re PR c++/46852 (ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in cp_parser_class_specifier, at cp/parser.c:16947)

gcc/cp/
	PR c++/46852
	* parser.c (cp_parser_class_specifier): Check for TYPE_P.

gcc/testsuite/
	PR c++/46852
	* g++.dg/pr46852.C: New test.

From-SVN: r167894
parent 5210bbc5
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