Guest User

Untitled

a guest
Apr 25th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1.  
  2. // CFLAGS='-arch i386' make blockstest && ./blockstest
  3.  
  4. #include <stdio.h>
  5. #include <Block.h>
  6.  
  7. int main() {
  8.  
  9. int(^foo)() = ^() {
  10. return 1+1;
  11. };
  12.  
  13. foo();
  14.  
  15. printf("%p %p %p\n", (void *)foo, &foo, (void *)Block_copy(foo));
  16.  
  17. }
Add Comment
Please, Sign In to add comment