1 // 2 // The LLVM Compiler Infrastructure 3 // 4 // This file is distributed under the University of Illinois Open Source 5 // License. See LICENSE.TXT for details. 6 7 /* 8 * sizeof.c 9 * testObjects 10 * 11 * Created by Blaine Garst on 2/17/09. 12 * 13 */ 14 15 #include <stdio.h> 16 17 // CONFIG error: 18 main(int argc,char * argv[])19int main(int argc, char *argv[]) { 20 21 void (^aBlock)(void) = ^{ printf("hellow world\n"); }; 22 23 printf("the size of a block is %ld\n", sizeof(*aBlock)); 24 printf("%s: success\n", argv[0]); 25 return 0; 26 } 27