brintos

brintos / llvm-project-archived public Read only

0
0
Text · 544 B · 113ac12 Raw
24 lines · plain
1// RUN: %clang_cc1 -emit-llvm -fobjc-arc -triple x86_64-apple-darwin10 %s -o - | FileCheck %s2 3__attribute__((objc_root_class))4@interface A5@property(direct, readonly) int i;6@end7 8__attribute__((objc_root_class))9@interface B10@property(direct, readonly) int i;11@property(readonly) int j;12@end13 14// CHECK-NOT: @"__OBJC_$_PROP_LIST_A"15@implementation A16@synthesize i = _i;17@end18 19// CHECK: @"_OBJC_$_PROP_LIST_B" = internal global { i32, i32, [1 x %struct._prop_t] } { i32 16, i32 120@implementation B21@synthesize i = _i;22@synthesize j = _j;23@end24