diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-08-19 19:28:44 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-08-19 19:28:44 +0000 |
commit | 7e47de3156b038aa0bd5f215aaa6886a1a7ea8a9 (patch) | |
tree | 6924dab8d0cda9d1a51d02a05a7deaa561da0665 /clang/test/CodeGenObjC/arc.m | |
parent | 7c4739da3cb88a1e2b20859e1db8f9df15876961 (diff) | |
download | bcm5719-llvm-7e47de3156b038aa0bd5f215aaa6886a1a7ea8a9.tar.gz bcm5719-llvm-7e47de3156b038aa0bd5f215aaa6886a1a7ea8a9.zip |
objc-arc: @property definitions should default to (strong) when not
specified. // rdar://9971982
llvm-svn: 138062
Diffstat (limited to 'clang/test/CodeGenObjC/arc.m')
-rw-r--r-- | clang/test/CodeGenObjC/arc.m | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/arc.m b/clang/test/CodeGenObjC/arc.m index 7883b0ebaf7..154918bb5b5 100644 --- a/clang/test/CodeGenObjC/arc.m +++ b/clang/test/CodeGenObjC/arc.m @@ -1839,3 +1839,19 @@ void test62(void) { // CHECK: ret void } + +// rdar://9971982 +@class NSString; + +@interface Person { + NSString *name; +} +@property NSString *address; +@end + +@implementation Person +@synthesize address; +@end +// CHECK: call i8* @objc_getProperty +// CHECK: call void @objc_setProperty + |