[cfe-commits] r56564 - /cfe/trunk/test/CodeGenObjC/property.m

Daniel Dunbar daniel at zuster.org
Wed Sep 24 11:00:14 PDT 2008


Author: ddunbar
Date: Wed Sep 24 13:00:13 2008
New Revision: 56564

URL: http://llvm.org/viewvc/llvm-project?rev=56564&view=rev
Log:
Add more testing of Obj-C property synthesis.

Modified:
    cfe/trunk/test/CodeGenObjC/property.m

Modified: cfe/trunk/test/CodeGenObjC/property.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/property.m?rev=56564&r1=56563&r2=56564&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenObjC/property.m (original)
+++ cfe/trunk/test/CodeGenObjC/property.m Wed Sep 24 13:00:13 2008
@@ -9,11 +9,17 @@
 
 @interface A : Root {
   int x;
+  id ob0, ob1, ob2, ob3, ob4;
 }
 @property int x;
 @property int y;
 @property int z;
 @property(readonly) int ro;
+ at property(assign) id ob0;
+ at property(retain) id ob1;
+ at property(copy) id ob2;
+ at property(retain, nonatomic) id ob3;
+ at property(copy, nonatomic) id ob4;
 @end
 
 @implementation A
@@ -22,6 +28,11 @@
 @synthesize y = x;
 @synthesize z = x;
 @synthesize ro = x;
+ at synthesize ob0;
+ at synthesize ob1;
+ at synthesize ob2;
+ at synthesize ob3;
+ at synthesize ob4;
 -(int) y {
   return x + 1;
 }





More information about the cfe-commits mailing list