diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-18 19:49:19 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-18 19:49:19 +0000 |
commit | 44679012052b0d57f26a3aa141004687cb71a551 (patch) | |
tree | 412d1432a35e9f1cb17128da491245bd5c8ab693 /test/ARCMT | |
parent | b98ffded10453d80369951f33f3892f35d747c95 (diff) |
[arcmt] Rewrite attributes in extensions as well. rdar://9992142
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ARCMT')
-rw-r--r-- | test/ARCMT/assign-prop-with-arc-runtime.m | 14 | ||||
-rw-r--r-- | test/ARCMT/assign-prop-with-arc-runtime.m.result | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/test/ARCMT/assign-prop-with-arc-runtime.m b/test/ARCMT/assign-prop-with-arc-runtime.m index 4f50aac8eb..8408a1858b 100644 --- a/test/ARCMT/assign-prop-with-arc-runtime.m +++ b/test/ARCMT/assign-prop-with-arc-runtime.m @@ -55,3 +55,17 @@ typedef _NSCachedAttributedString *BadClassForWeak; assign_plus3 = [parm retain]; } @end + +@interface TestExt +@property (retain,readonly) TestExt *x1; +@property (readonly) TestExt *x2; +@end + +@interface TestExt() +@property (retain,readwrite) TestExt *x1; +@property (readwrite) TestExt *x2; +@end + +@implementation TestExt +@synthesize x1, x2; +@end diff --git a/test/ARCMT/assign-prop-with-arc-runtime.m.result b/test/ARCMT/assign-prop-with-arc-runtime.m.result index 796af230b4..e6070a86b7 100644 --- a/test/ARCMT/assign-prop-with-arc-runtime.m.result +++ b/test/ARCMT/assign-prop-with-arc-runtime.m.result @@ -55,3 +55,17 @@ typedef _NSCachedAttributedString *BadClassForWeak; assign_plus3 = parm; } @end + +@interface TestExt +@property (strong,readonly) TestExt *x1; +@property (weak, readonly) TestExt *x2; +@end + +@interface TestExt() +@property (strong,readwrite) TestExt *x1; +@property (weak, readwrite) TestExt *x2; +@end + +@implementation TestExt +@synthesize x1, x2; +@end |