1// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s 2 3// CHECK: AT_APPLE_property_name 4// CHECK: AT_APPLE_property_getter 5// CHECK: AT_APPLE_property_setter 6// CHECK: AT_APPLE_property_attribute 7// CHECK: AT_APPLE_property 8 9@interface BaseClass2 10{ 11 int _baseInt; 12} 13- (int) myGetBaseInt; 14- (void) mySetBaseInt: (int) in_int; 15@property(getter=myGetBaseInt,setter=mySetBaseInt:) int baseInt; 16@end 17 18@implementation BaseClass2 19 20- (int) myGetBaseInt 21{ 22 return _baseInt; 23} 24 25- (void) mySetBaseInt: (int) in_int 26{ 27 _baseInt = 2 * in_int; 28} 29@end 30 31 32void foo(BaseClass2 *ptr) {} 33