Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -parse-noop %s |
Steve Naroff | c9a4eea | 2008-09-02 18:04:36 +0000 | [diff] [blame] | 2 | #if 0 |
Daniel Dunbar | 23afaad | 2009-11-17 08:57:36 +0000 | [diff] [blame] | 3 | int printf(const char *, ...); |
Steve Naroff | 042f955 | 2008-09-02 15:20:19 +0000 | [diff] [blame] | 4 | void _Block_byref_release(void*src){} |
| 5 | |
| 6 | int 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 Naroff | c9a4eea | 2008-09-02 18:04:36 +0000 | [diff] [blame] | 19 | #endif |