12 Protocol *p = @protocol(Prot);
24 @protocol ForwardProt;
26 // RUN: c-index-test -index-file %s | FileCheck %s
27 // CHECK: [indexEntityReference]: kind: objc-protocol | name: Prot | {{.*}} | loc: 12:27
28 // CHECK: [indexEntityReference]: kind: struct | name: FooS | {{.*}} | loc: 13:18
29 // CHECK: [indexEntityReference]: kind: objc-class | name: I | {{.*}} | loc: 21:4
31 // CHECK: [indexDeclaration]: kind: objc-protocol | name: ForwardProt | {{.*}} | loc: 24:11
32 // CHECK-NEXT: <ObjCContainerInfo>: kind: forward-ref