llvm-project/clang/test/CodeGenObjC/objc2-retain-codegen.m

14 lines
300 B
Objective-C

// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fobjc-gc-only -emit-llvm -o %t %s
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-unknown-unknown -fobjc-gc-only -emit-llvm -o %t %s
@interface I0 {
I0 *_f0;
}
@property (retain) id p0;
@end
@implementation I0
@synthesize p0 = _f0;
@end