summaryrefslogtreecommitdiffstats
path: root/test/Index/print-typekind.m
blob: 68827fb7ca6e9aef9a3f994490f966d3d5c7e6db (plain)
1
2
3
4
5
6
7
8
9
10
@interface Foo
@property (readonly) id x;
-(int) mymethod;
@end

// RUN: c-index-test -test-print-typekind %s | FileCheck %s
// CHECK: ObjCPropertyDecl=x:2:25 typekind=Typedef [canonical=ObjCObjectPointer]
// CHECK: ObjCInstanceMethodDecl=mymethod:3:1 typekind=Invalid [result=Int]