[cfe-dev] Crash when function defined twice

Steve Naroff snaroff at apple.com
Tue Jan 15 06:17:53 PST 2008


Rob,

This was fixed yesterday (r45975)...

Thanks for the bug report,

snaroff

On Jan 15, 2008, at 5:33 AM, Robert Staudinger wrote:

> Hello,
>
> a bug found by incident:
> `clang -fsyntax-only' crashes on the following (obviously illegal)  
> code:
>
> int foo(int a)
> {
> 	return 0;
> }
>
> int foo(int a)
> {
> 	return 0;
> }
>
> When the parameter list of one of the functions is changed clang
> points out the error.
>
> Regards,
> Rob
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list