brintos

brintos / llvm-project-archived public Read only

0
0
Text · 641 B · ba34e69 Raw
14 lines · plain
1@import hidden_redecls;2 3@interface Foo (Top)4- (void)top_method;5@end6 7// p1_method in protocol P1 is hidden since module_redecls.sub hasn't been8// imported yet. Check it is still indexed.9 10// RUN: rm -rf %t11// RUN: c-index-test -index-file-full %s -isystem %S/Inputs -fmodules -fmodules-cache-path=%t -target x86_64-apple-macosx10.7 | FileCheck %s12// CHECK: [indexDeclaration]: kind: objc-instance-method | name: p1_method | {{.*}} | loc: {{.*}}hidden-redecls-sub.h:2:9 | {{.*}} | isRedecl: 013// CHECK: [indexDeclaration]: kind: objc-instance-method | name: p1_method | {{.*}} | loc: {{.*}}hidden-redecls-sub.h:3:9 | {{.*}} | isRedecl: 114