/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/property/ |
H A D | property-neg-5.mm | 4 @property ( readonly, getter = HELLO, setter = THERE : ) int value; /* { dg-error ".readonly. attribute conflicts with .setter. attribute" } */
|
H A D | synthesize-9.mm | 4 /* 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 D | at-property-28.mm | 13 @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 D | at-property-1.mm | 14 @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 D | at-property-16.mm | 20 @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 D | at-property-20.mm | 7 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 D | at-property-18.mm | 23 @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 D | at-property-14.mm | 15 @property (readonly) id property_b; /* No 'assign' warning (assign semantics do not matter if the property is readonly). */
|
H A D | at-property-15.mm | 16 @property (readonly) id property_b;
|
H A D | at-property-4.mm | 20 @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 D | property-neg-7.mm | 7 @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 D | property-neg-5.m | 4 @property ( readonly, getter = HELLO, setter = THERE : ) int value; /* { dg-error ".readonly. attribute conflicts with .setter. attribute" } */
|
H A D | synthesize-9.m | 4 /* 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 D | at-property-28.m | 13 @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 D | at-property-1.m | 15 @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 D | at-property-16.m | 20 @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 D | at-property-20.m | 7 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 D | at-property-18.m | 23 @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 D | at-property-14.m | 15 @property (readonly) id property_b; /* No 'assign' warning (assign semantics do not matter if the property is readonly). */
|
H A D | at-property-15.m | 16 @property (readonly) id property_b;
|
H A D | at-property-4.m | 20 @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 D | property-neg-7.m | 7 @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 D | pr17935-2.d | 3 # error: warning: relocation in readonly section `.text'
|
/haiku-buildtools/binutils/ld/testsuite/ld-x86-64/ |
H A D | pr17935-2.d | 3 # error: warning: relocation in readonly section `.text'
|
/haiku-buildtools/binutils/binutils/testsuite/binutils-all/ |
H A D | copy-1.d | 3 #objcopy: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
|