summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/ARCMT/assign-prop-with-arc-runtime.m5
-rw-r--r--clang/test/ARCMT/assign-prop-with-arc-runtime.m.result5
2 files changed, 6 insertions, 4 deletions
diff --git a/clang/test/ARCMT/assign-prop-with-arc-runtime.m b/clang/test/ARCMT/assign-prop-with-arc-runtime.m
index 32d30e53e42..4e4ae774a25 100644
--- a/clang/test/ARCMT/assign-prop-with-arc-runtime.m
+++ b/clang/test/ARCMT/assign-prop-with-arc-runtime.m
@@ -30,10 +30,11 @@ typedef _NSCachedAttributedString *BadClassForWeak;
@property () NSObject *not_safe2;
@property Forw *not_safe3;
-@property (assign) Foo *no_back_ivar;
+@property (assign) Foo *no_user_ivar1;
+@property (readonly) Foo *no_user_ivar2;
@end
@implementation Foo
@synthesize x,w,q1,q2,oo,bcw,not_safe1,not_safe2,not_safe3;
-@synthesize no_back_ivar;
+@synthesize no_user_ivar1, no_user_ivar2;
@end
diff --git a/clang/test/ARCMT/assign-prop-with-arc-runtime.m.result b/clang/test/ARCMT/assign-prop-with-arc-runtime.m.result
index 3a6c349405a..eb34c168e40 100644
--- a/clang/test/ARCMT/assign-prop-with-arc-runtime.m.result
+++ b/clang/test/ARCMT/assign-prop-with-arc-runtime.m.result
@@ -30,10 +30,11 @@ typedef _NSCachedAttributedString *BadClassForWeak;
@property (unsafe_unretained) NSObject *not_safe2;
@property (unsafe_unretained) Forw *not_safe3;
-@property (weak) Foo *no_back_ivar;
+@property (weak) Foo *no_user_ivar1;
+@property (weak, readonly) Foo *no_user_ivar2;
@end
@implementation Foo
@synthesize x,w,q1,q2,oo,bcw,not_safe1,not_safe2,not_safe3;
-@synthesize no_back_ivar;
+@synthesize no_user_ivar1, no_user_ivar2;
@end
OpenPOWER on IntegriCloud