Home | History | Annotate | Download | only in Index
      1 @interface Foo
      2 @property (readonly) id x;
      3 -(int) mymethod;
      4 -(const id) mymethod2:(id)x blah:(Class)y boo:(SEL)z;
      5 @end
      6 
      7 // RUN: c-index-test -test-print-typekind %s | FileCheck %s
      8 // CHECK: ObjCPropertyDecl=x:2:25 typekind=ObjCId [canonical=ObjCObjectPointer]
      9 // CHECK: ObjCInstanceMethodDecl=mymethod:3:8 typekind=Invalid [result=Int]
     10 // CHECK: ObjCInstanceMethodDecl=mymethod2:blah:boo::4:13 typekind=Invalid [result=ObjCId] [args= ObjCId ObjCClass ObjCSel]
     11