Do not warn with -Wuninitialized when the member is used in a sizeof or address-of...
[clang.git] / test / Parser / block-block-storageclass.c
blob97ba113492176836d748eedeaf8a17a487916204
1 // RUN: %clang_cc1 -fsyntax-only -fblocks -verify %s
2 int printf(const char *, ...);
3 void _Block_byref_release(void*src){}
5 int main() {
6 __block int X = 1234;
7 __block const char * message = "HELLO";
9 X = X - 1234;
11 X += 1;
13 printf ("%s(%d)\n", message, X);
14 X -= 1;
16 return X;