Home | History | Annotate | Download | only in Parser
      1 // RUN: %clang_cc1 -fsyntax-only -fblocks -verify %s
      2 int printf(const char *, ...);
      3 void _Block_byref_release(void*src){}
      4 
      5 int main() {
      6    __block  int X = 1234;
      7    __block  const char * message = "HELLO";
      8 
      9    X = X - 1234;
     10 
     11    X += 1;
     12 
     13    printf ("%s(%d)\n", message, X);
     14    X -= 1;
     15 
     16    return X;
     17 }
     18