1*7c3d14c8STreehugger Robot // 2*7c3d14c8STreehugger Robot // The LLVM Compiler Infrastructure 3*7c3d14c8STreehugger Robot // 4*7c3d14c8STreehugger Robot // This file is distributed under the University of Illinois Open Source 5*7c3d14c8STreehugger Robot // License. See LICENSE.TXT for details. 6*7c3d14c8STreehugger Robot 7*7c3d14c8STreehugger Robot 8*7c3d14c8STreehugger Robot 9*7c3d14c8STreehugger Robot // CONFIG C 10*7c3d14c8STreehugger Robot 11*7c3d14c8STreehugger Robot #include <stdio.h> 12*7c3d14c8STreehugger Robot #include <Block_private.h> 13*7c3d14c8STreehugger Robot 14*7c3d14c8STreehugger Robot main(int argc,char * argv[])15*7c3d14c8STreehugger Robotint main(int argc, char *argv[]) { 16*7c3d14c8STreehugger Robot void (^inner)(void) = ^ { printf("argc was %d\n", argc); }; 17*7c3d14c8STreehugger Robot void (^outer)(void) = ^{ 18*7c3d14c8STreehugger Robot inner(); 19*7c3d14c8STreehugger Robot inner(); 20*7c3d14c8STreehugger Robot }; 21*7c3d14c8STreehugger Robot //printf("size of inner is %ld\n", Block_size(inner)); 22*7c3d14c8STreehugger Robot //printf("size of outer is %ld\n", Block_size(outer)); 23*7c3d14c8STreehugger Robot if (Block_size(inner) != Block_size(outer)) { 24*7c3d14c8STreehugger Robot printf("not the same size, using old compiler??\n"); 25*7c3d14c8STreehugger Robot return 1; 26*7c3d14c8STreehugger Robot } 27*7c3d14c8STreehugger Robot printf("%s: Success\n", argv[0]); 28*7c3d14c8STreehugger Robot return 0; 29*7c3d14c8STreehugger Robot } 30