llvm-project/clang/test/Index/Core/index-source.m

9 lines
348 B
Mathematica
Raw Normal View History

// RUN: c-index-test core -print-source-symbols -- %s | FileCheck %s
@interface Base
// CHECK: [[@LINE-1]]:12 | objc-class/ObjC | Base | c:objc(cs)Base | Decl | rel: 0
-(void)meth;
// CHECK: [[@LINE-1]]:1 | objc-instance-method/ObjC | meth | c:objc(cs)Base(im)meth | Decl/Dyn/RelChild | rel: 1
// CHECK-NEXT: RelChild | Base | c:objc(cs)Base
@end