[cfe-commits] r65070 - in /cfe/trunk: include/clang/AST/Expr.h lib/AST/ExprConstant.cpp lib/AST/StmtSerialization.cpp lib/CodeGen/CGExprConstant.cpp lib/Sema/Sema.h lib/Sema/SemaExpr.cpp

Fariborz Jahanian fjahanian at apple.com
Thu Feb 19 14:12:53 PST 2009


Just make sure that global blocks can have global variables (which are  
assumed as __byref by default).

int x = 1;
static int (^b)() = ^{ x = 1; return x; };

- Fariborz





More information about the cfe-commits mailing list