xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-weak-ivar.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s
2// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s
3@class NSObject;
4
5@interface Foo  {
6@public
7  __weak NSObject *nsobject;
8}
9@end
10
11@implementation Foo @end
12