On Tue, Aug 14, 2012 at 9:03 PM, John McCall <[email protected]> wrote:
> On Aug 14, 2012, at 11:59 AM, Hans Wennborg wrote:
>> On Tue, Aug 14, 2012 at 6:28 PM, John McCall <[email protected]> wrote:
>>> Looks great, thanks!  Might as well add a test for the function and 
>>> block-pointer
>>> cases (to verify that an error is emitted, but not this one), but feel free 
>>> to commit.
>>
>> Now that I start playing with it, I don't seem to get any errors for
>> the block-pointer case.
>
> The case I had in mind was something like this:
>    void f(int (^x)[static 10]);
> This is ill-formed because you can't form a block pointer to array type.

Ah, thanks for the clarification. Landed in r161934 with the added tests.

Thanks,
Hans
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to