summaryrefslogtreecommitdiffstats
path: root/test/ASTMerge/Inputs/property2.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/Inputs/property2.m')
-rw-r--r--test/ASTMerge/Inputs/property2.m20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/property2.m b/test/ASTMerge/Inputs/property2.m
index 6039f10..64a03fb 100644
--- a/test/ASTMerge/Inputs/property2.m
+++ b/test/ASTMerge/Inputs/property2.m
@@ -11,3 +11,23 @@
@interface I2
@property (readonly) int Prop1;
@end
+
+// Properties with implementations
+@interface I3 {
+ int ivar1;
+ int ivar2;
+ int ivar3;
+ int Prop4;
+}
+@property int Prop1;
+@property int Prop2;
+@property int Prop3;
+@property int Prop4;
+@end
+
+@implementation I3
+@synthesize Prop2 = ivar2;
+@synthesize Prop1 = ivar1;
+@synthesize Prop3 = ivar3;
+@synthesize Prop4 = Prop4;
+@end
OpenPOWER on IntegriCloud