Searched refs:readonly (Results 1 - 25 of 49) sorted by relevance

12

/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/property/
H A Dproperty-neg-5.mm4 @property ( readonly, getter = HELLO, setter = THERE : ) int value; /* { dg-error ".readonly. attribute conflicts with .setter. attribute" } */
H A Dsynthesize-9.mm4 /* Test that when using @synthesize with a readonly property, the
32 @property (assign, readonly) int v;
33 @property (assign, readonly) float w;
34 @property (assign, readonly) id x;
35 @property (assign, readonly) Test *y;
36 @property (assign, readonly) id <MyProtocol> *z;
37 @property (assign, readonly) ClassA *a;
38 @property (assign, readonly) ClassB *b;
63 @property (assign, readonly) float v;
64 @property (assign, readonly) i
[all...]
H A Dat-property-28.mm13 @property (readonly, retain) id property1; /* { dg-message "originally specified here" } */
14 @property (readonly) int property2; /* { dg-message "originally specified here" } */
15 @property (readonly, getter=y) int property3; /* { dg-message "originally specified here" } */
16 @property (readonly) int property4; /* Ok */
17 @property (readonly) int property5; /* { dg-message "originally specified here" } */
H A Dat-property-1.mm14 @property (readonly) int e;
15 @property (readonly,) int f; /* { dg-error "expected identifier" } */
17 @property (readonly,xxx) int h; /* { dg-error "unknown property attribute" } */
H A Dat-property-16.mm20 @property (readonly) int h; /* Ok */
21 @property (readonly,getter=getMe) int i; /* { dg-message "originally specified here" } */
32 @property (readonly) int h;
33 @property (readonly,getter=getMe) int i;
43 @property (readonly) int g; /* { dg-warning ".readonly. attribute of property .g. conflicts with previous declaration" } */
45 @property (readonly) int i; /* { dg-warning ".getter. attribute of property .i. conflicts with previous declaration" } */
H A Dat-property-20.mm7 sub-class, the types match (unless it's a readonly property, in
45 @property (assign, readonly) MySubClass1 *f; /* { dg-message "originally specified here" } */
47 @property (assign, readonly) MySubClass3 *h; /* { dg-message "originally specified here" } */
58 @property (assign, readonly) MySubClass1 *f;
60 @property (assign, readonly) MySubClass3 *h;
71 @property (assign, readonly) MyRootClass *f; /* { dg-warning "type of property .f. conflicts with previous declaration" } */
73 @property (assign, readonly) MySubClass2 *h; /* { dg-warning "type of property .h. conflicts with previous declaration" } */
79 @property (assign, readonly) MySubClass4 *f;
80 @property (assign, readonly) MySubClass3 <MyProtocolB> *h;
H A Dat-property-18.mm23 @property (readonly) int h;
24 @property (readonly,getter=getMe) int i;
40 @property (readonly) int g; /* { dg-warning ".readonly. attribute of property .g. conflicts with previous declaration" } */
43 @property (readonly) int i; /* { dg-warning ".getter. attribute of property .i. conflicts with previous declaration" } */
H A Dat-property-14.mm15 @property (readonly) id property_b; /* No 'assign' warning (assign semantics do not matter if the property is readonly). */
H A Dat-property-15.mm16 @property (readonly) id property_b;
H A Dat-property-4.mm20 @property (readonly) int property_d;
30 @property (readonly, readwrite) int a; /* { dg-error ".readonly. attribute conflicts with .readwrite. attribute" } */
31 @property (readonly, setter=mySetterB:) int b; /* { dg-error ".readonly. attribute conflicts with .setter. attribute" } */
H A Dproperty-neg-7.mm7 @property(readonly) int count;
16 test.count = 1; /* { dg-error "readonly property can not be set" } */
17 ((NSArray *)pid).count = 1; /* { dg-error "readonly property can not be set" } */
18 ((NSArray *)apid[i]).count = 1; /* { dg-error "readonly property can not be set" } */
19 ans[i].count = 3; /* { dg-error "readonly property can not be set" } */
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/property/
H A Dproperty-neg-5.m4 @property ( readonly, getter = HELLO, setter = THERE : ) int value; /* { dg-error ".readonly. attribute conflicts with .setter. attribute" } */
H A Dsynthesize-9.m4 /* Test that when using @synthesize with a readonly property, the
32 @property (assign, readonly) int v;
33 @property (assign, readonly) float w;
34 @property (assign, readonly) id x;
35 @property (assign, readonly) Test *y;
36 @property (assign, readonly) id <MyProtocol> *z;
37 @property (assign, readonly) ClassA *a;
38 @property (assign, readonly) ClassB *b;
63 @property (assign, readonly) float v;
64 @property (assign, readonly) i
[all...]
H A Dat-property-28.m13 @property (readonly, retain) id property1; /* { dg-message "originally specified here" } */
14 @property (readonly) int property2; /* { dg-message "originally specified here" } */
15 @property (readonly, getter=y) int property3; /* { dg-message "originally specified here" } */
16 @property (readonly) int property4; /* Ok */
17 @property (readonly) int property5; /* { dg-message "originally specified here" } */
H A Dat-property-1.m15 @property (readonly) int e;
16 @property (readonly,) int f; /* { dg-error "expected identifier" } */
18 @property (readonly,xxx) int h; /* { dg-error "unknown property attribute" } */
H A Dat-property-16.m20 @property (readonly) int h;
21 @property (readonly,getter=getMe) int i;
32 @property (readonly) int h;
33 @property (readonly,getter=getMe) int i;
49 @property (readonly) int g; /* { dg-warning ".readonly. attribute of property .g. conflicts with previous declaration" } */
52 @property (readonly) int i; /* { dg-warning ".getter. attribute of property .i. conflicts with previous declaration" } */
H A Dat-property-20.m7 sub-class, the types match (unless it's a readonly property, in
45 @property (assign, readonly) MySubClass1 *f; /* { dg-message "originally specified here" } */
47 @property (assign, readonly) MySubClass3 *h; /* { dg-message "originally specified here" } */
58 @property (assign, readonly) MySubClass1 *f;
60 @property (assign, readonly) MySubClass3 *h;
71 @property (assign, readonly) MyRootClass *f; /* { dg-warning "type of property .f. conflicts with previous declaration" } */
73 @property (assign, readonly) MySubClass2 *h; /* { dg-warning "type of property .h. conflicts with previous declaration" } */
79 @property (assign, readonly) MySubClass4 *f;
80 @property (assign, readonly) MySubClass3 <MyProtocolB> *h;
H A Dat-property-18.m23 @property (readonly) int h;
24 @property (readonly,getter=getMe) int i;
41 @property (readonly) int g; /* { dg-warning ".readonly. attribute of property .g. conflicts with previous declaration" } */
44 @property (readonly) int i; /* { dg-warning ".getter. attribute of property .i. conflicts with previous declaration" } */
H A Dat-property-14.m15 @property (readonly) id property_b; /* No 'assign' warning (assign semantics do not matter if the property is readonly). */
H A Dat-property-15.m16 @property (readonly) id property_b;
H A Dat-property-4.m20 @property (readonly) int property_d;
30 @property (readonly, readwrite) int a; /* { dg-error ".readonly. attribute conflicts with .readwrite. attribute" } */
31 @property (readonly, setter=mySetterB:) int b; /* { dg-error ".readonly. attribute conflicts with .setter. attribute" } */
H A Dproperty-neg-7.m7 @property(readonly) int count;
16 test.count = 1; /* { dg-error "readonly property can not be set" } */
17 ((NSArray *)pid).count = 1; /* { dg-error "readonly property can not be set" } */
18 ((NSArray *)apid[i]).count = 1; /* { dg-error "readonly property can not be set" } */
19 ans[i].count = 3; /* { dg-error "readonly property can not be set" } */
/haiku-buildtools/binutils/ld/testsuite/ld-i386/
H A Dpr17935-2.d3 # error: warning: relocation in readonly section `.text'
/haiku-buildtools/binutils/ld/testsuite/ld-x86-64/
H A Dpr17935-2.d3 # error: warning: relocation in readonly section `.text'
/haiku-buildtools/binutils/binutils/testsuite/binutils-all/
H A Dcopy-1.d3 #objcopy: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code

Completed in 177 milliseconds

12