summaryrefslogtreecommitdiffstats
path: root/clang/test/ARCMT/objcmt-property-dot-syntax.m.result
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/ARCMT/objcmt-property-dot-syntax.m.result')
-rw-r--r--clang/test/ARCMT/objcmt-property-dot-syntax.m.result22
1 files changed, 22 insertions, 0 deletions
diff --git a/clang/test/ARCMT/objcmt-property-dot-syntax.m.result b/clang/test/ARCMT/objcmt-property-dot-syntax.m.result
index 88006e9fc59..6822d44ac0a 100644
--- a/clang/test/ARCMT/objcmt-property-dot-syntax.m.result
+++ b/clang/test/ARCMT/objcmt-property-dot-syntax.m.result
@@ -37,3 +37,25 @@ P* fun();
- (P*) MethodReturnsPObj { return 0; }
@end
+
+// rdar://19140267
+@interface Sub : P
+@end
+
+@implementation Sub
+- (int) Meth : (P*)array {
+ super.count = 100;
+
+ super.count = array.count;
+
+ super.PropertyReturnsPObj.count = array.count;
+
+ super.count = (i1+i2*i3 - 100);
+
+ return super.count -
+ ((P*)0).count + array.count +
+ fun().count -
+ super.PropertyReturnsPObj.count +
+ self->obj.count;
+}
+@end
OpenPOWER on IntegriCloud