1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s 2// rdar: // 7351147 3 4@interface A 5@property __complex int COMPLEX_PROP; 6- (__complex int)y; 7- (void) setY : (__complex int)rhs; 8@end 9 10void f0(A *a) { 11 _Complex int a1 = 25 + 10i; 12 a.COMPLEX_PROP += a1; 13 a.y += a1; 14} 15 16// CHECK-LP64: private unnamed_addr constant [13 x i8] c"COMPLEX_PROP 17// CHECK-LP64: private unnamed_addr constant [17 x i8] c"setCOMPLEX_PROP 18 19// rdar: // 7351147 20@interface B 21@property (assign) _Complex float f_complex_ivar; 22@end 23 24@implementation B 25 26@synthesize f_complex_ivar = _f_complex_ivar; 27-(void) unary_f_complex: (_Complex float) a0 { 28 self.f_complex_ivar = a0; 29} 30 31@end 32 33