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