• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
foo()17 void foo() {
18     void (^b)(void) = ^(void)printf("hello world\n");
19 }
20 
main(int argc,char * argv[])21 int main(int argc, char *argv[]) {
22     printf("%s: this shouldn't compile\n", argv[0]);
23     return 1;
24 }
25