[cfe-dev] TEST 'Parser/declarators.c' FAILED!

Chris Lattner clattner at apple.com
Wed Dec 19 10:02:14 PST 2007


On Dec 19, 2007, at 9:50 AM, Chris Lattner wrote:
> I disabled the check.  It looks like the declspec is not  
> constructed correctly in this case or something, I'm investigating.

Ok, I'm just an idiot. :)  The code really is invalid.  I fixed the  
test, thanks Ted,

-Chris

> On Dec 19, 2007, at 9:24 AM, Ted Kremenek wrote:
>
>> This test now fails:
>>
>> ******************** TEST 'Parser/declarators.c' FAILED!
>> ********************
>> Command:
>>   clang Parser/declarators.c -fsyntax-only
>> Output:
>> Parser/declarators.c:9:7: error: function cannot return array or
>> function type 'int (void)'
>> int f4(*XX)(void);
>>        ^
>> 1 diagnostic generated.
>>
>> _______________________________________________
>> 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