1@class Foo;
2@interface Bar
3@property (retain) __attribute__((iboutletcollection(Foo))) Foo *prop;
4@end
5
6@interface I
7-(id)prop __attribute__((annotate("anno")));
8-(void)setProp:(id)p __attribute__((annotate("anno")));
9@property (assign) id prop __attribute__((annotate("anno")));
10@end
11
12// RUN: c-index-test -index-file %s | FileCheck %s
13// CHECK:      <attribute>: attribute(iboutletcollection)= [IBOutletCollection=ObjCInterface]
14
15// CHECK: <attribute>: attribute(annotate)=anno
16// CHECK: <getter>: kind: objc-instance-method | name: prop | {{.*}} <attribute>: attribute(annotate)=anno
17// CHECK: <setter>: kind: objc-instance-method | name: setProp: | {{.*}} <attribute>: attribute(annotate)=anno
18