Searched refs:object2 (Results 1 - 19 of 19) sorted by relevance

/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.bugs/
H A D900331_02.C18 struct0 object2; variable
25 (i ? object0 : object1) = object2; // { dg-bogus "" }
H A D900331_03.C23 struct0 object2; variable
29 object2 = (i ? object0 : object1); // OK
30 (i ? object0 : object1) = object2; // causes abort
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/
H A Dexceptions-6.mm25 void test3 (id object1, id object2)
28 @throw object1, object2; /* Ok. */
H A Dprotocol-qualifier-2.mm16 static MyClass *object2;
27 [object2 method]; /* { dg-warning ".MyClass. may not respond to ..method." } */
H A Dprotocol-optional-1.mm34 MyRootClass *object2)
41 i += [object2 method];
44 i += [object2 optionalMethod];
H A Dinvalid-type-1.mm21 Integer <MyProtocol> *object2; /* { dg-error ".Integer {aka int}. is not a template" } */
H A Dgnu-api-2-resolve-method.mm376 SelfExtendingClass *object2 = [[SelfExtendingClass alloc] init];
482 if ([object2 nonExistingCountHitsMethod] != 2)
497 if ([object2 nonExistingCountHitsMethod] != 3)
524 if ([object2 nonExistingCountHitsMethod2] != 4)
552 if ([object2 nonExistingCountHitsMethod3] != 5)
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/
H A Dexceptions-6.m25 void test3 (id object1, id object2)
28 @throw object1, object2; /* Ok. */
H A Dprotocol-qualifier-2.m16 static MyClass *object2;
27 [object2 method]; /* { dg-warning ".MyClass. may not respond to ..method." } */
H A Dprotocol-optional-1.m34 MyRootClass *object2)
41 i += [object2 method];
44 i += [object2 optionalMethod];
H A Dinvalid-type-1.m21 Integer <MyProtocol> *object2; /* { dg-error "only Objective-C object types can be qualified with a protocol" } */
H A Dgnu-api-2-resolve-method.m376 SelfExtendingClass *object2 = [[SelfExtendingClass alloc] init];
482 if ([object2 nonExistingCountHitsMethod] != 2)
497 if ([object2 nonExistingCountHitsMethod] != 3)
524 if ([object2 nonExistingCountHitsMethod2] != 4)
552 if ([object2 nonExistingCountHitsMethod3] != 5)
H A Dfix-and-continue-1.m66 static int _MyCompareObjectsByDecreasingSetCount (id object1, id object2, MyCountedSet * countedSet)
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/property/
H A Ddotsyntax-18.mm46 MyRootClass *object2 = [[MyRootClass alloc] init];
54 object2.count = 10;
55 if (object2.count != 10)
59 object1.count = object2.count = 20;
61 if (object1.count != 20 || object2.count != 20)
69 i = object2.count = 30;
71 if (i != 30 || object2.count != 30)
76 object1.count = ([object2 somethingToExecuteOnlyOnce] > 0 ? 30 : 45);
78 if (object1.count != 30 || object2.count != 31)
82 object3.count = object1.count = ([object2 somethingToExecuteOnlyOnc
[all...]
H A Ddotsyntax-19.mm24 @property (assign) id object2;
38 @synthesize object2 = b;
42 self.object1 = self.object2 = self;
44 if (self.object1 != self || self.object2 != self)
48 self.object1 = self.object2 = (self ? [self myself] : [self nilObject]);
50 if (self.object1 != self || self.object2 != self)
53 self.object1 = self.object2 = (self ? [self nilObject] : [self myself]);
55 if (self.object1 != nil || self.object2 != nil)
H A Dat-property-10.mm38 MyRootClass *object2 = [[MyRootClass alloc] init];
85 object2.a = object.a;
87 if (object2.a != object.a - 1)
90 if (object2.a != 98)
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/property/
H A Ddotsyntax-18.m46 MyRootClass *object2 = [[MyRootClass alloc] init];
54 object2.count = 10;
55 if (object2.count != 10)
59 object1.count = object2.count = 20;
61 if (object1.count != 20 || object2.count != 20)
69 i = object2.count = 30;
71 if (i != 30 || object2.count != 30)
76 object1.count = ([object2 somethingToExecuteOnlyOnce] > 0 ? 30 : 45);
78 if (object1.count != 30 || object2.count != 31)
82 object3.count = object1.count = ([object2 somethingToExecuteOnlyOnc
[all...]
H A Ddotsyntax-19.m24 @property (assign) id object2;
38 @synthesize object2 = b;
42 self.object1 = self.object2 = self;
44 if (self.object1 != self || self.object2 != self)
48 self.object1 = self.object2 = (self ? [self myself] : [self nilObject]);
50 if (self.object1 != self || self.object2 != self)
53 self.object1 = self.object2 = (self ? [self nilObject] : [self myself]);
55 if (self.object1 != nil || self.object2 != nil)
H A Dat-property-10.m41 MyRootClass *object2 = [[MyRootClass alloc] init];
88 object2.a = object.a;
90 if (object2.a != object.a - 1)
93 if (object2.a != 98)

Completed in 118 milliseconds