summaryrefslogtreecommitdiffstats
path: root/clang/test/ARCMT
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/ARCMT')
-rw-r--r--clang/test/ARCMT/GC.m4
-rw-r--r--clang/test/ARCMT/GC.m.result4
2 files changed, 6 insertions, 2 deletions
diff --git a/clang/test/ARCMT/GC.m b/clang/test/ARCMT/GC.m
index 28846792ad4..d657387a03e 100644
--- a/clang/test/ARCMT/GC.m
+++ b/clang/test/ARCMT/GC.m
@@ -57,15 +57,17 @@ __attribute__((objc_arc_weak_reference_unavailable))
@interface I4Impl {
I4Impl *pds2;
+ I4Impl *pds3;
}
@property (assign) I4Impl *__weak pw1, *__weak pw2;
@property (assign) I4Impl *__strong ps;
@property (assign) I4Impl * pds;
@property (assign) I4Impl * pds2;
+@property (readwrite) I4Impl * pds3;
@end
@implementation I4Impl
-@synthesize pw1, pw2, ps, pds, pds2;
+@synthesize pw1, pw2, ps, pds, pds2, pds3;
-(void)test1:(CFTypeRef *)cft {
id x = NSMakeCollectable(cft);
diff --git a/clang/test/ARCMT/GC.m.result b/clang/test/ARCMT/GC.m.result
index aaa5ee5b569..96437b8973b 100644
--- a/clang/test/ARCMT/GC.m.result
+++ b/clang/test/ARCMT/GC.m.result
@@ -52,15 +52,17 @@ __attribute__((objc_arc_weak_reference_unavailable))
@interface I4Impl {
I4Impl *pds2;
+ I4Impl *pds3;
}
@property (weak) I4Impl * pw1, * pw2;
@property I4Impl * ps;
@property I4Impl * pds;
@property I4Impl * pds2;
+@property (readwrite) I4Impl * pds3;
@end
@implementation I4Impl
-@synthesize pw1, pw2, ps, pds, pds2;
+@synthesize pw1, pw2, ps, pds, pds2, pds3;
-(void)test1:(CFTypeRef *)cft {
id x = CFBridgingRelease(cft);
OpenPOWER on IntegriCloud