Home | History | Annotate | Download | only in ARCMT
      1 // RUN: %clang_cc1 -fblocks -fsyntax-only -fobjc-arc -x objective-c %s.result
      2 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fblocks -fsyntax-only -x objective-c %s > %t
      3 // RUN: diff %t %s.result
      4 
      5 #include "Common.h"
      6 
      7 typedef void (^blk)(int);
      8 
      9 void func(blk b) {
     10   blk c = [b copy];
     11 }
     12 
     13 void func2(id b) {
     14   id c = [b copy];
     15 }
     16