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