diff options
Diffstat (limited to 'test/CodeGenObjC/objc2-weak-ivar.m')
-rw-r--r-- | test/CodeGenObjC/objc2-weak-ivar.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGenObjC/objc2-weak-ivar.m b/test/CodeGenObjC/objc2-weak-ivar.m new file mode 100644 index 000000000000..592c1f05474b --- /dev/null +++ b/test/CodeGenObjC/objc2-weak-ivar.m @@ -0,0 +1,10 @@ +// RUN: clang-cc -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s +@class NSObject; + +@interface Foo { +@public + __weak NSObject *nsobject; +} +@end + +@implementation Foo @end |