1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | \ 2*f4a2713aSLionel Sambuc// RUN: FileCheck --check-prefix=CHECK-X86_32 %s 3*f4a2713aSLionel Sambuc// 4*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | \ 5*f4a2713aSLionel Sambuc// RUN: FileCheck --check-prefix=CHECK-X86_64 %s 6*f4a2713aSLionel Sambuc// 7*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple armv7-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -target-abi apcs-gnu -o - %s | \ 8*f4a2713aSLionel Sambuc// RUN: FileCheck --check-prefix=CHECK-ARMV7 %s 9*f4a2713aSLionel Sambuc 10*f4a2713aSLionel Sambuc@interface A 11*f4a2713aSLionel Sambuc-(_Complex long double) complexLongDoubleValue; 12*f4a2713aSLionel Sambuc@end 13*f4a2713aSLionel Sambuc 14*f4a2713aSLionel Sambuc 15*f4a2713aSLionel Sambuc// CHECK-X86_32-LABEL: define void @t0() 16*f4a2713aSLionel Sambuc// CHECK-X86_32: call void bitcast {{.*}} @objc_msgSend_stret to 17*f4a2713aSLionel Sambuc// CHECK-X86_32: } 18*f4a2713aSLionel Sambuc// 19*f4a2713aSLionel Sambuc// CHECK-X86_64-LABEL: define void @t0() 20*f4a2713aSLionel Sambuc// CHECK-X86_64: call { x86_fp80, x86_fp80 } bitcast {{.*}} @objc_msgSend_fp2ret to 21*f4a2713aSLionel Sambuc// CHECK-X86_64: } 22*f4a2713aSLionel Sambuc// 23*f4a2713aSLionel Sambuc// CHECK-ARMV7-LABEL: define void @t0() 24*f4a2713aSLionel Sambuc// CHECK-ARMV7: call i128 bitcast {{.*}} @objc_msgSend to 25*f4a2713aSLionel Sambuc// CHECK-ARMV7: } 26*f4a2713aSLionel Sambucvoid t0() { 27*f4a2713aSLionel Sambuc [(A*)0 complexLongDoubleValue]; 28*f4a2713aSLionel Sambuc} 29