Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Rewriter / rewrite-weak-attr.m
blob196f1d3c6e952f130fdbb9290983361f7b1cdd01
1 // RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -fblocks -Dnil=0 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5   -o - %s
2 int main(void) {
3         __weak __block id foo = nil;
4         __block id foo2 = nil;
5         id foo3 = nil;
6         
7         void (^myblock)(void) = ^{
8                 foo = nil;
9                 foo2 = nil;
10                 [foo3 bar];
11                 id foo4 = foo3;
12         };