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 * shorthandexpression.c 9*7c3d14c8STreehugger Robot * testObjects 10*7c3d14c8STreehugger Robot * 11*7c3d14c8STreehugger Robot * Created by Blaine Garst on 9/16/08. 12*7c3d14c8STreehugger Robot * 13*7c3d14c8STreehugger Robot * CONFIG error: 14*7c3d14c8STreehugger Robot */ 15*7c3d14c8STreehugger Robot 16*7c3d14c8STreehugger Robot foo()17*7c3d14c8STreehugger Robotvoid foo() { 18*7c3d14c8STreehugger Robot void (^b)(void) = ^(void)printf("hello world\n"); 19*7c3d14c8STreehugger Robot } 20*7c3d14c8STreehugger Robot main(int argc,char * argv[])21*7c3d14c8STreehugger Robotint main(int argc, char *argv[]) { 22*7c3d14c8STreehugger Robot printf("%s: this shouldn't compile\n", argv[0]); 23*7c3d14c8STreehugger Robot return 1; 24*7c3d14c8STreehugger Robot } 25