llvm-project/clang/test/Index/index-pch-objc.m

11 lines
295 B
Objective-C

// RUN: c-index-test -write-pch %t.pch -target x86_64-apple-darwin10 %s
// RUN: env LIBCLANG_NOTHREADS=1 c-index-test -index-tu %t.pch | FileCheck %s
@interface SomeClass
@property (retain) id foo;
@end
@implementation SomeClass
@end
// CHECK: [indexDeclaration]: kind: objc-ivar | name: _foo