summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/objc2-retain-codegen.m
blob: d5b473e33473554a1e9704d3829a0a04c9743304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fobjc-fragile-abi -fobjc-gc-only -emit-llvm -o %t %s
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-unknown-unknown -fobjc-fragile-abi -fobjc-gc-only -emit-llvm -o %t %s

@interface I0 {
  I0 *_f0;
}
@property (retain) id p0;
@end 

@implementation I0 
  @synthesize p0 = _f0;
@end