summaryrefslogtreecommitdiff
path: root/test/ASTMerge/Inputs/property1.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/Inputs/property1.m')
-rw-r--r--test/ASTMerge/Inputs/property1.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/property1.m b/test/ASTMerge/Inputs/property1.m
new file mode 100644
index 0000000000000..37887a34f7672
--- /dev/null
+++ b/test/ASTMerge/Inputs/property1.m
@@ -0,0 +1,12 @@
+// Matching properties
+@interface I1 {
+}
+- (int)getProp2;
+- (void)setProp2:(int)value;
+@end
+
+// Mismatched property
+@interface I2
+@property (readonly) float Prop1;
+@end
+