[cfe-dev] Core dump with simple template error

Douglas Gregor dgregor at apple.com
Mon Jun 22 16:22:03 PDT 2009


On Jun 21, 2009, at 5:06 AM, AlisdairM(public) wrote:

> The following attempt to overload class templates should produce an  
> error.  Instead I get a core dump!
>
> 	template<typename T>
> 	struct test {};
>
> 	template<typename T>
> 	struct test : T {};


It did produce an error... then it dumped core :)

I've gone through and improved the recovery in quite a few places,  
although I'm certain there's more work to do here. Thanks for the  
report!

	- Doug



More information about the cfe-dev mailing list