block-block-storageclass.c revision c9a4eea59228bd06072927059979a1c9ccab45b5
1// RUN: clang -fsyntax-only -verify -parse-noop %s 2#if 0 3#include <stdio.h> 4void _Block_byref_release(void*src){} 5 6int main() { 7 __block int X = 1234; 8 __block const char * message = "HELLO"; 9 10 X = X - 1234; 11 12 X += 1; 13 14 printf ("%s(%d)\n", message, X); 15 X -= 1; 16 17 return X; 18} 19#endif 20