xref: /aosp_15_r20/external/clang/test/CodeGenObjC/objc2-retain-codegen.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc-only -emit-llvm -o %t %s
2*67e74705SXin Li// RUN: %clang_cc1 -x objective-c++ -triple x86_64-unknown-unknown -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc-only -emit-llvm -o %t %s
3*67e74705SXin Li
4*67e74705SXin Li@interface I0 {
5*67e74705SXin Li  I0 *_f0;
6*67e74705SXin Li}
7*67e74705SXin Li@property (retain) id p0;
8*67e74705SXin Li@end
9*67e74705SXin Li
10*67e74705SXin Li@implementation I0
11*67e74705SXin Li  @synthesize p0 = _f0;
12*67e74705SXin Li@end
13*67e74705SXin Li
14