blob: c9be12f1f077aa8bb50a982758ffb8f00ca7f1d0 [file] [log] [blame]
Steve Naroff042f9552008-09-02 15:20:19 +00001// RUN: clang -fsyntax-only -verify -parse-noop %s
Steve Naroffc9a4eea2008-09-02 18:04:36 +00002#if 0
Steve Naroff042f9552008-09-02 15:20:19 +00003#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}
Steve Naroffc9a4eea2008-09-02 18:04:36 +000019#endif