xref: /aosp_15_r20/external/clang/test/CodeGenObjC/prop-metadata-gnu.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// RUN: %clang -S -emit-llvm %s -o - -x objective-c -fobjc-runtime=gcc | FileCheck --check-prefix=GCC %s
2*67e74705SXin Li// RUN: %clang -S -emit-llvm %s -o - -x objective-c -fobjc-runtime=gnustep-1.5 | FileCheck --check-prefix=GCC %s
3*67e74705SXin Li// RUN: %clang -S -emit-llvm %s -o - -x objective-c -fobjc-runtime=gnustep-1.6 | FileCheck --check-prefix=GNUSTEP %s
4*67e74705SXin Li//
5*67e74705SXin Li@interface helloclass  {
6*67e74705SXin Li@private int varName;
7*67e74705SXin Li}
8*67e74705SXin Li@property (readwrite,assign) int propName;
9*67e74705SXin Li@end
10*67e74705SXin Li
11*67e74705SXin Li@implementation helloclass
12*67e74705SXin Li@synthesize propName = varName;
13*67e74705SXin Li@end
14*67e74705SXin Li// GCC-NOT: Ti,VvarName
15*67e74705SXin Li// GNUSTEP: Ti,VvarName
16