Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // CFLAGS='-arch i386' make blockstest && ./blockstest
- #include <stdio.h>
- #include <Block.h>
- int main() {
- int(^foo)() = ^() {
- return 1+1;
- };
- foo();
- printf("%p %p %p\n", (void *)foo, &foo, (void *)Block_copy(foo));
- }
Add Comment
Please, Sign In to add comment