Home | History | Annotate | Download | only in Rewriter
      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() {
      3         __weak __block id foo = nil;
      4         __block id foo2 = nil;
      5         id foo3 = nil;
      6         
      7         void (^myblock)() = ^{
      8                 foo = nil;
      9                 foo2 = nil;
     10                 [foo3 bar];
     11                 id foo4 = foo3;
     12         };
     13 }
     14