blob: 7b7cc3d2c49b48153c70d768b047c2c6c36c5332 [file] [log] [blame]
// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks
int printf(const char *, ...);
int main(int argc, char **argv) {
__block void(*bobTheFunction)(void);
__block void(^bobTheBlock)(void);
bobTheBlock = ^{;};
__block int JJJJ;
__attribute__((__blocks__(byref))) int III;
int (^XXX)(void) = ^{ return III+JJJJ; };
return 0;
}