Home | History | Annotate | Download | only in Rewriter
      1 // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5  %s -o -
      2 
      3 @protocol P1
      4 - (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
      5 + (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
      6 @end
      7 
      8 @interface Intf <P1>
      9 - (char *) MyMeth : (double) arg1 : (char *[12]) arg2;
     10 - (id) address:(void *)location with:(unsigned **)arg2;
     11 @end
     12 
     13 @implementation Intf
     14 - (char *) MyMeth : (double) arg1 : (char *[12]) arg2{ return 0; }
     15 - (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
     16 + (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
     17 - (id) address:(void *)location with:(unsigned **)arg2{ return 0; }
     18 @end
     19