Home | History | Annotate | Download | only in BlocksRuntime
      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 #include <stdio.h>
      7 
      8 // CONFIG
      9 
     10 int AGlobal;
     11 
     12 int main(int argc, char *argv[]) {
     13     void (^f)(void) = ^ { AGlobal++; };
     14 
     15     printf("%s: success\n", argv[0]);
     16     return 0;
     17 
     18 }
     19