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