1// RUN: c-index-test -print-usr-file %s | FileCheck %s 2// This isn't really C code; it has a .c extension to get picked up by lit. 3ObjCClass NSObject 4ObjCCategory NSObject foo 5ObjCIvar x c:objc(cs)NSObject 6ObjCMethod foo: 0 c:objc(cs)NSObject 7ObjCMethod baz:with 1 c:objc(cs)NSObject 8ObjCProperty gimme c:objc(cs)NSObject 9ObjCProtocol blah 10// CHECK: c:objc(cs)NSObject 11// CHECK: c:objc(cy)NSObject@foo 12// CHECK: c:objc(cs)NSObject@x 13// CHECK: c:objc(cs)NSObject(cm)foo: 14// CHECK: c:objc(cs)NSObject(im)baz:with 15// CHECK: c:objc(cs)NSObject(py)gimme 16// CHECK: c:objc(pl)blah 17 18