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