• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
3 ObjCClass NSObject
4 ObjCCategory NSObject foo
5 ObjCIvar x c:objc(cs)NSObject
6 ObjCMethod foo: 0 c:objc(cs)NSObject
7 ObjCMethod baz:with 1 c:objc(cs)NSObject
8 ObjCProperty gimme c:objc(cs)NSObject
9 ObjCProtocol 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