aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CodeGenObjC/super-dotsyntax-property.m8
-rw-r--r--test/Coverage/objc-language-features.inc2
2 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGenObjC/super-dotsyntax-property.m b/test/CodeGenObjC/super-dotsyntax-property.m
index 8c51cfc533..cd0d5652d4 100644
--- a/test/CodeGenObjC/super-dotsyntax-property.m
+++ b/test/CodeGenObjC/super-dotsyntax-property.m
@@ -1,6 +1,10 @@
// RUN: clang -emit-llvm -o %t %s
@interface B
+{
+ int _parent;
+}
+@property int parent;
+(int) classGetter;
+(void) setClassGetter:(int) arg;
@@ -25,6 +29,10 @@
super.getter = 200;
int x = super.getter;
}
+-(void) setParent : (int) arg {
+ super.parent = arg + super.parent;
+
+}
@end
void f0() {
diff --git a/test/Coverage/objc-language-features.inc b/test/Coverage/objc-language-features.inc
index 3b092ffbf4..477cbe3746 100644
--- a/test/Coverage/objc-language-features.inc
+++ b/test/Coverage/objc-language-features.inc
@@ -34,9 +34,7 @@
const char *s1 = __FUNCTION__;
const char *s2 = __PRETTY_FUNCTION__;
[super im0];
-#ifndef IRGENABLE
int x = super.p0;
-#endif
}
-(void) im1: (int) x, ... {
}