YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenObjC/objc2-weak-ivar.m

12 lines
317 B
Mathematica
Raw Normal View History

// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-fragile-abi -fobjc-gc -emit-llvm -o %t %s
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-fragile-abi -fobjc-gc -emit-llvm -o %t %s
@class NSObject;
@interface Foo {
@public
__weak NSObject *nsobject;
}
@end
@implementation Foo @end