diff options
Diffstat (limited to 'test/CodeGenObjC/objc2-retain-codegen.m')
-rw-r--r-- | test/CodeGenObjC/objc2-retain-codegen.m | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGenObjC/objc2-retain-codegen.m b/test/CodeGenObjC/objc2-retain-codegen.m new file mode 100644 index 0000000..d78bc36 --- /dev/null +++ b/test/CodeGenObjC/objc2-retain-codegen.m @@ -0,0 +1,12 @@ +// RUN: clang-cc -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 + |