xref: /minix3/external/bsd/llvm/dist/clang/test/Index/reparse-predef-objc-protocol.m (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 3 local %s -I %S/Inputs
2*0a6a1f1dSLionel Sambuc#import "declare-objc-predef.h"
3*0a6a1f1dSLionel Sambuc// PR20633
4*0a6a1f1dSLionel Sambuc
5*0a6a1f1dSLionel Sambuc// CHECK: declare-objc-predef.h:1:8: ObjCInterfaceDecl=Protocol:1:8 Extent=[1:1 - 1:16]
6*0a6a1f1dSLionel Sambuc// CHECK: declare-objc-predef.h:1:8: ObjCClassRef=Protocol:1:8 Extent=[1:8 - 1:16]
7*0a6a1f1dSLionel Sambuc// CHECK: declare-objc-predef.h:2:16: StructDecl=objc_class:2:16 Extent=[2:9 - 2:26]
8*0a6a1f1dSLionel Sambuc// CHECK: declare-objc-predef.h:2:28: TypedefDecl=Class:2:28 (Definition) Extent=[2:1 - 2:33]
9*0a6a1f1dSLionel Sambuc// CHECK: declare-objc-predef.h:2:16: TypeRef=struct objc_class:2:16 Extent=[2:16 - 2:26]
10