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