2010-01-01 10:34:51 +00:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify -parse-noop %s
|
2009-06-02 17:58:47 +00:00
|
|
|
#if 0
|
2009-11-18 14:59:57 +00:00
|
|
|
int printf(const char *, ...);
|
2009-06-02 17:58:47 +00:00
|
|
|
void _Block_byref_release(void*src){}
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
__block int X = 1234;
|
|
|
|
__block const char * message = "HELLO";
|
|
|
|
|
|
|
|
X = X - 1234;
|
|
|
|
|
|
|
|
X += 1;
|
|
|
|
|
|
|
|
printf ("%s(%d)\n", message, X);
|
|
|
|
X -= 1;
|
|
|
|
|
|
|
|
return X;
|
|
|
|
}
|
|
|
|
#endif
|