Home | History | Annotate | Download | only in Rewriter
      1 // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o -
      2 
      3 @protocol P
      4 - (id<P>) Meth: (id<P>) Arg;
      5 @end
      6 
      7 @interface INTF<P>
      8 - (id<P>)IMeth;
      9 @end
     10 
     11 @implementation INTF
     12 - (id<P>)IMeth { return [(id<P>)self Meth: (id<P>)0]; }
     13 - (id<P>) Meth : (id<P>) Arg { return 0; }
     14 @end
     15