summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2014-04-02 22:49:42 +0000
committerFariborz Jahanian <fjahanian@apple.com>2014-04-02 22:49:42 +0000
commit33079ee0e60297088bc9cd5c04a5c18de1c4b64c (patch)
tree05e43a13e0a07623fe7e1dd456841adf07e023c9 /clang/test/CodeGenObjC
parentf823380a444eb1f577176b027485623d252789f5 (diff)
downloadbcm5719-llvm-33079ee0e60297088bc9cd5c04a5c18de1c4b64c.tar.gz
bcm5719-llvm-33079ee0e60297088bc9cd5c04a5c18de1c4b64c.zip
Objective-C [IRGen]. Add encoding for 'weak' attribute of a
'readonly' property. // rdar://16136439 llvm-svn: 205477
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/arc-ivar-layout.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/arc-ivar-layout.m b/clang/test/CodeGenObjC/arc-ivar-layout.m
index 9128063652b..06e387c817e 100644
--- a/clang/test/CodeGenObjC/arc-ivar-layout.m
+++ b/clang/test/CodeGenObjC/arc-ivar-layout.m
@@ -54,3 +54,12 @@
@implementation UnsafePerson @end
// CHECK-LP64: L_OBJC_CLASS_NAME_20:
// CHECK-LP64-NEXT: .asciz "!"
+
+// rdar://16136439
+@interface rdar16136439
+ @property (nonatomic, readonly, weak) id first;
+@end
+
+@implementation rdar16136439 @end
+// CHECK-LP64: L_OBJC_PROP_NAME_ATTR_29:
+// CHECK-LP64-NEXT: .asciz "T@,R,W,N,V_first"
OpenPOWER on IntegriCloud