[cfe-commits] r65751 - in /cfe/trunk: lib/CodeGen/CGBlocks.cpp test/CodeGenObjC/blocks-unsupported.m

Mike Stump mrs at apple.com
Sun Mar 1 10:35:34 PST 2009


On Feb 28, 2009, at 5:45 PM, Anders Carlsson wrote:
> +void t1()
> +{
> +	__block int a;
> +	^{ a = 10; }(); // expected-error {{cannot compile this block  
> expression with __block variables yet}}

I believe this check is too expansive, in particular this works as  
expected.



More information about the cfe-commits mailing list